Skip to content

Commit 2c0a01d

Browse files
committed
Added testing step to jenkinsfile
1 parent dcf4134 commit 2c0a01d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ 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 -Dsonar.branch.name=dev -Dsonar.branch.target=dev'
27+
sh 'mvn -B -Drat.skip=true -DskipTests verify'
2828
}
2929
}
3030
stage('Test') {
3131
steps {
32-
sh 'mvn -Drat.skip=true test'
32+
sh 'mvn -Drat.skip=true test org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=Huntonion_commons-cli -Dsonar.branch.name=dev -Dsonar.branch.target=dev'
3333
}
3434
post {
3535
always {

0 commit comments

Comments
 (0)