Skip to content

Commit 77240f1

Browse files
committed
Edited Jenkinsfile to allow correct Sonarcloud implementation
1 parent 6c91972 commit 77240f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pipeline {
2424
stages {
2525
stage('Build') {
2626
steps {
27-
sh 'mvn -B -Drat.skip=true -DskipTests verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=Huntonion_commons-cli'
27+
sh 'mvn -B -Drat.skip=true -DskipTests verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=Huntonion_commons-cli -Dsonar.branch.name=dev -Dsonar.branch.target=main'
2828
}
2929
}
3030
}

0 commit comments

Comments
 (0)