How about
http://javadoc.jenkins-ci.org/jenkins/model/Jenkins.html#VERSION


Robert Sandell
Software Tools Engineer - SW Environment and Product Configuration
Sony Mobile Communications


> -----Original Message-----
> From: [email protected] [mailto:jenkinsci-
> [email protected]] On Behalf Of James Yin
> Sent: den 28 november 2012 03:53
> To: [email protected]
> Subject: How to get Jenkins version in plugin?
> 
> Is there a way that plugin can find out Jenkins version at run time?
> 
> There are different versions of Jenkins in my company.
> I need email a log with the Jenkins version when the plugin run failed.
> 
> 
> 
> --
> View this message in context: http://jenkins.361315.n4.nabble.com/How-
> to-get-Jenkins-version-in-plugin-tp4647453.html
> Sent from the Jenkins dev mailing list archive at Nabble.com.

Reply via email to