Skip to content

Commit

Permalink
[ACS-8883][skip tests] Add JAVA_VERSION to mvn args (#2959)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmagdziarz authored Oct 15, 2024
1 parent 61037e0 commit 9e7e481
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/master_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
echo "COMPUTED_BUILD_NUMBER=$(( $BASE_BUILD_NUMBER + $BUILD_NUMBER ))" >> $GITHUB_ENV
- name: "Update images"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: mvn -B -V clean install -ntp -DskipTests -Dmaven.javadoc.skip=true -Dbuild-number=${COMPUTED_BUILD_NUMBER} -Pags -Ppush-docker-images,pipeline -Ddocker.buildArg.JAVA_VERSION=17
run: mvn -B -V clean install -ntp -DskipTests -Dmaven.javadoc.skip=true -Dbuild-number=${COMPUTED_BUILD_NUMBER} -Pags -Ppush-docker-images,pipeline "-Ddocker.buildArg.JAVA_VERSION=17"
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh

Expand Down
2 changes: 1 addition & 1 deletion tests/pipeline-all-amps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
</buildx>
<dockerFileDir>${project.basedir}</dockerFileDir>
<args>
<JAVA_VERSION>17</JAVA_VERSION>
<BASE_IMAGE>${local.registry}/${base.image}</BASE_IMAGE>
</args>
</build>
Expand Down Expand Up @@ -168,6 +167,7 @@
</buildx>
<dockerFileDir>${project.basedir}</dockerFileDir>
<args>
<JAVA_VERSION>17</JAVA_VERSION>
<BASE_IMAGE>${local.registry}/${base.image}</BASE_IMAGE>
</args>
</build>
Expand Down

0 comments on commit 9e7e481

Please sign in to comment.