Skip to content

Commit

Permalink
SONARFLEX-182 fix windows build (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
kebetsi authored Oct 30, 2024
1 parent 26f8e12 commit fa7ff47
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ build_task:
#allow deployment of pull request artifacts to repox
DEPLOY_PULL_REQUEST: true
maven_cache:
folder: ${CIRRUS_WORKING_DIR}/.m2/repository
folder: ${CIRRUS_WORKING_DIR}/.m2/repository
build_script:
- source cirrus-env BUILD
- regular_mvn_build_deploy_analyze
Expand Down Expand Up @@ -70,7 +70,7 @@ ws_scan_task:
win_task:
ec2_instance:
experimental: true # see https://github.com/cirruslabs/cirrus-ci-docs/issues/1051
image: base-windows-jdk11-v*
image: base-windows-jdk17-v*
platform: windows
region: eu-central-1
type: t3.xlarge
Expand All @@ -96,7 +96,7 @@ plugin_qa_task:
- SQ_VERSION: LATEST_RELEASE
- SQ_VERSION: DEV
maven_cache:
folder: ${CIRRUS_WORKING_DIR}/.m2/repository
folder: ${CIRRUS_WORKING_DIR}/.m2/repository
qa_script:
- source cirrus-env QA
- source set_maven_build_version $BUILD_NUMBER
Expand All @@ -113,7 +113,7 @@ ruling_task:
cpu: 4
memory: 8G
maven_cache:
folder: ${CIRRUS_WORKING_DIR}/.m2/repository
folder: ${CIRRUS_WORKING_DIR}/.m2/repository
submodules_script:
- git submodule update --init
ruling_script:
Expand All @@ -122,7 +122,7 @@ ruling_task:
- cd its/ruling
- mvn verify -Pit-ruling -Dsonar.runtimeVersion=LATEST_RELEASE -Dmaven.test.redirectTestOutputToFile=false -B -e -V
cleanup_before_cache_script: cleanup_maven_repository

promote_task:

Check warning on line 126 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L126

task "promote" depends on task "ws_scan", but their only_if conditions are different

Check warning on line 126 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L126

task "promote" depends on task "ws_scan", but their only_if conditions are different

Check warning on line 126 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L126

task "promote" depends on task "ws_scan", but their only_if conditions are different
depends_on:
- ws_scan
Expand All @@ -138,6 +138,6 @@ promote_task:
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:
folder: ${CIRRUS_WORKING_DIR}/.m2/repository
folder: ${CIRRUS_WORKING_DIR}/.m2/repository
script: cirrus_promote_maven
cleanup_before_cache_script: cleanup_maven_repository

0 comments on commit fa7ff47

Please sign in to comment.