diff --git a/predeploy/Jenkinsfile b/predeploy/Jenkinsfile index e06fe28..36063a9 100644 --- a/predeploy/Jenkinsfile +++ b/predeploy/Jenkinsfile @@ -36,8 +36,6 @@ stage ('predeploy') { echo 'checking tag' script { tag = tagModule.calcTag() - echo "tag is -> ${tag}" - println "tagNoV is -> ${tagModule.getTagNoV()}" def branchName = sh(returnStdout: true, script: "git rev-parse --abbrev-ref HEAD").trim() if (tag) { @@ -58,7 +56,7 @@ stage ('predeploy') { sh "mkdir ${branchName}" sh "mv ${TARGET_FOLDER}/* ${branchName}" // sh "cd ${TARGET_FOLDER} ; echo 'rm ${DEPLOY_VERSION_VAR}' > ${DEPLOY_VERSION_VAR}" - archiveArtifacts artifacts: "${TARGET_FOLDER}/*/**" + archiveArtifacts artifacts: "${branchName}/*/**" } } }