[
https://issues.apache.org/jira/browse/BEAM-4496?focusedWorklogId=149637&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-149637
]
ASF GitHub Bot logged work on BEAM-4496:
----------------------------------------
Author: ASF GitHub Bot
Created on: 29/Sep/18 12:53
Start Date: 29/Sep/18 12:53
Worklog Time Spent: 10m
Work Description: swegner commented on a change in pull request #6505:
[BEAM-4496] Fix branch fetch failure on job_PostCommit_Website_Publish
URL: https://github.com/apache/beam/pull/6505#discussion_r221326198
##########
File path: website/build.gradle
##########
@@ -116,7 +124,18 @@ task commitWebsite << {
def git = grgit.open()
// get the latest commit on master
def latestCommit = grgit.log(maxCommits: 1)[0].abbreviatedId
+
+ // Make sure we are sync'd to the gitbox head
+ if (!git.remote.list().find { it.name == 'test-upstream' }) {
Review comment:
Now that I think about it: we can use the asf-site branch from origin during
the `commitWebsite` task, and only worry about gitbox during publishing. That
would simplify the logic here a lot.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 149637)
Time Spent: 19h 50m (was: 19h 40m)
> Create Jenkins job to push generated HTML to asf-site branch
> ------------------------------------------------------------
>
> Key: BEAM-4496
> URL: https://issues.apache.org/jira/browse/BEAM-4496
> Project: Beam
> Issue Type: Sub-task
> Components: build-system, website
> Reporter: Scott Wegner
> Assignee: Alan Myrvold
> Priority: Major
> Labels: beam-site-automation-reliability
> Fix For: 2.8.0
>
> Time Spent: 19h 50m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)