You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tac.apache.org by gm...@apache.org on 2023/03/25 13:08:07 UTC

[tac-website] 11/30: try a workaround

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

gmcdonald pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tac-website.git

commit 7dadb378a2218eca9407bc72cff5021a26dedce4
Author: gmcdonald <gm...@apache.org>
AuthorDate: Sat Feb 25 12:33:17 2023 +0100

    try a workaround
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 5e68008..5a30fbb 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -106,7 +106,7 @@ pipeline {
                 script {
                     // Checkout branch with generated content
                     sh """
-                        git checkout ${DEPLOY_BRANCH}
+                        git checkout -b ${DEPLOY_BRANCH} --track origin/${DEPLOY_BRANCH}
                         git pull origin ${DEPLOY_BRANCH}
                     """
                     


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tac.apache.org
For additional commands, e-mail: commits-help@tac.apache.org