Update build scripts from 1.1.3 to 1.1.6

This commit is contained in:
Christopher Hoskin
2018-06-12 10:22:30 +01:00
parent 85aec72206
commit e6532b5681
5 changed files with 26 additions and 11 deletions

9
Jenkinsfile vendored
View File

@@ -29,7 +29,13 @@ pipeline {
stage('Package and publish build') {
steps {
sh 'make publish'
withCredentials([file(credentialsId: 'csh-gcdm-test', variable: 'DOCKER_REPO_KEY_PATH')]) {
sh 'docker login -u _json_key --password-stdin https://csh-gcdm-test < ${DOCKER_REPO_KEY_PATH}'
}
sh 'DOCKER_REPO=csh-gcdm-test make publish'
sh 'docker logout https://csh-gcdm-test'
}
}
@@ -47,6 +53,7 @@ pipeline {
post {
always {
sh 'DOCKER_COMPOSE_FLAGS="-f docker-compose.ci.yml" make test_clean'
sh 'make clean'
}
failure {