mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 09:05:50 +00:00
Update Jenkinsfile
This commit is contained in:
parent
537d19b741
commit
2369b60d27
1 changed files with 5 additions and 3 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -1,5 +1,5 @@
|
|||
pipeline {
|
||||
agent any
|
||||
agent { docker { image 'maven:3.3.3' } }
|
||||
stages {
|
||||
stage('build') {
|
||||
steps {
|
||||
|
@ -19,10 +19,12 @@ pipeline {
|
|||
stage('run') {
|
||||
steps {
|
||||
sh 'cp -r target/spring-petclinic-3.0.0-SNAPSHOT.jar bin/spring-petclinic-3.0.0-SNAPSHOT.jar'
|
||||
// sh 'java -jar bin/target_jar/*.jar'
|
||||
// sh 'nohup java -jar target/*.jar > petclinic.log 2>&1 &'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue