Skip to content

Commit

Permalink
[BEAM-4496] Fix #3 for branch fetch failure on job_PostCommit_Website…
Browse files Browse the repository at this point in the history
…_Publish (apache#6544)
  • Loading branch information
alanmyrvold authored and swegner committed Oct 2, 2018
1 parent ee0c1d7 commit 9d65ee9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions website/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,8 @@ task commitWebsite << {
// get the latest commit on master
def latestCommit = grgit.log(maxCommits: 1)[0].abbreviatedId

shell "git fetch ${gitboxUrl} asf-site"
shell "git fetch --force origin +asf-site:asf-site"
git.checkout(branch: 'asf-site')
shell "git reset --hard origin/asf-site"

// Delete the previous content.
git.remove(patterns: [ 'website/generated-content' ])
Expand Down

0 comments on commit 9d65ee9

Please sign in to comment.