mvn-version: '{mvn-version}'
# Staging repos do not make sense for CLM jobs so set it blank.
staging-profile-id: '{staging-profile-id}'
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
wrappers:
- lf-infra-wrappers:
# Default parameters #
######################
+ archive-artifacts: ''
branch: master
build-days-to-keep: 30 # 30 days for troubleshooting purposes
build-timeout: 15
scm:
- lf-infra-github-scm:
url: '{git-clone-url}{github-org}/{project}'
- refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
- branch: '{branch}'
+ refspec: ''
+ branch: 'refs/heads/{branch}'
submodule-recursive: '{submodule-recursive}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
# Default parameters #
######################
+ archive-artifacts: ''
branch: master
build-days-to-keep: 30 # 30 days in case a release takes long to get approved.
build-timeout: 30
# Default parameters #
######################
+ archive-artifacts: ''
branch: master
build-days-to-keep: 30 # 30 days in case a release takes long to get approved.
build-timeout: 30
# Job Configuration #
#####################
+ concurrent: true
+
builders:
- lf-maven-install:
mvn-version: '{mvn-version}'
- lf-infra-github-scm:
url: '{git-clone-url}{github-org}/{project}'
refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
- branch: '{branch}'
+ branch: '$sha1'
submodule-recursive: '{submodule-recursive}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
# Default parameters #
######################
+ archive-artifacts: ''
branch: master
build-days-to-keep: 30 # 30 days in case a release takes long to get approved.
build-timeout: 30
# Default parameters #
######################
+ archive-artifacts: ''
branch: master # Sonar should always be run on master branch
build-days-to-keep: 7
build-timeout: 30
- lf-infra-github-scm:
url: '{git-clone-url}{github-org}/{project}'
refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
- branch: '{branch}'
+ branch: '$sha1'
submodule-recursive: '{submodule-recursive}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
# Default parameters #
######################
+ archive-artifacts: ''
branch: master
build-days-to-keep: 7
build-timeout: 60
- lf-infra-github-scm:
url: '{git-clone-url}{github-org}/{project}'
refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
- branch: '{branch}'
+ branch: '$sha1'
submodule-recursive: '{submodule-recursive}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
# Default parameters #
######################
+ archive-artifacts: ''
branch: master
build-days-to-keep: 7
build-timeout: 60