We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93f5c26 commit 2c4a175Copy full SHA for 2c4a175
JenkinsFileDocker
@@ -2,6 +2,11 @@ pipeline
2
{
3
agent any
4
5
+ tools
6
+ {
7
+ maven 'Maven_3.9.7'
8
+ }
9
+
10
stages
11
12
stage('Checkout Code to Jenkins from GitHub')
@@ -11,5 +16,13 @@ pipeline
16
git branch: 'master', url: 'https://github.com/MithunTechnologiesDevOps/maven-web-application.git'
17
}
13
18
19
20
+ stage('Build Artifact using Maven')
21
22
+ steps()
23
24
+ sh 'mvn clean package'
25
26
14
27
15
28
0 commit comments