Skip to content

Commit

Permalink
CI: Fix deploy script (#3065) (#3066)
Browse files Browse the repository at this point in the history
* CI: Fix deploy script

Issue introduced in https://github.com/kiegroup/kogito-runtimes/pull/3040

* Update Jenkinsfile.deploy
  • Loading branch information
radtriste authored Jun 16, 2023
1 parent 17a04ff commit 2b6bb04
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .ci/jenkins/Jenkinsfile.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,13 @@ pipeline {
stage('Build & Test') {
steps {
script {
getMavenCommand()
.withProperty('maven.test.failure.ignore', true)
.skipTests(params.SKIP_TESTS)
.run('clean install')
dir(getRepoName()) {
String mvnCmd = getMavenCommand()
.withProperty('maven.test.failure.ignore', true)
.skipTests(params.SKIP_TESTS)
.getFullRunCommand('clean install')
util.runWithPythonVirtualEnv(mvnCmd, 'swf')
}
}
}
post {
Expand All @@ -124,7 +127,9 @@ pipeline {
stage('Deploy locally') {
steps {
script {
runMavenDeploy(true)
dir(getRepoName()) {
runMavenDeploy(true)
}
}
}
}
Expand Down

0 comments on commit 2b6bb04

Please sign in to comment.