Commit 075697bd authored by yuxunhui's avatar yuxunhui

no message

parent e9533bfd
...@@ -60,8 +60,9 @@ pipeline { ...@@ -60,8 +60,9 @@ pipeline {
stage('deploy') { stage('deploy') {
steps { steps {
script { script {
TAG_SELECTOR = readMavenPom().getVersion() TAG_SELECTOR = readMavenPom().getVersion().replaceAll("(-SNAPSHOT|-RELEASE)", "")
} }
echo "TAG_SELECTOR=${TAG_SELECTOR}" echo "TAG_SELECTOR=${TAG_SELECTOR}"
echo "${version}_${env.BUILD_ID}" echo "${version}_${env.BUILD_ID}"
echo "${TAG_SELECTOR}_${env.BUILD_ID}" echo "${TAG_SELECTOR}_${env.BUILD_ID}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment