marcoabreu commented on a change in pull request #13344: Refactor Jenkinsfiles
URL: https://github.com/apache/incubator-mxnet/pull/13344#discussion_r235477825
 
 

 ##########
 File path: ci/Jenkinsfile_utils.groovy
 ##########
 @@ -144,9 +157,78 @@ def docker_run(platform, function_name, use_nvidia, 
shared_mem = '500m') {
   sh command
 }
 
+// Allow publishing to GitHub with a custom context (the status shown under a 
PR)
+// Credit to https://plugins.jenkins.io/github
+def get_repo_url() {
+  checkout scm
+  sh "git config --get remote.origin.url > .git/remote-url"
 
 Review comment:
   Ah, they've recently added a redirect parameter. I've replaced it at 
https://github.com/apache/incubator-mxnet/pull/13355. Thanks for the heads up!

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to