Skip to content

fix(static-push): use doesBucketExistV2 ref: #24698 #6633

fix(static-push): use doesBucketExistV2 ref: #24698

fix(static-push): use doesBucketExistV2 ref: #24698 #6633

Workflow file for this run

name: Sonar Qube Scan Gradle
on:
push:
branches:
- master
- testing-sonarqube
paths: ['dotCMS/**']
pull_request:
# Sequence of patterns matched against refs/heads
branches:
- master
- release-*
paths: ['dotCMS/**']
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Cache SonarQube packages
uses: actions/cache@v1
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Gradle packages
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Build and analyze
env:
SONAR_SCANNER_OPTS: "-Xmx3g"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
run: cd dotCMS && ./gradlew generateDependenciesFromMaven && ./gradlew build sonarqube --info