fixed Jenkins file for release
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -7,7 +7,7 @@ def defaultRocketChatChannel = "#builds"
|
||||
def rocketChatColor = "#e813c8"
|
||||
def rocketChatEmoji = ":skunk:"
|
||||
|
||||
def numOfArtifactsToKeep = env.GIT_BRANCH == "master" ? "10" : "5"
|
||||
def numOfArtifactsToKeep = env.GIT_BRANCH == "main" ? "10" : "5"
|
||||
|
||||
|
||||
def result = []
|
||||
@@ -189,7 +189,7 @@ pipeline {
|
||||
|
||||
stage ('Release') {
|
||||
when {
|
||||
branch 'master'
|
||||
branch 'main'
|
||||
}
|
||||
|
||||
steps {
|
||||
|
||||
Reference in New Issue
Block a user