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
80359f124a
commit
3403b37336
1 changed files with 27 additions and 0 deletions
27
Jenkinsfile
vendored
Normal file
27
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
pipeline {
|
||||
agent {
|
||||
node {
|
||||
label 'linux-agent'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('Clone') {
|
||||
steps {
|
||||
echo 'Cloningf'
|
||||
sh "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'
|
||||
// withGradle(){
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue