In the PLC4X jenkinsfile we have the "code quality" step like this:

        stage('Code Quality') {
            when {
                branch 'develop'
            }
            steps {
                echo 'Checking Code Quality'
                withSonarQubeEnv('ASF Sonar Analysis') {
                    sh 'mvn -P${JENKINS_PROFILE} sonar:sonar'
                }
            }
        }

The important part is the "withSonarQubeEnv" part ...

Chris


Am 08.01.19, 09:54 schrieb "Christofer Dutz" <christofer.d...@c-ware.de>:

    Are you getting these errors locally on your machine?
    
    It might be that we haven't had a commit for so long that the changes we 
needed to add in the PLC4X project haven't been applied to the Edgent 
Jenkinsfile ... 
    
    Chris
    
    Am 08.01.19, 09:16 schrieb "Julian Feinauer" <j.feina...@pragmaticminds.de>:
    
        Hi all,
        
        as our repositories where successfully migrated to gitbox I changed all 
references in the incubator-edgent repo.
        But my Build fails with the message
        
        
        “[ERROR] Failed to execute goal 
org.sonarsource.scanner.maven:sonar-maven-plugin:3.3.0.603:sonar (default-cli) 
on project edgent-parent: You're not authorized to execute any SonarQube 
analysis. Please contact your SonarQube administrator. -> [Help 1]“
        
        
        
        And I have absolutely no clue what this is about.
        
        
        
        @Chris: Could you have a look or give me a hint?
        
        See https://builds.apache.org/job/edgent-pipeline/job/develop/57 for 
the log.
        
        
        
        Best
        
        Julian
        
    
    

Reply via email to