I am able to get this working without moving the Jenkins version. Since the method didn't have new types in it's signature, the plugin compiled fine . When deployed in Jenkins 2.6, checkout step returned a map with the required environment variables.
On Wednesday, December 6, 2017 at 12:45:36 PM UTC+5:30, Lakshmi Narasimhan wrote: > > I am trying to adopt the changes required in RTCScm due to changes in > Jenkins core API. Links to the Jira issue ( > https://issues.jenkins-ci.org/browse/JENKINS-26100) and Team Concert > Plugin <https://github.com/jenkinsci/teamconcert-plugin> > There is a new method buildEnvironment(Run<?,?.. that needs to be > overriden in RTCScm. and this is available in Jenkins Core API 2.60. > Currently Team Concert Plugin is at 1.580.1. I want to keep the Jenkins > version the same and just implement the buildEnvironment method in RTCScm. > The expectation is that in Jenkins 2.60 and above, the checkout step > would find the new method in RTCScm and get the map with the required > data. Would this work? > -- 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/5d150934-1249-422b-a28d-aeddf34462f7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
