The Notification Plugin (https://github.com/jenkinsci/notification-plugin) 
has not been updated to support the Pipeline plugins.
That is at the end `onCompleted(Run r, TaskListener listener)`, it should 
POST few EnvVars to a configurable URL.

The problem is `run.getEnvironment(listener)` does not contain values like 
GIT_URL, etc that should be set by the GitSCM plugin.

The code is here: 

I read here 
<https://github.com/jenkinsci/pipeline-plugin/blob/master/DEVGUIDE.md> that 
`Run` only contains the initial build environment. I did not understand the 
given solution here.

Can anyone guide me how I can access these values here?

Bibek Shrestha

You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to