File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,64 +10,9 @@ pipeline{
1010
1111 script{
1212
13- git branch : ' main' , url : ' https://github.com/vikash-kumar01/mrdevops_javaapplication.git'
14- }
15- }
16- }
17- stage(' UNIT testing' ){
18-
19- steps{
20-
21- script{
22-
23- sh ' mvn test'
24- }
25- }
26- }
27- stage(' Integration testing' ){
28-
29- steps{
30-
31- script{
32-
33- sh ' mvn verify -DskipUnitTests'
34- }
35- }
36- }
37- stage(' Maven build' ){
38-
39- steps{
40-
41- script{
42-
43- sh ' mvn clean install'
44- }
45- }
46- }
47- stage(' Static code analysis' ){
48-
49- steps{
50-
51- script{
52-
53- withSonarQubeEnv(credentialsId : ' sonar-api' ) {
54-
55- sh ' mvn clean package sonar:sonar'
56- }
57- }
58-
59- }
60- }
61- stage(' Quality Gate Status' ){
62-
63- steps{
64-
65- script{
66-
67- waitForQualityGate abortPipeline : false , credentialsId : ' sonar-api'
68- }
13+ echo " hello jenkins"
6914 }
7015 }
7116 }
7217
73- }
18+ }
You can’t perform that action at this time.
0 commit comments