Selaa lähdekoodia

更新 'Jenkinsfile'

sifu-gogs 2 vuotta sitten
vanhempi
commit
69ee1b8c48
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -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') {