File tree Expand file tree Collapse file tree 1 file changed +6
-31
lines changed Expand file tree Collapse file tree 1 file changed +6
-31
lines changed Original file line number Diff line number Diff line change @@ -74,37 +74,12 @@ pipeline {
74
74
}
75
75
}
76
76
stage(' Static Code Analysis' ) {
77
- parallel {
78
- stage(' Checkstyle' ) {
79
- options {
80
- timeout(time : 5 , unit : ' MINUTES' )
81
- }
82
- steps {
83
- withMaven(jdk : " ${ JDK_VERSION} " , maven : ' M3' ) {
84
- sh ' mvn --activate-profiles qa checkstyle:checkstyle'
85
- }
86
- }
87
- }
88
- stage(' Spotbugs' ) {
89
- options {
90
- timeout(time : 10 , unit : ' MINUTES' )
91
- }
92
- steps {
93
- /* Change treshold to Default or remove treshold to find more bugs */
94
- withMaven(jdk : " ${ JDK_VERSION} " , maven : ' M3' ) {
95
- sh ' mvn --activate-profiles qa spotbugs:check -Dspotbugs.threshold="High"'
96
- }
97
- }
98
- }
99
- stage(' PMD' ) {
100
- options {
101
- timeout(time : 5 , unit : ' MINUTES' )
102
- }
103
- steps {
104
- withMaven(jdk : " ${ JDK_VERSION} " , maven : ' M3' ) {
105
- sh ' mvn --activate-profiles qa pmd:pmd -Dpmd.analysisCache=true'
106
- }
107
- }
77
+ options {
78
+ timeout(time : 30 , unit : ' MINUTES' )
79
+ }
80
+ steps {
81
+ withMaven(jdk : " ${ JDK_VERSION} " , maven : ' M3' ) {
82
+ sh ' mvn --activate-profiles qa verify -Dpmd.analysisCache=true'
108
83
}
109
84
}
110
85
}
You can’t perform that action at this time.
0 commit comments