You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by sk...@apache.org on 2019/01/16 05:31:09 UTC

[incubator-mxnet] branch master updated: Added logging to GitHub commit status publishing (#13615)

This is an automated email from the ASF dual-hosted git repository.

skm 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 b1c9c2a  Added logging to GitHub commit status publishing (#13615)
b1c9c2a is described below

commit b1c9c2a8c34ced7cab3e35f2fc2655ab80e346e9
Author: Anton Chernov <me...@gmail.com>
AuthorDate: Tue Jan 15 21:30:51 2019 -0800

    Added logging to GitHub commit status publishing (#13615)
---
 ci/Jenkinsfile_utils.groovy | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/ci/Jenkinsfile_utils.groovy b/ci/Jenkinsfile_utils.groovy
index 8291bae..054deb5 100644
--- a/ci/Jenkinsfile_utils.groovy
+++ b/ci/Jenkinsfile_utils.groovy
@@ -174,9 +174,17 @@ def update_github_commit_status(state, message) {
     //properly and you would see an empty list of repos:
     //[Set GitHub commit status (universal)] PENDING on repos [] (sha:xxxxxxx) with context:test/mycontext
     //See https://cwiki.apache.org/confluence/display/MXNET/Troubleshooting#Troubleshooting-GitHubcommit/PRstatusdoesnotgetpublished
+
+    echo "Publishing commit status..."
+
     repoUrl = get_repo_url()
+    echo "repoUrl=${repoUrl}"
+
     commitSha = get_git_commit_hash()
+    echo "commitSha=${commitSha}"
+    
     context = get_github_context()
+    echo "context=${context}"
 
     step([
       $class: 'GitHubCommitStatusSetter',
@@ -190,6 +198,9 @@ def update_github_commit_status(state, message) {
         results: [[$class: "AnyBuildResult", message: message, state: state]]
       ]
     ])
+
+    echo "Publishing commit status done."
+
   }
 }