- project:
name: 'apex'
project: 'apex'
- build-slave: 'apex-build'
jobs:
- 'apex-verify-{stream}'
- 'apex-verify-gate-{stream}'
- name: 'apex-build-{stream}'
current-parameters: false
predefined-parameters: |
+ ARTIFACT_VERSION=$ARTIFACT_VERSION
GERRIT_BRANCH=$GERRIT_BRANCH
GERRIT_REFSPEC=$GERRIT_REFSPEC
GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
- name: 'apex-deploy-virtual-{stream}'
current-parameters: false
predefined-parameters: |
+ ARTIFACT_VERSION=$ARTIFACT_VERSION
DEPLOY_SCENARIO={verify-scenario}
OPNFV_CLEAN=yes
GERRIT_BRANCH=$GERRIT_BRANCH
GERRIT_REFSPEC=$GERRIT_REFSPEC
GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
- node-parameters: false
+ node-parameters: true
kill-phase-on: FAILURE
abort-all-job: true
- git-revision: false
+ git-revision: true
- multijob:
name: functest-smoke
condition: SUCCESSFUL
GERRIT_REFSPEC=$GERRIT_REFSPEC
GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
- node-parameters: false
+ node-parameters: true
kill-phase-on: FAILURE
abort-all-job: true
git-revision: false
name: GIT_BASE
default: https://gerrit.opnfv.org/gerrit/$PROJECT
description: "Used for overriding the GIT URL coming from parameters macro."
+ - string:
+ name: ARTIFACT_VERSION
+ default: dev
+ description: "Used for overriding the ARTIFACT_VERSION"
scm:
- git-scm-gerrit
- name: 'apex-deploy-virtual-{stream}'
current-parameters: false
predefined-parameters: |
+ ARTIFACT_VERSION=$ARTIFACT_VERSION
DEPLOY_SCENARIO=gate
OPNFV_CLEAN=yes
GERRIT_BRANCH=$GERRIT_BRANCH
GERRIT_REFSPEC=$GERRIT_REFSPEC
GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
- node-parameters: false
+ node-parameters: true
kill-phase-on: FAILURE
abort-all-job: true
- git-revision: false
+ git-revision: true
- multijob:
name: functest-smoke
condition: SUCCESSFUL
GERRIT_REFSPEC=$GERRIT_REFSPEC
GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
- node-parameters: false
+ node-parameters: true
kill-phase-on: FAILURE
abort-all-job: true
git-revision: false
gs-pathname: '{gs-pathname}'
scm:
- - git-scm
+ - git-scm-gerrit
+
+ wrappers:
+ - timeout:
+ timeout: 90
+ fail: true
properties:
- logrotate-default
disabled: false
scm:
- - git-scm
+ - git-scm-gerrit
+
+ wrappers:
+ - timeout:
+ timeout: 120
+ fail: true
parameters:
- project-parameter:
# branch: branch (eg. stable)
project-type: 'multijob'
- node: '{build-slave}'
+ node: 'apex-baremetal-danube'
disabled: false
properties:
- logrotate-default
- - build-blocker:
- use-build-blocker: true
- block-level: 'NODE'
- blocking-jobs:
- - 'apex-verify.*'
- - 'apex-deploy.*'
- - 'apex-runner.*'
- - 'apex-.*-promote.*'
triggers:
- 'apex-danube'
# branch: branch (eg. stable)
project-type: 'multijob'
- node: '{build-slave}'
+ node: 'apex-baremetal-master'
disabled: false
properties:
- logrotate-default
- - build-blocker:
- use-build-blocker: true
- block-level: 'NODE'
- blocking-jobs:
- - 'apex-verify.*'
- - 'apex-deploy.*'
- - 'apex-runner.*'
- - 'apex-.*-promote.*'
triggers:
- 'apex-master'
name: upload snapshot
condition: SUCCESSFUL
projects:
- - name: 'apex-create-snapshot'
+ - name: 'apex-upload-snapshot'
current-parameters: true
node-parameters: true
kill-phase-on: FAILURE
name: upload snapshot
condition: SUCCESSFUL
projects:
- - name: 'apex-create-snapshot'
+ - name: 'apex-upload-snapshot'
current-parameters: true
node-parameters: true
kill-phase-on: FAILURE
abort-all-job: true
git-revision: false
-- job-template:
- name: 'apex-gs-clean-{stream}'
-
- # Job template for clean
- #
- # Required Variables:
- # stream: branch with - in place of / (eg. stable)
- node: '{slave}'
-
- disabled: false
-
- parameters:
- - project-parameter:
- project: '{project}'
- branch: '{branch}'
- - apex-parameter:
- gs-pathname: '{gs-pathname}'
-
- builders:
- - 'apex-gs-clean'
-
- triggers:
- - 'apex-gs-clean-{stream}'
-
########################
# parameter macros
########################
description: "Directory where the build artifact will be located upon the completion of the build."
- string:
name: CACHE_DIRECTORY
- default: $HOME/opnfv/cache{gs-pathname}
+ default: $HOME/opnfv/apex-cache{gs-pathname}
description: "Directory where the cache to be used during the build is located."
- string:
name: GIT_BASE
- shell:
!include-raw: ./apex-download-artifact.sh
-- builder:
- name: 'apex-gs-cleanup'
- builders:
- - shell:
- !include-raw: ./apex-gs-cleanup.sh
-
- builder:
name: 'apex-deploy'
builders:
name: 'apex-danube'
triggers:
- timed: '0 12 * * *'
-- trigger:
- name: 'apex-gs-clean-{stream}'
- triggers:
- - timed: '0 2 * * *'
\ No newline at end of file