Skip to content

Commit

Permalink
Attempt to fix sonarcuebe pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoTavares committed Jun 20, 2024
1 parent a9f41d8 commit a809b64
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/testing-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,23 @@ jobs:
uses: tj-actions/changed-files@v35
- name: Check for Version Change
run: ci/check_version_bump.py ${{ steps.get_changed_files.outputs.all_changed_and_modified_files }}

analyze_cuebot:
runs-on: ubuntu-latest
container: aswf/ci-opencue:2020
name: Analyze Cuebot
steps:
- name: Checkout
uses: actions/checkout@v3
with:
# Fetch all Git history, otherwise the current version number will
# not be correctly calculated.
fetch-depth: 0

- name: Analyze and send to SonarCloud
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
chown -R aswfuser:aswfgroup .
su -c "cd cuebot && ./gradlew jacocoTestReport sonarqube -Dsonar.login=${SONAR_TOKEN}" aswfuser

0 comments on commit a809b64

Please sign in to comment.