--- /dev/null
+- job:
+ name: 'ceph-dev-nightly'
+ node: master
+ project-type: freestyle
+ defaults: global
+ concurrent: true
+ quiet-period: 5
+ block-downstream: false
+ block-upstream: false
+ properties:
+ - build-discarder:
+ days-to-keep: 1
+ num-to-keep: 10
+ artifact-days-to-keep: -1
+ artifact-num-to-keep: -1
+ - github:
+ url: https://github.com/ceph/ceph
+ discard-old-builds: true
+
+ triggers:
+ - pollscm:
+ cron: |
+ TZ=Etc/UTC
+ H 14 * * *
+ H 20 * * *
+
+ scm:
+ - git:
+ url: https://github.com/ceph/ceph
+ browser: auto
+ branches:
+ - origin/master
+ - origin/pacific
+ - origin/octopus
+ - origin/nautilus
+ skip-tag: true
+ timeout: 20
+ wipe-workspace: true
+
+ builders:
+ # Build luminous on:
+ # default: centos7 bionic xenial trusty
+ # notcmalloc: centos7
+ - conditional-step:
+ condition-kind: regex-match
+ regex: .*luminous.*
+ label: '${GIT_BRANCH}'
+ on-evaluation-failure: dont-run
+ steps:
+ - shell:
+ !include-raw:
+ - ../../../scripts/build_utils.sh
+ - ../../build/notify
+ - trigger-builds:
+ - project: 'ceph-dev'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=centos7 bionic xenial trusty
+ - project: 'ceph-dev'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ FLAVOR=notcmalloc
+ DISTROS=centos7
+ # build nautilus on:
+ # default: bionic xenial centos7 centos8
+ # notcmalloc: centos7
+ - conditional-step:
+ condition-kind: regex-match
+ regex: .*nautilus.*
+ label: '${GIT_BRANCH}'
+ on-evaluation-failure: dont-run
+ steps:
+ - shell:
+ !include-raw:
+ - ../../../scripts/build_utils.sh
+ - ../../build/notify
+ - trigger-builds:
+ - project: 'ceph-dev'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=bionic xenial centos7 centos8
+ - project: 'ceph-dev'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=centos7
+ FLAVOR=notcmalloc
+ # build octopus on:
+ # default: focal bionic centos7 centos8 leap15
+ # notcmalloc: centos8
+ - conditional-step:
+ condition-kind: regex-match
+ regex: .*octopus.*
+ label: '${GIT_BRANCH}'
+ on-evaluation-failure: dont-run
+ steps:
+ - shell:
+ !include-raw:
+ - ../../../scripts/build_utils.sh
+ - ../../build/notify
+ - trigger-builds:
+ - project: 'ceph-dev'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=focal bionic centos7 centos8 leap15
+ - project: 'ceph-dev'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=centos8
+ FLAVOR=notcmalloc
+ # build pacific on:
+ # default: focal bionic centos8 leap15
+ # notcmalloc: centos8
+ # crimson: centos8
+ - conditional-step:
+ condition-kind: regex-match
+ regex: .*pacific.*
+ label: '${GIT_BRANCH}'
+ on-evaluation-failure: dont-run
+ steps:
+ - shell:
+ !include-raw:
+ - ../../../scripts/build_utils.sh
+ - ../../build/notify
+ - trigger-builds:
+ - project: 'ceph-dev'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=focal bionic centos8 leap15
+ - project: 'ceph-dev'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=centos8
+ FLAVOR=notcmalloc
+ - project: 'ceph-dev'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=centos8
+ FLAVOR=crimson
+ # build master on:
+ # default: focal bionic centos8 leap15
+ # notcmalloc: centos8
+ # crimson: centos8
+ - conditional-step:
+ condition-kind: regex-match
+ regex: .*master.*
+ label: '${GIT_BRANCH}'
+ on-evaluation-failure: dont-run
+ steps:
+ - shell:
+ !include-raw:
+ - ../../../scripts/build_utils.sh
+ - ../../build/notify
+ - trigger-builds:
+ - project: 'ceph-dev'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=focal bionic centos8
+ - project: 'ceph-dev'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=centos8
+ FLAVOR=notcmalloc
+ - project: 'ceph-dev'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=centos8
+ FLAVOR=crimson
+
+ wrappers:
+ - inject-passwords:
+ global: true
+ mask-password-params: true
+ - credentials-binding:
+ - text:
+ credential-id: shaman-api-key
+ variable: SHAMAN_API_KEY