I guess the below can help you out with the build cause:
- 
https://github.com/jenkinsci/pipeline-examples/tree/master/pipeline-examples/get-build-cause

cheers

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1bb78242-0381-49cf-9ae3-9597646178f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to