Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions jjb/jjb-templates/jq-color-jobs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
---
- job-boiler-plate: &job_boiler_plate
name: job-boiler-plate

project-type: freestyle
node: "{build-node}"

######################
# Default parameters #
######################

branch: main
submodule-recursive: true

#####################
# Job Configuration #
#####################

properties:
- lf-infra-properties:
project: "{project}"
build-days-to-keep: "{build-days-to-keep}"

parameters:
- lf-infra-parameters:
project: '{project}'
branch: '{branch}'
stream: '{stream}'
lftools-version: '{lftools-version}'

wrappers:
- lf-infra-wrappers:
build-timeout: "{build-timeout}"
jenkins-ssh-credential: "{jenkins-ssh-credential}"

publishers:
- lf-infra-publish

- verify-boiler-plate: &verify_boiler_plate
name: verify-boiler-plate

concurrent: true

scm:
- lf-infra-github-scm:
url: '{git-clone-url}{github-org}/{project}'
refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
branch: '$sha1'
submodule-recursive: '{submodule-recursive}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
submodule-disable: false
submodule-timeout: 10

triggers:
- github-pull-request:
trigger-phrase: '^recheck$'
only-trigger-phrase: false
permit-all: true
github-hooks: true
auto-close-on-fail: false
white-list-target-branches:
- '{branch}'

- merge-boiler-plate: &merge_boiler_plate
name: merge-boiler-plate

scm:
- lf-infra-github-scm:
url: '{git-clone-url}{github-org}/{project}'
refspec: ''
branch: 'refs/heads/{branch}'
submodule-recursive: '{submodule-recursive}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
submodule-disable: false
submodule-timeout: 10

triggers:
- github

- job-template:
name: '{project-name}-{stream}-verify-nodejs'

<<: *job_boiler_plate
# yamllint disable-line rule:key-duplicates
<<: *verify_boiler_plate

builders:
- shell: !include-raw-escape:
- ../shell/jquery-color-build.sh
91 changes: 91 additions & 0 deletions jjb/jjb-templates/jq-migrate-jobs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
---
- job-boiler-plate: &job_boiler_plate
name: job-boiler-plate

project-type: freestyle
node: "{build-node}"

######################
# Default parameters #
######################

branch: main
submodule-recursive: true

#####################
# Job Configuration #
#####################

properties:
- lf-infra-properties:
project: "{project}"
build-days-to-keep: "{build-days-to-keep}"

parameters:
- lf-infra-parameters:
project: '{project}'
branch: '{branch}'
stream: '{stream}'
lftools-version: '{lftools-version}'

wrappers:
- lf-infra-wrappers:
build-timeout: "{build-timeout}"
jenkins-ssh-credential: "{jenkins-ssh-credential}"

publishers:
- lf-infra-publish

- verify-boiler-plate: &verify_boiler_plate
name: verify-boiler-plate

concurrent: true

scm:
- lf-infra-github-scm:
url: '{git-clone-url}{github-org}/{project}'
refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
branch: '$sha1'
submodule-recursive: '{submodule-recursive}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
submodule-disable: false
submodule-timeout: 10

triggers:
- github-pull-request:
trigger-phrase: '^recheck$'
only-trigger-phrase: false
permit-all: true
github-hooks: true
auto-close-on-fail: false
white-list-target-branches:
- '{branch}'

- merge-boiler-plate: &merge_boiler_plate
name: merge-boiler-plate

scm:
- lf-infra-github-scm:
url: '{git-clone-url}{github-org}/{project}'
refspec: ''
branch: 'refs/heads/{branch}'
submodule-recursive: '{submodule-recursive}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
submodule-disable: false
submodule-timeout: 10

triggers:
- github

- job-template:
name: '{project-name}-{stream}-verify-nodejs'

<<: *job_boiler_plate
# yamllint disable-line rule:key-duplicates
<<: *verify_boiler_plate

builders:
- shell: !include-raw-escape:
- ../shell/jquery-migrate-build.sh
91 changes: 91 additions & 0 deletions jjb/jjb-templates/jq-ui-jobs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
---
- job-boiler-plate: &job_boiler_plate
name: job-boiler-plate

project-type: freestyle
node: "{build-node}"

######################
# Default parameters #
######################

branch: main
submodule-recursive: true

#####################
# Job Configuration #
#####################

properties:
- lf-infra-properties:
project: "{project}"
build-days-to-keep: "{build-days-to-keep}"

parameters:
- lf-infra-parameters:
project: '{project}'
branch: '{branch}'
stream: '{stream}'
lftools-version: '{lftools-version}'

wrappers:
- lf-infra-wrappers:
build-timeout: "{build-timeout}"
jenkins-ssh-credential: "{jenkins-ssh-credential}"

publishers:
- lf-infra-publish

