Skip to content
Snippets Groups Projects

feat: Add SonarCloud bindings

1 unresolved thread

Merge request reports

Merged by Martin LoweMartin Lowe 1 year ago (Apr 3, 2024 1:54pm UTC)

Loading

Pipeline #42822 passed

Pipeline passed for b6f6118f on main

Activity

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

    • e6ed55bd - 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 b6f6118f

    mentioned in commit b6f6118f

  • Please register or sign in to reply
    Loading