Skip to content

Commit 386a96b

Browse files
authored
Update common.groovy
1 parent 772a525 commit 386a96b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vars/common.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ def call(String stageName){
22

33
if ("${stageName}" == "Build")
44
{
5-
sh "echo 'Building'"
5+
sh "mvn clean package"
66
}
77
else if ("${stageName}" == "SonarQube Report")
88
{
9-
sh "echo 'Testing'"
9+
sh "mvn sonar:sonar"
1010
}
1111
else if ("${stageName}" == "Upload Into Nexus")
1212
{
13-
sh "echo 'Deploying'"
13+
sh "mvn deploy"
1414
}
1515
}

0 commit comments

Comments
 (0)