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 rocketChatColor = "#e813c8"
|
||||||
def rocketChatEmoji = ":skunk:"
|
def rocketChatEmoji = ":skunk:"
|
||||||
|
|
||||||
def numOfArtifactsToKeep = env.GIT_BRANCH == "master" ? "10" : "5"
|
def numOfArtifactsToKeep = env.GIT_BRANCH == "main" ? "10" : "5"
|
||||||
|
|
||||||
|
|
||||||
def result = []
|
def result = []
|
||||||
@@ -189,7 +189,7 @@ pipeline {
|
|||||||
|
|
||||||
stage ('Release') {
|
stage ('Release') {
|
||||||
when {
|
when {
|
||||||
branch 'master'
|
branch 'main'
|
||||||
}
|
}
|
||||||
|
|
||||||
steps {
|
steps {
|
||||||
|
|||||||
Reference in New Issue
Block a user