mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 21:45:49 +00:00
Jenkinsfile
This commit is contained in:
parent
31b3e2e600
commit
752f8d8103
1 changed files with 3 additions and 5 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -17,12 +17,10 @@ pipeline {
|
||||||
./mvnw clean package -DskipTests -T 2
|
./mvnw clean package -DskipTests -T 2
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|
||||||
|
docker.build("loxon/petclinic:2.0.0").push()
|
||||||
}
|
}
|
||||||
sh './mvnw clean package -DskipTests'
|
|
||||||
sh 'pwd'
|
|
||||||
sh 'ls -la'
|
|
||||||
sh 'docker build --pull -t loxon/petclinic:2.0.0 .'
|
|
||||||
sh 'docker push loxon/petclinic:2.0.0'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue