-
Notifications
You must be signed in to change notification settings - Fork 2
JAVASE-23 Delete ws_scan_task (#39) #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
leonardo-pilastri-sonarsource
merged 7 commits into
branch-8.18
from
lp/cherry-pick-gh-commits
Dec 5, 2025
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
0b363ef
JAVASE-23 Delete ws_scan_task (#39)
tomasz-tylenda-sonarsource 10a715d
JAVASE-145 Use regular project key instead of shadow project key
dorian-burihabwa-sonarsource a64c0a0
JAVASE-144 Bootstrap GHA for sonar-java-symbolic-execution (#40)
GabrielFleischer f17a078
Finalize CI Migration (#42)
GabrielFleischer 213b6bf
Bump releasability check to v3
leonardo-pilastri-sonarsource e38d53a
Update parent pom to 86.0.0.3040
leonardo-pilastri-sonarsource 06b7562
BUILD-8875: Migrate to standardized GitHub runner names (#36)
SonarTech File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,118 @@ | ||
| name: Build | ||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| - branch-* | ||
| - dogfood-* | ||
| pull_request: | ||
| workflow_dispatch: | ||
| schedule: | ||
| - cron: "30 1 * * *" # Run daily at 1:30 AM UTC | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| build: | ||
| name: Build | ||
| runs-on: github-ubuntu-latest-s | ||
| permissions: | ||
| id-token: write | ||
| contents: write | ||
| outputs: | ||
| build-number: ${{ steps.build-step.outputs.BUILD_NUMBER }} | ||
| deployed: ${{ steps.build-step.outputs.deployed }} | ||
| steps: | ||
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | ||
| - uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd # v3.2.0 | ||
| with: | ||
| version: 2025.7.12 | ||
| - uses: SonarSource/ci-github-actions/build-maven@v1 | ||
| id: build-step | ||
| with: | ||
| deploy-pull-request: true | ||
| artifactory-reader-role: private-reader # Override default public-reader | ||
| artifactory-deployer-role: qa-deployer # Override default public-deployer | ||
|
|
||
| qa: | ||
| needs: [build] | ||
| if: ${{ needs.build.outputs.deployed }} | ||
| runs-on: github-ubuntu-latest-l | ||
| permissions: | ||
| id-token: write | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| item: | ||
| - { name: "with Lastest SonarJava Plugin", profile: "without-sonarqube-project", java_plugin_version: "LATEST_MASTER" } | ||
| - { name: "for SonarQube Project Only", profile: "only-sonarqube-project", java_plugin_version: "LATEST_MASTER" } | ||
| - { name: "with Prod SonarJava Plugin", profile: "without-sonarqube-project", java_plugin_version: "POM_PROPERTY" } | ||
| name: "QA Tests ${{ matrix.item.name }}" | ||
| env: | ||
| BUILD_NUMBER: ${{ needs.build.outputs.build-number }} | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | ||
| with: | ||
| submodules: recursive | ||
| - uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd # v3.2.0 | ||
| with: | ||
| working-directory: its/ruling | ||
| version: 2025.7.12 | ||
| - name: Get GitHub Token for QA Licenses | ||
| id: secrets | ||
| uses: SonarSource/vault-action-wrapper@v3 | ||
| with: | ||
| secrets: | | ||
| development/github/token/licenses-ro token | GITHUB_TOKEN; | ||
| - name: Configure Maven | ||
| id: configure-maven | ||
| uses: SonarSource/ci-github-actions/config-maven@v1 | ||
| with: | ||
| artifactory-reader-role: private-reader # Override default public-reader | ||
| - name: Get Sonar Java plugin version | ||
| id: resolve-sonar-java-plugin-version | ||
| run: | | ||
| VERSION=$(.github/scripts/resolve-sonar-java-plugin-version.sh "${{ matrix.item.java_plugin_version }}") | ||
| echo "version=${VERSION}" >> $GITHUB_OUTPUT | ||
| - name: Run QA Tests | ||
| working-directory: its/ruling | ||
| env: | ||
| GITHUB_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).GITHUB_TOKEN }} | ||
| BUILD_NUMBER: ${{ needs.build.outputs.build-number }} | ||
| MAVEN_OPTS: "-Xmx3g" | ||
| SONAR_JAVA_VERSION: ${{ steps.resolve-sonar-java-plugin-version.outputs.version }} | ||
| run: | | ||
| mvn package --batch-mode \ | ||
| "-Pit-ruling,${{ matrix.item.profile }}" \ | ||
| "-Dsonar.java.version=${SONAR_JAVA_VERSION}" \ | ||
| "-Dorchestrator.artifactory.accessToken=${ARTIFACTORY_ACCESS_TOKEN}" \ | ||
| "-Dsonar.runtimeVersion=LATEST_RELEASE" \ | ||
| "-Dmaven.test.redirectTestOutputToFile=false" \ | ||
| "-DbuildNumber=${BUILD_NUMBER}" \ | ||
| -B -e -V \ | ||
| "-Dparallel=methods" \ | ||
| "-DuseUnlimitedThreads=true" | ||
| - name: Upload ruling artifacts on failure | ||
| if: failure() | ||
| uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.5.0 | ||
| with: | ||
| name: ruling-actual-${{ matrix.item.profile }}-${{ matrix.item.java_plugin_version }} | ||
| path: its/ruling/target/actual/**/* | ||
|
|
||
| promote: | ||
| name: Promote | ||
| if: ${{ needs.build.outputs.deployed }} | ||
| needs: | ||
| - build | ||
| - qa | ||
| runs-on: github-ubuntu-latest-s | ||
| permissions: | ||
| id-token: write | ||
| env: | ||
| BUILD_NUMBER: ${{ needs.build.outputs.build-number }} | ||
| steps: | ||
| - name: Promote artifacts | ||
| uses: SonarSource/ci-github-actions/promote@v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| name: Cleanup PR Resources | ||
| on: | ||
| pull_request: | ||
| types: | ||
| - closed | ||
|
|
||
| jobs: | ||
| cleanup: | ||
| runs-on: github-ubuntu-latest-s | ||
| permissions: | ||
| actions: write | ||
| steps: | ||
| - uses: SonarSource/ci-github-actions/pr_cleanup@v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| [tools] | ||
| java = "17.0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| [tools] | ||
| java = "23" | ||
| maven = "3.9" |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.