Skip to content

Commit 6d8d70a

Browse files
Correct deploy pipeline (#1750) (#1752)
Co-authored-by: Tristan Radisson <tradisso@redhat.com>
1 parent c25cf9e commit 6d8d70a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.ci/jenkins/Jenkinsfile.deploy

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,11 @@ pipeline {
122122
steps {
123123
script {
124124
dir(getRepoName()) {
125-
getMavenCommand().withProperty('maven.test.failure.ignore', true).skipTests(params.SKIP_TESTS).run('clean install')
125+
def mvnCmd = getMavenCommand().withProperty('maven.test.failure.ignore', true)
126+
if (params.SKIP_TESTS) {
127+
mvnCmd.skipTests() // Conflict somehow with Python testing. If `skipTests={anyvalue}` is set, then exec plugin is not executed ...
128+
}
129+
util.runWithPythonVirtualEnv(mvnCmd.getFullRunCommand('clean install'), 'swf')
126130
}
127131
}
128132
}

0 commit comments

Comments
 (0)