We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59ee38b commit 777e745Copy full SHA for 777e745
1 file changed
jenkinsfile
@@ -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
11
+ sh 'mvn clean package'
12
13
14
+ stage('Publish') {
15
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