Skip to content

Commit 05590d4

Browse files
authored
Update Jenkinsfile
1 parent 68ad702 commit 05590d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Jenkinsfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ pipeline {
1111
bat "mvn clean package" // 'build' is not a default Maven goal; use 'package'
1212
}
1313
}
14+
stage("run"){
15+
steps{
16+
bat "java -cp target/my-app-1.0-SNAPSHOT.jar com.mycompany.app.App"
17+
}
1418
}
1519

1620
post {

0 commit comments

Comments
 (0)