bneradt commented on code in PR #443:
URL: https://github.com/apache/trafficserver-ci/pull/443#discussion_r3414493814


##########
jenkins/github/toplevel.pipeline:
##########
@@ -1,13 +1,52 @@
 TOP_JOB_DESC = "Builds:\\n"
 
+String githubUrl() {
+       return env.GITHUB_URL ?: GITHUB_REPO_GIT_URL.replace("git://", 
"https://";)
+}
+
+void waitForMirrorRefs() {
+       def mirrorUrl = githubUrl()
+
+       echo "Waiting for ${mirrorUrl} to mirror PR #${GITHUB_PR_NUMBER}"
+       withEnv(["MIRROR_URL=${mirrorUrl}"]) {
+               timeout(time: 2, unit: 'MINUTES') {

Review Comment:
   Nah, we can cross that bridge when we "git" there.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to