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

 ##########
 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:
   Why not .execute()  writing a file doesn't seem the best way.

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