You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2020/03/30 09:36:23 UTC

[camel-website] branch master updated: fix(build): use `origin/master`

This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/master by this push:
     new d9e0976  fix(build): use `origin/master`
d9e0976 is described below

commit d9e097632bbd9b150c4d4997451a11d55d550d9f
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Mar 30 11:35:15 2020 +0200

    fix(build): use `origin/master`
    
    Seems when we changed the build from Multibranch pipeline to Pipeline
    the branch names changed, so we can no longer use `master` but we need
    to use `origin/master`.
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 5dd3fa4..c413565 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -101,7 +101,7 @@ pipeline {
         stage('Preview') {
             when {
                 not {
-                    branch 'master'
+                    branch 'origin/master'
                 }
             }
 
@@ -112,7 +112,7 @@ pipeline {
 
         stage('Deploy') {
             when {
-                branch 'master'
+                branch 'origin/master'
             }
 
             steps {