diff --git a/Jenkinsfile b/Jenkinsfile index 98b3afb7..98f6da04 100644 --- a/Jenkinsfile +++ b/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}"