Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
WISE-PaaS_CodePipeline
python-demo
Commits
46cd0c4a
Commit
46cd0c4a
authored
7 years ago
by
xiuhua
Browse files
Options
Download
Patches
Plain Diff
Modify syntax error.
parent
cf546bb6
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pipeline_Python_CD.txt
+1
-1
pipeline_Python_CD.txt
with
1 addition
and
1 deletion
+1
-1
pipeline_Python_CD.txt
+
1
−
1
View file @
46cd0c4a
...
...
@@ -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}"
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets