Skip to content

Commit 777e745

Browse files
author
root
committed
add
1 parent 59ee38b commit 777e745

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

jenkinsfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
pipeline {
2+
agent any
3+
stages {
4+
stage('SCM code') {
5+
steps {
6+
git 'https://github.com/hellokaton/java11-examples.git'
7+
}
8+
}
9+
stage('Build') {
10+
steps {
11+
sh 'mvn clean package'
12+
}
13+
}
14+
stage('Publish') {
15+
steps {
16+
// Add steps to publish artifacts or deploy the application
17+
// For example, you can use the 'archiveArtifacts' step to archive built artifacts
18+
archiveArtifacts 'target/*.jar'
19+
}
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)