You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2018/11/22 20:37:07 UTC
[incubator-mxnet] branch master updated: Replace fileread with
reading from stdout (#13355)
This is an automated email from the ASF dual-hosted git repository.
marcoabreu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new cfabc6b Replace fileread with reading from stdout (#13355)
cfabc6b is described below
commit cfabc6bb4f27c56f9ffb3491b672047580047721
Author: Marco de Abreu <ma...@users.noreply.github.com>
AuthorDate: Thu Nov 22 21:36:41 2018 +0100
Replace fileread with reading from stdout (#13355)
---
ci/Jenkinsfile_utils.groovy | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ci/Jenkinsfile_utils.groovy b/ci/Jenkinsfile_utils.groovy
index 007c559..1c4570a 100644
--- a/ci/Jenkinsfile_utils.groovy
+++ b/ci/Jenkinsfile_utils.groovy
@@ -161,8 +161,7 @@ def docker_run(platform, function_name, use_nvidia, shared_mem = '500m') {
// Credit to https://plugins.jenkins.io/github
def get_repo_url() {
checkout scm
- sh "git config --get remote.origin.url > .git/remote-url"
- return readFile(".git/remote-url").trim()
+ return sh(returnStdout: true, script: "git config --get remote.origin.url").trim()
}
def update_github_commit_status(state, message) {