test new scripts on ci

This commit is contained in:
Henry Oswald
2018-03-06 16:03:26 +00:00
parent b9d94fb428
commit 83c7068bd1
4 changed files with 24 additions and 15 deletions

23
Jenkinsfile vendored
View File

@@ -9,11 +9,30 @@ pipeline {
}
stages {
stage('CI') {
stage('Build') {
steps {
sh 'make ci'
sh 'make build'
}
}
stage('Unit Tests') {
steps {
sh 'DOCKER_COMPOSE_FLAGS="-f docker-compose.ci.yml" make test_unit'
}
}
stage('Acceptance Tests') {
steps {
sh 'DOCKER_COMPOSE_FLAGS="-f docker-compose.ci.yml" make test_acceptance'
}
}
stage('Package and publish build') {
steps {
sh 'make publish'
}
}
stage('Publish build number') {
steps {
sh 'echo ${BRANCH_NAME}-${BUILD_NUMBER} > build_number.txt'