JenkinsFILE

This commit is contained in:
RolandBakunts 2023-01-16 07:32:59 -08:00
parent a62bec2110
commit d6da483951

25
Jenkinsfile vendored
View file

@ -5,21 +5,22 @@ pipeline {
}
}
stages {
stage('Clone') {
steps {
echo 'cfscfs cfscfs csfc!'
sh './gradlew clean build'
sh "git clone https://github.com/RolandBakunts/spring-petclinic.git"
sh "ls -a"
sh "./gradlew clean build"
// withGradle(){
// }
}
}
// 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 'Hello hgfds world!'
sh './gradlew task --all'
sh './gradlew build --no-daemon'
archiveArtifacts: 'build/libs/spring-petclinic-changed-0.1.1-SNAPSHOT-plain.jar'
// withGradle(){
// }
}