Pipeline will now only publish to git.reslate.systems on main branch
This commit is contained in:
parent
17932ecd71
commit
2ea2f63f29
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -35,6 +35,10 @@ pipeline {
|
|||||||
stage("publish") {
|
stage("publish") {
|
||||||
parallel {
|
parallel {
|
||||||
stage ("git.reslate.systems") {
|
stage ("git.reslate.systems") {
|
||||||
|
when {
|
||||||
|
branch '**/main'
|
||||||
|
}
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
CREDS = credentials('username-password-rs-git')
|
CREDS = credentials('username-password-rs-git')
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user