This patch makes sure we use 2 types of scm, and allows us to specify
them by adding one line in job-templates.
- git-scm # for daily jobs and merge jobs
- git-scm-gerrit # for verify jobs [New]
Change-Id: Iddc8a5e0e115193c7081a6d6c53da209900e95c8
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
61 files changed:
- gerrit-parameter:
branch: 'master'
scm:
- gerrit-parameter:
branch: 'master'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
block-level: 'NODE'
wrappers:
block-level: 'NODE'
wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
description: "Used for overriding the GIT URL coming from parameters macro."
scm:
description: "Used for overriding the GIT URL coming from parameters macro."
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
description: "Used for overriding the GIT URL coming from parameters macro."
scm:
description: "Used for overriding the GIT URL coming from parameters macro."
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
description: "Used for overriding the GIT URL coming from parameters macro."
scm:
description: "Used for overriding the GIT URL coming from parameters macro."
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
properties:
- build-blocker:
properties:
- build-blocker:
description: "Used for overriding the GIT URL coming from parameters macro."
scm:
description: "Used for overriding the GIT URL coming from parameters macro."
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
properties:
- build-blocker:
properties:
- build-blocker:
description: "Used for overriding the GIT URL coming from parameters macro."
scm:
description: "Used for overriding the GIT URL coming from parameters macro."
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
properties:
- build-blocker:
properties:
- build-blocker:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
parameters:
- project-parameter:
parameters:
- project-parameter:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
parameters:
- project-parameter:
parameters:
- project-parameter:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
parameters:
- project-parameter:
parameters:
- project-parameter:
gs-pathname: '{gs-pathname}'
scm:
gs-pathname: '{gs-pathname}'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
gs-pathname: '{gs-pathname}'
scm:
gs-pathname: '{gs-pathname}'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
triggers:
- timed: '@midnight'
triggers:
- timed: '@midnight'
description: "docker image tag used for version control"
scm:
description: "docker image tag used for version control"
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
builders:
- 'bottlenecks-env-cleanup'
builders:
- 'bottlenecks-env-cleanup'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
gs-packagepath: '{gs-packagepath}'
scm:
gs-packagepath: '{gs-packagepath}'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
builders:
- 'bottlenecks-builder-upload-artifact'
builders:
- 'bottlenecks-builder-upload-artifact'
- '{installer}-defaults'
scm:
- '{installer}-defaults'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
- '{installer}-defaults'
scm:
- '{installer}-defaults'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
triggers:
- timed: 'H 8 * * *'
triggers:
- timed: 'H 8 * * *'
- '{node}-defaults'
- '{installer}-defaults'
scm:
- '{node}-defaults'
- '{installer}-defaults'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 120
fail: true
- timeout:
timeout: 120
fail: true
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 120
fail: true
- timeout:
timeout: 120
fail: true
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
docker-tag: '{docker-tag}'
scm:
docker-tag: '{docker-tag}'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
builders:
- 'cperf-{testsuite}-builder'
builders:
- 'cperf-{testsuite}-builder'
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
description: "Show debug output information"
scm:
description: "Show debug output information"
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
description: "Directory where the dovetail repository is cloned"
scm:
description: "Directory where the dovetail repository is cloned"
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{dovetail-branch}'
builders:
- description-setter:
builders:
- description-setter:
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
description: 'Deployment timeout in minutes'
scm:
description: 'Deployment timeout in minutes'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
wipe-workspace: true
wrappers:
wipe-workspace: true
wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
wipe-workspace: true
wrappers:
wipe-workspace: true
wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
gs-pathname: '{gs-pathname}'
scm:
gs-pathname: '{gs-pathname}'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
triggers:
- timed: '0 H/4 * * *'
triggers:
- timed: '0 H/4 * * *'
gs-pathname: '{gs-pathname}'
scm:
gs-pathname: '{gs-pathname}'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- fuel-project-parameter:
gs-pathname: '{gs-pathname}'
scm:
- fuel-project-parameter:
gs-pathname: '{gs-pathname}'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
gs-pathname: '{gs-pathname}'
scm:
gs-pathname: '{gs-pathname}'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
gs-pathname: '{gs-pathname}'
scm:
gs-pathname: '{gs-pathname}'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
builders:
- description-setter:
builders:
- description-setter:
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
artifactDaysToKeep: 30
artifactNumToKeep: 100
artifactDaysToKeep: 30
artifactNumToKeep: 100
- ssh-credentials: 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
project-type: freestyle
node: master
project-type: freestyle
node: master
name: GERRIT_BRANCH
default: '{branch}'
description: "JJB configured GERRIT_BRANCH parameter"
name: GERRIT_BRANCH
default: '{branch}'
description: "JJB configured GERRIT_BRANCH parameter"
+ - string:
+ name: SSH_CREDENTIAL_ID
+ default: 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e'
+ description: "SSH Credential ID for git access"
+
+- wrapper:
+ name: ssh-agent-wrapper
+ wrappers:
+ - ssh-agent-credentials:
+ users:
+ - '$SSH_CREDENTIAL_ID'
- scm:
name: git-scm
scm:
- scm:
name: git-scm
scm:
- - git:
- credentials-id: '{credentials-id}'
+ - git: &git-scm-defaults
+ credentials-id: '$SSH_CREDENTIAL_ID'
- - 'origin/{branch}'
- skip-tag: true
- wipe-workspace: true
+ - 'origin/$GERRIT_BRANCH'
+ timeout: 15
- name: gerrit-trigger-scm
- credentials-id: '{credentials-id}'
- url: '$GIT_BASE'
- refspec: '{refspec}'
- branches:
- - 'origin/$GERRIT_BRANCH'
- skip-tag: true
- choosing-strategy: '{choosing-strategy}'
- timeout: 15
+ choosing-strategy: 'gerrit'
+ <<: *git-scm-defaults
- trigger:
name: 'daily-trigger-disabled'
- trigger:
name: 'daily-trigger-disabled'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
default: 'os-odl_l2-nofeature-ha'
scm:
default: 'os-odl_l2-nofeature-ha'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
builders:
- description-setter:
builders:
- description-setter:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
gs-pathname: '{gs-pathname}'
scm:
gs-pathname: '{gs-pathname}'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
gs-pathname: '{gs-pathname}'
scm:
gs-pathname: '{gs-pathname}'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
triggers:
- timed: '@midnight'
triggers:
- timed: '@midnight'
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- timeout:
timeout: 360
fail: true
- timeout:
timeout: 360
fail: true
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
default: 'os-nosdn-multisite-ha'
scm:
default: 'os-nosdn-multisite-ha'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
triggers:
- timed: '{timed}'
triggers:
- timed: '{timed}'
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'gerrit'
builders:
- 'multisite-kingbird-deploy'
builders:
- 'multisite-kingbird-deploy'
- gerrit-parameter:
branch: '{branch}'
scm:
- gerrit-parameter:
branch: '{branch}'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
gs-pathname: '{gs-pathname}'
scm:
gs-pathname: '{gs-pathname}'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
builders:
- 'netready-gluon-build'
builders:
- 'netready-gluon-build'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
triggers:
- timed: '@midnight'
triggers:
- timed: '@midnight'
description: "Directory where the build artifact will be located upon the completion of the build."
scm:
description: "Directory where the build artifact will be located upon the completion of the build."
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
builders:
- 'builder-onosfw-helloworld'
builders:
- 'builder-onosfw-helloworld'
description: "Used for overriding the GIT URL coming from parameters macro."
scm:
description: "Used for overriding the GIT URL coming from parameters macro."
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
description: "Directory where the build artifact will be located upon the completion of the build."
scm:
description: "Directory where the build artifact will be located upon the completion of the build."
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
description: 'Specify the branch in this way in order to be able to use build-opnfv-composite-docs builder.'
scm:
description: 'Specify the branch in this way in order to be able to use build-opnfv-composite-docs builder.'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
triggers:
- timed: '0 H/6 * * *'
triggers:
- timed: '0 H/6 * * *'
description: "Directory where the build artifact will be located upon the completion of the build."
scm:
description: "Directory where the build artifact will be located upon the completion of the build."
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
description: "Directory where the build artifact will be located upon the completion of the build."
scm:
description: "Directory where the build artifact will be located upon the completion of the build."
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
description: "Directory where the build artifact will be located upon the completion of the build."
scm:
description: "Directory where the build artifact will be located upon the completion of the build."
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
description: 'Tag to pull docker image'
scm:
description: 'Tag to pull docker image'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
triggers:
- '{auto-trigger-name}'
triggers:
- '{auto-trigger-name}'
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
project: '{project}'
scm:
project: '{project}'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
triggers:
- timed: 'H H * * *'
triggers:
- timed: 'H H * * *'
default: ""
description: "Release version, e.g. 1.0, 2.0, 3.0"
default: ""
description: "Release version, e.g. 1.0, 2.0, 3.0"
- scm: &scm
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
builders: &builders
- shell:
builders: &builders
- shell:
name: '{project}-docker-build-push-monitor-{stream}'
disabled: '{obj:disabled}'
parameters: *parameters
name: '{project}-docker-build-push-monitor-{stream}'
disabled: '{obj:disabled}'
parameters: *parameters
builders: *builders
# trigger only matching the file name
builders: *builders
# trigger only matching the file name
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
description: "JJB configured GERRIT_REFSPEC parameter"
scm:
description: "JJB configured GERRIT_REFSPEC parameter"
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- gerrit-parameter:
branch: 'master'
scm:
- gerrit-parameter:
branch: 'master'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
triggers:
- timed: '@hourly'
triggers:
- timed: '@hourly'
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
scm:
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}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
scm:
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}'
- refspec: ''
- choosing-strategy: 'default'
project: '{project}'
scm:
project: '{project}'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
triggers:
- timed: 'H H * * *'
triggers:
- timed: 'H H * * *'
- gerrit-parameter:
branch: '{branch}'
scm:
- gerrit-parameter:
branch: '{branch}'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- 'intel-pod3-defaults'
scm:
- 'intel-pod3-defaults'
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
- '{slave-label}-defaults'
scm:
- '{slave-label}-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- '{slave-label}-defaults'
scm:
- '{slave-label}-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
description: "Show debut output information"
scm:
description: "Show debut output information"
scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
builders:
- description-setter:
builders:
- description-setter:
- 'opnfv-build-ubuntu-defaults'
scm:
- 'opnfv-build-ubuntu-defaults'
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
description: "Directory where the build artifact will be located upon the completion of the build."
scm:
description: "Directory where the build artifact will be located upon the completion of the build."
scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'