Try hudson.hpi.run:
https://github.com/jenkinsci/maven-hpi-plugin/blob/master/src/main/java/org/jenkinsci/maven/plugins/hpi/RunMojo.java#L237

On 21.02.2015, at 22:15, Surya Gaddipati <[email protected]> wrote:

> Is there way to check to plugin is launched via mvn hpi:run 
> 
> I found this property 
> 
> https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/Main.java#L221
> 
> But it env variable is not set causing it return false all the time. 
> 
> -- 
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/81e96984-701d-4e1d-973f-cf7236d0b023%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/231CA771-7A9A-4335-B7E9-F1A7EDBE0B15%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to