Skip to content

Commit b7fa690

Browse files
authored
Create Jenkinsfile
1 parent 04c7a52 commit b7fa690

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Jenkinsfile

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
pipeline {
2+
agent any
3+
stages{
4+
stage('Build'){
5+
steps {
6+
sh 'mvn clean package'
7+
}
8+
post {
9+
success {
10+
echo 'Now Archiving...'
11+
archiveArtifacts artifacts: '**/target/*.war'
12+
}
13+
}
14+
}
15+
}
16+
}

0 commit comments

Comments
 (0)