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 25e728f commit 804aab9Copy full SHA for 804aab9
Jenkinsfile
@@ -3,7 +3,7 @@ pipeline {
3
agent any
4
5
tools {
6
- maven 'maven:3.9.9'
+ Maven 'maven:3.9.9'
7
}
8
9
stages {
@@ -17,16 +17,23 @@ pipeline {
17
18
19
stage("test"){
20
-
21
steps {
22
echo 'testing application'
+ sh 'mvn test'
23
24
25
+
26
+ stage("package"){
27
+ steps {
28
+ echo 'packaging application'
29
+ sh 'mvn package'
30
+ }
31
32
stage("deploy"){
33
34
steps{
35
echo 'deploying application'
36
+ sh 'mvn deploy'
37
38
39
0 commit comments