Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigonull committed Jun 19, 2024
1 parent 6edbccf commit 23f8555
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .ci/jenkins/config/branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jenkins:
# At some point, this image will need to be changed when a release branch is created
# but we need to make sure the image exists first ... simple tag before setting up the branch ?
# See https://github.com/kiegroup/kie-issues/issues/551
image: quay.io/kiegroup/kogito-ci-build:main-latest
image: docker.io/apache/incubator-kie-kogito-ci-build:main-latest
args: --privileged --group-add docker
default_tools:
jdk: jdk_17_latest
Expand Down
2 changes: 1 addition & 1 deletion .ci/jenkins/config/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ jenkins:
# At some point, this image will need to be changed when a release branch is created
# but we need to make sure the image exists first ... simple tag before setting up the branch ?
# See https://github.com/kiegroup/kie-issues/issues/551
image: quay.io/kiegroup/kogito-ci-build:main-latest
image: docker.io/apache/incubator-kie-kogito-ci-build:main-latest
args: --privileged --group-add docker
4 changes: 2 additions & 2 deletions jenkins-pipeline-shared-libraries/test/vars/MavenSpec.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class MavenSpec extends JenkinsPipelineSpecification {
when:
mavenGroovy.mvnVersionsSet(newVersion)
then:
1 * getPipelineMock("sh")([script: "mvn -B -N -e versions:set -Dfull -DnewVersion=${newVersion} -DallowSnapshots=false -DgenerateBackupPoms=false", returnStdout: false])
1 * getPipelineMock("sh")([script: "mvn -B -N -e versions:set -Dfull -DnewVersion=${newVersion} -DallowSnapshots=false -DprocessAllModules=true -DgenerateBackupPoms=false", returnStdout: false])
}

def "[maven.groovy] run mvn versions set with allow snapshots"() {
Expand All @@ -157,7 +157,7 @@ class MavenSpec extends JenkinsPipelineSpecification {
when:
mavenGroovy.mvnVersionsSet(newVersion, true)
then:
1 * getPipelineMock("sh")([script: "mvn -B -N -e versions:set -Dfull -DnewVersion=${newVersion} -DallowSnapshots=true -DgenerateBackupPoms=false", returnStdout: false])
1 * getPipelineMock("sh")([script: "mvn -B -N -e versions:set -Dfull -DnewVersion=${newVersion} -DallowSnapshots=true -DprocessAllModules=true -DgenerateBackupPoms=false", returnStdout: false])
}

def "[maven.groovy] run mvn versions update parent"() {
Expand Down

0 comments on commit 23f8555

Please sign in to comment.