- verify-boiler-plate: &verify_boiler_plate
name: verify-boiler-plate

concurrent: true

scm:
- lf-infra-github-scm:
url: '{git-clone-url}{github-org}/{project}'
refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
branch: '$sha1'
submodule-recursive: '{submodule-recursive}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
submodule-disable: false
submodule-timeout: 10

triggers:
- github-pull-request:
trigger-phrase: '^recheck$'
only-trigger-phrase: false
permit-all: true
github-hooks: true
auto-close-on-fail: false
white-list-target-branches:
- '{branch}'

- merge-boiler-plate: &merge_boiler_plate
name: merge-boiler-plate

scm:
- lf-infra-github-scm:
url: '{git-clone-url}{github-org}/{project}'
refspec: ''
branch: 'refs/heads/{branch}'
submodule-recursive: '{submodule-recursive}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
submodule-disable: false
submodule-timeout: 10

triggers:
- github

- job-template:
name: '{project-name}-{stream}-verify-nodejs'

<<: *job_boiler_plate
# yamllint disable-line rule:key-duplicates
<<: *verify_boiler_plate

builders:
- shell: !include-raw-escape:
- ../shell/jquery-ui-build.sh
13 changes: 13 additions & 0 deletions jjb/jquery-color/jquery-color.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@
stream:
- 'main':
branch: 'main'
- '1.x-3.x_core':
branch: 'main'
- 'git_core:
branch: 'main'
- '2.x-1.x_core':
branch: 'main'
- '2.x-2.x-3.x_core':
branch: '2.x-stable'
- '2.x-git_core':
branch: '2.x-stable'

jobs:
- '{project-name}-{stream}-verify-nodejs'

views:
- project-view
6 changes: 5 additions & 1 deletion jjb/jquery-migrate/jquery-migrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
project: jquery-migrate
mvn-settings: jquery-migrate-settings
stream:
- 'main':
- '3.x_core':
branch: 'main'
- 'git_core':
branch: 'main'
jobs:
- '{project-name}-{stream}-verify-nodejs'

views:
- project-view
37 changes: 36 additions & 1 deletion jjb/jquery-ui/jquery-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,43 @@
project: jquery-ui
mvn-settings: jquery-ui-settings
stream:
- 'main':
- 'git_core':
branch: 'main'
- '1.10.x_core':
branch: 'main'
- '1.11.x_core':
branch: 'main'
- '1.12.x_core':
branch: 'main'
- '1.8.x_core':
branch: 'main'
- '1.9.x_core':
branch: 'main'
- '2.0.x_core':
branch: 'main'
- '2.1.x_core':
branch: 'main'
- '2.2.x_core':
branch: 'main'
- '3.x_core':
branch: 'main'
- '3.0.x_core':
branch: 'main'
- '3.1.x_core':
branch: 'main'
- '3.2.x_core':
branch: 'main'
- '3.3.x_core':
branch: 'main'
- '3.4.x_core':
branch: 'main'
- '3.5.x_core':
branch: 'main'
- '3.6.x_core':
branch: 'main'

jobs:
- '{project-name}-{stream}-verify-nodejs'

views:
- project-view
23 changes: 23 additions & 0 deletions jjb/shell/jquery-color-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/sh -exu

node --version
npm --version

npm install
npm test

export COMMIT=${GIT_COMMIT:-$(git rev-parse HEAD)}
"`npm bin`/grunt"

scp dist/jquery.color.js jenkins@wp-03.ops.jquery.net:/var/www/codeorigin.jquery.com/git/color/jquery.color-git.js
scp dist/jquery.color.min.js jenkins@wp-03.ops.jquery.net:/var/www/codeorigin.jquery.com/git/color/jquery.color-git.min.js
scp dist/jquery.color.svg-names.js jenkins@wp-03.ops.jquery.net:/var/www/codeorigin.jquery.com/git/color/jquery.color.svg-names-git.js
scp dist/jquery.color.svg-names.min.js jenkins@wp-03.ops.jquery.net:/var/www/codeorigin.jquery.com/git/color/jquery.color.svg-names-git.min.js
scp dist/jquery.color.plus-names.js jenkins@wp-03.ops.jquery.net:/var/www/codeorigin.jquery.com/git/color/jquery.color.plus-names-git.js
scp dist/jquery.color.plus-names.min.js jenkins@wp-03.ops.jquery.net:/var/www/codeorigin.jquery.com/git/color/jquery.color.plus-names-git.min.js

/usr/local/bin/tools/jenkins-testswarm-static-copy.sh jquery-color ${COMMIT}

set +e
"`npm bin`/grunt" testswarm:${COMMIT}:/usr/local/bin/tools/node-testswarm-config.json:jquerycolor:jquery-color
exit 0
Loading