Commit 46cd0c4a authored by xiuhua's avatar xiuhua
Browse files

Modify syntax error.

parent cf546bb6
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -51,7 +51,7 @@ node('docker'){ //pipeline运行的节点,srp的部署都是在docker上面
if(DeployVersion==""){
sh 'git describe --tags `git rev-list --tags --max-count=1`>newestTag.txt'
TagName=readFile("newestTag.txt")
DeployVersion=TagName.tokenize('_')[1].tokenize()[0]
DeployVersion=TagName.tokenize('-')[1].tokenize()[0]
}else{
TagName="v-${DeployVersion}"
}
......
Supports Markdown
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