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
The following commit(s) were added to refs/heads/main by this push:
new bfedfa8 Add git fetch, might help?
bfedfa8 is described below
commit bfedfa8dfe3a98e8aa7efa9c85b327b7acbf1df5
Author: gmcdonald <[email protected]>
AuthorDate: Fri Feb 24 14:08:52 2023 +0100
Add git fetch, might help?
---
Jenkinsfile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index cc88001..d9d4918 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -71,6 +71,7 @@ pipeline {
script {
// Checkout branch with generated content
sh """
+ git fetch
git checkout ${DEPLOY_BRANCH}
git pull origin ${DEPLOY_BRANCH}
"""
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]