[Jenkinsfile] Publish artifacts to datastore for both dev and release branches.

This commit is contained in:
Mat Sutcliffe
2019-04-12 14:05:48 +01:00
committed by Klaus Basan
parent c1f0aa72b7
commit 821ebffbcf

3
Jenkinsfile vendored
View File

@@ -268,7 +268,8 @@ node('master') {
node('master') {
try {
if (env.BRANCH_NAME && env.BRANCH_NAME ==~ regexDevBranch) {
if (env.BRANCH_NAME && (env.BRANCH_NAME ==~ regexDevBranch
|| env.BRANCH_NAME ==~ regexReleaseBranch)) {
stage('Publish') {
unstash name: 'swift-linux-64'
unstash name: 'swift-macos-64'