Refactor infra-wrappers config for docker builds for
use by other docker build job templates
Change-Id: I6b72ecea28e24b809627b97fa998f930a63c65f4
Issue-ID: INT-588
Signed-off-by: gwu <gary.i.wu@huawei.com>
- 'onap-jenkins-ssh'
- openstack:
single-use: true
+
+- wrapper:
+ # This wrapper is used for docker build jobs to use the dedicated docker
+ # build VM and turn off OpenStack single-use
+ name: infra-wrappers-docker-build
+ wrappers:
+ - timestamps
+ - timeout:
+ type: absolute
+ timeout: '{build-timeout}'
+ timeout-var: 'BUILD_TIMEOUT'
+ fail: true
+ - ssh-agent-credentials:
+ users:
+ - 'onap-jenkins-ssh'
+ - openstack:
+ single-use: false
checkout-dir: '{checkout-dir3}'
wrappers:
- - timestamps
- - timeout:
- type: absolute
- timeout: '{build-timeout}'
- timeout-var: 'BUILD_TIMEOUT'
- fail: true
- - ssh-agent-credentials:
- users:
- - 'onap-jenkins-ssh'
- - openstack:
- single-use: false
+ - infra-wrappers-docker-build:
+ build-timeout: '{build-timeout}'
triggers:
- timed: '@daily'