Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add some additional temporary debugging
chubing committed May 4, 2020
1 parent 7394bb0 commit 641932b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Jenkinsfile
@@ -55,6 +55,10 @@ pipeline {
docker.withRegistry('https://registry.hub.docker.com/', "dockerhub-tier") {
baseImg = docker.build("$maintainer/$imagename", "--build-arg GROUPER_CONTAINER_VERSION=$tag --no-cache .")
}
// test the environment
sh 'cd test-compose && ./compose.sh'
// bring down after testing
sh 'cd test-compose && docker-compose down'
} catch(error) {
def error_details = readFile('./debug');
def message = "BUILD ERROR: There was a problem building ${maintainer}/${imagename}:${tag}. \n\n ${error_details}"

0 comments on commit 641932b

Please sign in to comment.