name: doctor
jobs:
- 'doctor-test'
- - 'doctor-daily-master'
+ - 'doctor-daily-{stream}'
- 'doctor-merge'
- 'doctor-verify'
- job-template:
name: doctor-test
+ node: master
+
project-type: freestyle
logrotate:
echo "Hello world from doctor"
- job-template:
- name: 'doctor-daily-master'
+ name: 'doctor-daily-{stream}'
+
+ node: master
# Job template for daily builders
#
parameters:
- project-parameter:
project: '{project}'
+ - string:
+ name: GIT_BASE
+ default: 'https://gerrit.opnfv.org/gerrit/{project}'
+ description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
scm:
- git-scm:
- test-macro
builders:
- - shell: |
- pwd
- find .
- echo "Hello world from doctor {somevar} daily"
+ - shell:
+ !include-raw docu-build.sh
postbuilders:
- test-macro
- job-template:
name: 'doctor-verify'
+ node: master
+
project-type: freestyle
logrotate:
project: '{project}'
- gerrit-parameter:
branch: 'master'
+ - string:
+ name: GIT_BASE
+ default: 'https://gerrit.opnfv.org/gerrit/{project}'
+ description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
scm:
- gerrit-trigger-scm:
credentials-id: '{ssh-credentials}'
branch-pattern: '**/master'
builders:
- - shell: |
- pwd
- find .
- echo "verify logic goes here"
+ - shell:
+ !include-raw docu-verify.sh
- job-template:
name: 'doctor-merge'
+ node: master
+
# builder-merge job to run JJB update
#
# This job's purpose is to update all the JJB
project: '{project}'
- gerrit-parameter:
branch: 'master'
+ - string:
+ name: GIT_BASE
+ default: 'https://gerrit.opnfv.org/gerrit/{project}'
+ description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
scm:
- gerrit-trigger-scm:
branch-pattern: '**/master'
builders:
- - shell: |
- pwd
- find .
- echo "merge logic goes here"
+ - shell:
+ !include-raw docu-build.sh