diff --git a/Jenkinsfile b/Jenkinsfile index 463bf369032b76539c713f44e6a14333d6ec281e..9535ebc2d6e92f77198a6dba813eb8d6164ec5cb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,9 @@ node{ checkout([$class: 'GitSCM', branches: [[name: '$Branches']], doGenerateSubmoduleConfigurations: false, extensions: [], gitTool: 'Default', submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'a97e0ce1-814b-4e7d-832a-4ac3eed72506', url: 'git@gitlab.schbrain.com:zhangdongdong/test.git']]]) } def pom = readMavenPom file: 'pom.xml' + echo "start echo pom" echo "${pom}" + echo "end echo pom" stage('Maven Build'){ sh "/var/jenkins_home/tools/apache-maven-3.6.3/bin/mvn clean -U package -Dversion=${version} -Dmaven.test.skip=true -P${profiles}" }