X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fcloud-infra%2Fcloud-infra-verify-engine.yaml;h=b8b549cb8597cb49cec15d40e3cb7a90d0fed5e9;hb=7b7da37cfe6e637880869a954692774d55145fb3;hp=c4d4fe6708d049c75c6f10ae616f10ba1c1ee80c;hpb=4e6574f1f700136198fb68acc421743348444e76;p=infra%2Fcicd.git diff --git a/jjb/cloud-infra/cloud-infra-verify-engine.yaml b/jjb/cloud-infra/cloud-infra-verify-engine.yaml index c4d4fe67..b8b549cb 100644 --- a/jjb/cloud-infra/cloud-infra-verify-engine.yaml +++ b/jjb/cloud-infra/cloud-infra-verify-engine.yaml @@ -50,17 +50,18 @@ stream: - 'master': branch: '{stream}' - disabled: 'false' distro: - ubuntu1804: + slave-label: vpod-deploy-ubuntu1804 disabled: false successful: false failed: false unstable: false notbuilt: false - centos7: - disabled: false + slave-label: vpod-deploy-centos7 + disabled: true successful: true failed: true unstable: true @@ -70,8 +71,10 @@ - virtual phase: - - deploy - - functest + - deploy: + build-timeout: 90 + - functest: + build-timeout: 30 jobs: - 'cloud-infra-verify-engine-{distro}-{type}-{stream}' @@ -93,7 +96,7 @@ - nordix-gerrit-parameters - label: name: SLAVE_LABEL - default: 'vpod-deploy-city' + default: '{slave-label}' description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use' - string: name: DISTRO @@ -136,29 +139,58 @@ option: project wrappers: + - credentials-binding: + - file: + credential-id: est-jenkins-openrcfile-city-karlskrona-onap + variable: OPENRC_FILE + - mask-passwords - build-timeout: timeout: 120 - fix-workspace-permissions + - openstack: + single-use: True scm: - git-scm-gerrit: ssh-credentials-id: nordixinfra-nordix-gerrit-ssh branch: '{branch}' refspec: $GERRIT_REFSPEC + wipe_workspace: true + clean_before: false triggers: - - nordix-gerrit-trigger-patchset-created: - project: 'infra\/engine' - branch: '{branch}' - files: '**' - custom-url: '* $JOB_NAME $BUILD_URL' + - gerrit: + server-name: 'Nordix Gerrit' + trigger-on: + - patchset-created-event: + exclude-drafts: 'false' + exclude-trivial-rebase: 'false' + exclude-no-code-change: 'false' + - draft-published-event + - comment-added-contains-event: + comment-contains-value: 'recheck' + - comment-added-contains-event: + comment-contains-value: 'reverify' + projects: + - project-compare-type: 'REG_EXP' + project-pattern: 'infra\/engine' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + file-paths: + - compare-type: 'ANT' + pattern: '**' skip-vote: successful: '{obj:successful}' failed: '{obj:failed}' unstable: '{obj:unstable}' notbuilt: '{obj:notbuilt}' + custom-url: '* $JOB_NAME $BUILD_URL' builders: + - shell: | + #!/bin/bash + cp $OPENRC_FILE /tmp/openrc - 'cloud-infra-determine-scenario-macro' - multijob: name: deploy @@ -248,8 +280,13 @@ default: 'false' wrappers: + - credentials-binding: + - file: + credential-id: est-jenkins-openrcfile-city-karlskrona-onap + variable: OPENRC_FILE + - mask-passwords - build-timeout: - timeout: 120 + timeout: '{build-timeout}' - fix-workspace-permissions scm: @@ -257,6 +294,8 @@ ssh-credentials-id: nordixinfra-nordix-gerrit-ssh branch: '{branch}' refspec: $GERRIT_REFSPEC + wipe_workspace: true + clean_before: false builders: - 'cloud-infra-determine-scenario-macro'