[
https://issues.apache.org/jira/browse/BEAM-5672?focusedWorklogId=153756&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-153756
]
ASF GitHub Bot logged work on BEAM-5672:
----------------------------------------
Author: ASF GitHub Bot
Created on: 12/Oct/18 03:03
Start Date: 12/Oct/18 03:03
Worklog Time Spent: 10m
Work Description: swegner closed pull request #6669: [BEAM-5672] Pull URL
out of logs for build description
URL: https://github.com/apache/beam/pull/6669
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/.test-infra/jenkins/job_PreCommit_Website_Stage_GCS.groovy
b/.test-infra/jenkins/job_PreCommit_Website_Stage_GCS.groovy
index 5f3f4e3bba7..c5cf28f2efa 100644
--- a/.test-infra/jenkins/job_PreCommit_Website_Stage_GCS.groovy
+++ b/.test-infra/jenkins/job_PreCommit_Website_Stage_GCS.groovy
@@ -24,5 +24,9 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
gradleTask: ':beam-website:stageWebsite',
triggerPathPatterns: ['^website/.*$']
)
-builder.build()
+builder.build {
+ publishers {
+ buildDescription(/Website published to (http:\/\/.+\/index.html)/)
+ }
+}
----------------------------------------------------------------
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: 153756)
Time Spent: 0.5h (was: 20m)
> Staged URL should be posted to GitHub PR
> ----------------------------------------
>
> Key: BEAM-5672
> URL: https://issues.apache.org/jira/browse/BEAM-5672
> Project: Beam
> Issue Type: Sub-task
> Components: website
> Reporter: Scott Wegner
> Assignee: Alan Myrvold
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Website PRs are automatically tested and staged via Jenkins to a location on
> GCS: https://builds.apache.org/job/beam_PreCommit_Website_Stage_GCS_Commit/
> However, it's difficult to find the URL for the staged job; it's buried
> inside the Jenkins job, inside the Gradle scan, inside the log.
> I believe there's an API for posting back a context message to the pull
> request. If possible, we should push the URL so it's easily viewable from the
> pull request.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)