Skip to content

Commit 4622838

Browse files
committed
DEVOPS-194 right parse tag
1 parent 85e13f3 commit 4622838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ podTemplate(label: "prometheus-${label}", inheritFrom: 'kube-slave-dood') {
2020
if ( TAG_VERSION ) {
2121
print TAG_VERSION
2222
def V3IO_TSDB_VERSION = sh(
23-
script: "echo ${TAG_VERSION} | awk -F '-' '{print \$2}'",
23+
script: "echo ${TAG_VERSION} | awk -F '-v' '{print \"v\"\$2}'",
2424
returnStdout: true
2525
).trim()
2626
// stage('get release') {

0 commit comments

Comments
 (0)