mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
JenkinsFILE
This commit is contained in:
parent
e0ea8cb433
commit
c134d550c4
1 changed files with 10 additions and 23 deletions
33
Jenkinsfile
vendored
33
Jenkinsfile
vendored
|
@ -4,30 +4,17 @@ pipeline {
|
|||
label 'linux-agent'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
// stage('Clone') {
|
||||
// steps {
|
||||
// echo 'cfscfs cfscfs csfc!'
|
||||
// sh './gradlew clean build'
|
||||
// git "git clone https://github.com/RolandBakunts/spring-petclinic.git"
|
||||
// sh "ls -a"
|
||||
// sh "./gradlew clean build"
|
||||
// // withGradle(){
|
||||
// // }
|
||||
// }
|
||||
// }
|
||||
stage('Build') {
|
||||
steps {
|
||||
// echo 'java -version'
|
||||
withGradle(){
|
||||
sh './gradlew -version'
|
||||
sh './gradlew clean build'
|
||||
}
|
||||
// sh 'cat ./build/libs/spring-petclinic-changed-0.1.1-SNAPSHOT-plain.jar'
|
||||
// archiveArtifacts: './build/libs/spring-petclinic-changed-0.1.1-SNAPSHOT-plain.jar'
|
||||
// withGradle(){
|
||||
// }
|
||||
stage('Build') {
|
||||
steps {
|
||||
// echo 'java -version'
|
||||
withGradle(){
|
||||
sh './gradlew -version'
|
||||
sh './gradlew clean test --no-daemon'
|
||||
}
|
||||
// sh 'cat ./build/libs/spring-petclinic-changed-0.1.1-SNAPSHOT-plain.jar'
|
||||
// archiveArtifacts: './build/libs/spring-petclinic-changed-0.1.1-SNAPSHOT-plain.jar'
|
||||
// withGradle(){
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue