Updated pipeline to not publish to system repo if it's a tagged version
This commit is contained in:
parent
af9c8c70b8
commit
3aa2916324
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -32,6 +32,11 @@ pipeline {
|
||||
stage("publish") {
|
||||
parallel {
|
||||
stage ("git.reslate.systems") {
|
||||
when {
|
||||
not {
|
||||
tag '*.*.*'
|
||||
}
|
||||
}
|
||||
environment {
|
||||
CREDS = credentials('username-password-rs-git')
|
||||
}
|
||||
@ -41,7 +46,7 @@ pipeline {
|
||||
}
|
||||
stage ("pypi.org") {
|
||||
when {
|
||||
tag '*.*'
|
||||
tag '*.*.*'
|
||||
}
|
||||
environment {
|
||||
TOKEN = credentials('pypi.org')
|
||||
|
Loading…
x
Reference in New Issue
Block a user