Add verify job for nolabs app
[infra/cicd.git] / jjb / nolabs / verify-build.sh
1 #!/bin/bash
2
3 set -o errexit
4 set -o nounset
5 set -o pipefail
6
7 cd $WORKSPACE
8 app=nolabs-verify-${BUILD_ID}
9 echo "Building the container image nolabs-verify-${BUILD_ID}"
10 echo "-------------------------------------------------------------------------"
11 docker build -t $app .
12 echo "-------------------------------------------------------------------------"
13 echo "Build successful!"
14 docker rmi -f $app > /dev/null