소스 검색

SONAR-21911 Cache build result and use it in analysis task

tags/10.5.0.89998
antoine.vinot 2 달 전
부모
커밋
54ad2b1a3d
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9
    0
      .cirrus/.cirrus.yml

+ 9
- 0
.cirrus/.cirrus.yml 파일 보기

- "**/test-results/test" - "**/test-results/test"
fingerprint_script: echo $CIRRUS_BUILD_ID fingerprint_script: echo $CIRRUS_BUILD_ID


build_cache_template: &BUILD_CACHE_TEMPLATE
build_cache:
folders:
- "**/build/**/*"
fingerprint_script: echo $BUILD_NUMBER

cache_dependencies_task: cache_dependencies_task:
container: container:
dockerfile: .cirrus/Dockerfile dockerfile: .cirrus/Dockerfile
memory: 8Gb memory: 8Gb
<<: *DEFAULT_TEMPLATE <<: *DEFAULT_TEMPLATE
<<: *GRADLE_CACHE_TEMPLATE <<: *GRADLE_CACHE_TEMPLATE
<<: *BUILD_CACHE_TEMPLATE
<<: *YARN_CACHE_TEMPLATE <<: *YARN_CACHE_TEMPLATE
<<: *JAR_CACHE_TEMPLATE <<: *JAR_CACHE_TEMPLATE
build_script: .cirrus/cirrus-build.sh build_script: .cirrus/cirrus-build.sh


sq_analysis_task: sq_analysis_task:
depends_on: depends_on:
- build
- yarn_lint - yarn_lint
- yarn_validate - yarn_validate
- junit - junit
SONAR_HOST_URL: https://next.sonarqube.com/sonarqube SONAR_HOST_URL: https://next.sonarqube.com/sonarqube
SONAR_TOKEN: ENCRYPTED[!b6fd814826c51e64ee61b0b6f3ae621551f6413383f7170f73580e2e141ac78c4b134b506f6288c74faa0dd564c05a29!] SONAR_TOKEN: ENCRYPTED[!b6fd814826c51e64ee61b0b6f3ae621551f6413383f7170f73580e2e141ac78c4b134b506f6288c74faa0dd564c05a29!]
<<: *GRADLE_CACHE_TEMPLATE <<: *GRADLE_CACHE_TEMPLATE
<<: *BUILD_CACHE_TEMPLATE
<<: *YARN_CACHE_TEMPLATE <<: *YARN_CACHE_TEMPLATE
<<: *JEST_REPORT_CACHE_TEMPLATE <<: *JEST_REPORT_CACHE_TEMPLATE
<<: *ESLINT_REPORT_CACHE_TEMPLATE <<: *ESLINT_REPORT_CACHE_TEMPLATE

Loading…
취소
저장