Skip to content

Commit

Permalink
SLCORE-716: Mend / Promote task to use Java 17 (#1216)
Browse files Browse the repository at this point in the history
Because the Docker image was setting the Java version conditionally on Cirrus CI.
  • Loading branch information
thahnen authored Jan 23, 2025
1 parent 7057626 commit 782c922
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,14 @@ mend_scan_task:
<<: *CONTAINER_DEFINITION
env:
WS_APIKEY: VAULT[development/kv/data/mend data.apikey]
JDK_VERSION: "11"
JDK_VERSION: "17"
<<: *MAVEN_CACHE_DEFINITION
whitesource_script:
- source cirrus-env QA
- source set_maven_build_version $BUILD_NUMBER
- mvn clean install -DskipTests
- source ws_scan.sh
cleanup_before_cache_script: cleanup_maven_repository
allow_failures: "true"
always:
ws_artifacts:
path: "whitesource/**/*"
Expand Down Expand Up @@ -237,7 +236,7 @@ promote_task:
cpu: 2
memory: 4G
env:
JDK_VERSION: "11"
JDK_VERSION: "17"
ARTIFACTORY_PROMOTE_ACCESS_TOKEN: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-promoter access_token]
GITHUB_TOKEN: VAULT[development/github/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-promotion token]
<<: *MAVEN_CACHE_DEFINITION
Expand Down

0 comments on commit 782c922

Please sign in to comment.