Merge "Promote git tags from master instead of nightly/testing"
diff --git a/release-mcp-version.groovy b/release-mcp-version.groovy
index 470f338..652dae9 100644
--- a/release-mcp-version.groovy
+++ b/release-mcp-version.groovy
@@ -66,6 +66,9 @@
}
def triggerGitTagJob(gitRepoList, gitCredentials, tag, sourceTag) {
+ // There is no `nightly` and `testing` build-IDs` in release process
+ // for git repos
+ if ( sourceTag in ['nightly', 'testing'] ) sourceTag = 'master'
build job: "tag-git-repos-all", parameters: [
[$class: 'TextParameterValue', name: 'GIT_REPO_LIST', value: gitRepoList],
[$class: 'StringParameterValue', name: 'GIT_CREDENTIALS', value: gitCredentials],