fuel-ccp-ci-config/jenkins-tp/jobs/mcp-build-images-smoke.yaml

52 lines
1.3 KiB
YAML

- job:
name: 'mcp-build-images-smoke'
builders:
- inject:
properties-content: |
IMAGE_PATH=/home/jenkins/workspace/cloud-images/default-image.qcow2
- shell:
!include-raw builders/mcp-build-images-smoke.sh
concurrent: false
node: standard
description: |
Run tests.
<p>
Job for build images and run deploy with them.<BR/>
It's based on QA Team smoke test job.<BR/>
</p>
logrotate:
daysToKeep: 30
numToKeep: 50
scm:
- openstack:
scm-branch: 'master'
scm-repo: 'fuel-ccp-tests'
scm-basedir: 'fuel-ccp-tests'
- openstack:
scm-branch: 'master'
scm-repo: 'fuel-ccp-installer'
scm-basedir: 'fuel-ccp-installer'
wrappers:
- timeout:
fail: true
timeout: 235
publishers:
- post-tasks:
- matches:
- log-text: ''
escalate-status: true
run-if-job-successful: false
script: |
#!/bin/bash
set -xe
export ENV_PREFIX="fuel-ccp-tests"
export ENV_NAME=${ENV_PREFIX}.${BUILD_NUMBER}
source /home/jenkins/venv-fuel-devops-3.0/bin/activate
dos.py erase ${ENV_NAME}
deactivate