Skip to content

Commit 2667151

Browse files
authored
Update Jenkinsfile
1 parent 556da5f commit 2667151

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Jenkinsfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,24 @@
1+
pipeline {
2+
agent any
13

4+
tools {
5+
maven "Maven-3.9.4"
6+
}
7+
8+
stages {
9+
stage('checkout ') {
10+
steps {
11+
checkout scmGit(branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 'github', url: 'https://github.com/udays111/java-web-app-docker.git']])
12+
}
13+
14+
}
15+
stage('build maven ') {
16+
steps {
17+
bat 'mvn clean package'
18+
}
19+
}
20+
stage('upload artifacts nexus ') {
21+
steps {
22+
23+
}
24+
}

0 commit comments

Comments
 (0)