File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,15 @@ pipeline {
124
124
steps {
125
125
script {
126
126
dir(getRepoName()) {
127
- getMavenCommand().withProperty('maven.test.failure.ignore', true).skipTests(params.SKIP_TESTS).run('clean install')
127
+ def mvnCmd = getMavenCommand()
128
+ .withOptions(env.BUILD_MVN_OPTS_CURRENT ? [ env.BUILD_MVN_OPTS_CURRENT ] : [])
129
+ .withOptions(env.KOGITO_EXAMPLES_BUILD_MVN_OPTS ? [ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS ] : [])
130
+ .withProperty('maven.test.failure.ignore', true)
131
+
132
+ if (params.SKIP_TESTS) {
133
+ mvnCmd.skipTests() // Conflict somehow with Python testing. If `skipTests={anyvalue}` is set, then exec plugin is not executed ...
134
+ }
135
+ util.runWithPythonVirtualEnv(mvnCmd.getFullRunCommand('clean install'), 'swf')
128
136
}
129
137
}
130
138
}
You can’t perform that action at this time.
0 commit comments