Update Jenkinsfile

This commit is contained in:
boat cow 2023-04-09 00:32:46 -04:00 committed by GitHub
parent 537d19b741
commit 2369b60d27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

8
Jenkinsfile vendored
View file

@ -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 &'
}
}
}
}