This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch test-publish in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit b8d80c2ec7507eb29635ef8230515ba979ce4898 Author: Zoran Regvart <zregv...@apache.org> AuthorDate: Wed Jan 9 10:23:05 2019 +0100 Test publishing to asf-git branch --- Jenkinsfile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 29a7788..c86693f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,6 +43,14 @@ pipeline { } stages { + stage('Test') { + steps { + deleteDir() + sh 'env' + sh 'ls -l $GIT_ASKPASS' + } + } + stage('Theme') { agent { dockerfile { @@ -72,13 +80,15 @@ pipeline { } stage('Deploy') { - when { +/* when { branch 'master' - } + }*/ steps { dir('deploy/staging') { deleteDir() + sh 'env' + sh 'ls -l $GIT_ASKPASS' sh 'git clone -b asf-site https://gitbox.apache.org/repos/asf/camel-website.git .' sh 'git rm -r *' sh "cp -R $WORKSPACE/camel-website/public/* ."