diff --git a/Jenkinsfile b/Jenkinsfile index 00d1630c7..e57bbb42d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -36,17 +36,7 @@ pipeline { jdk 'JDK_17' maven 'MAVEN' } - steps { - rtMavenRun ( - tool: 'MAVEN_DEFAULT', - pom: 'pom.xml', - goals: 'clean install', - deployerId: "MAVEN_DEPLOYER", - ) - rtPublishBuildInfo ( - serverId: "ARTIFACTORY_SERVER" - ) - } + sh "mvn ${params.MAVEN_GOAL}" } stage('Test the code by using sonarqube') { steps {