Skip to content
Snippets Groups Projects

feat: Add SonarCloud bindings

1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
104 109
105 110 stages {
106 stage('Build project') {
111 stage('Build with Sonarcloud scan') {
112 when {
113 branch 'main'
114 }
115
116 steps {
117 container('buildcontainer') {
118 readTrusted 'Makefile'
119 readTrusted 'pom.xml'
120 readTrusted 'package.json'
121 sh 'make compile-test-resources'
122 withCredentials([string(credentialsId: 'sonarcloud-token-eclipsefdn-uss-api', variable: 'SONAR_TOKEN')]) {
123 sh 'mvn clean verify -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.login=${SONAR_TOKEN}'
  • added 1 commit

    • 936ccab8 - fix: Switch to sonar.token variable

    Compare with previous version

  • Zachary Sabourin requested review from @malowe

    requested review from @malowe

  • Martin Lowe approved this merge request

    approved this merge request

  • merged

  • Martin Lowe mentioned in commit 9a2b6c9c

    mentioned in commit 9a2b6c9c

  • Please register or sign in to reply
    Loading