@@ -12,7 +12,7 @@ pipeline {
echo 'Building..'
sh 'docker-compose down'
sh '~/tools/apache-maven-3.6.3/bin/mvn clean install -Dmaven.test.skip=true'
- sh 'docker build -t yellow:0.1 .'
+ sh 'docker build -t yellow:${BUILD_NUMBER} .'
}
stage('Test') {