SimpleBuildStep is in 1.577 or later, and the next LTS is 1.580.x. There is no LTS release between 1.568 and 1.577, so it shouldn't really be that big of a change.
That said, I think with an explicit dependency to a later jenkins-core (but older parent) you can write plugin code for newer versions, while the plugin will show up as compatible with older releases -- you'll need to take care of properly wrapping all new code references in separate classes and/or try/catch blocks though. It'll make for a better experience for users if they get Workflow support out of the box. Who expects that to be a separate plugin? Re pom.xml content, I noticed url (which may be deliberate?) and name. On 10.08.2015, at 18:45, Paul Allen <[email protected]> wrote: > Hi Daniel, > > I wanted to keep the ‘p4’ plugin at Jenkins 1.568 to maintain backwards > compatibility for non Workflow users. > > To implement ‘SimpleBuildStep’ I would need to upgrade to 1.596.1 or later; > this would break compatibility for some users. Perhaps there is a way around > this? I’m guessing you don’t want to split ‘SimpleBuildStep’ out of the core? > > The <scm> and <name> sections do need updating, it was a copy/paste error. > Where there any other sections I missed? > > Kind regards, > Paul > >> On 10 Aug 2015, at 16:35, Daniel Beck <[email protected]> wrote: >> >> Hi Paul, >> >> Very cool. But why is this a separate plugin? >> >> (Also, some pom.xml metadata is still for the P4 Plugin) >> >> Daniel >> >> On 10.08.2015, at 17:13, Paul Allen <[email protected]> wrote: >> >>> Hi Guys, >>> >>> Please can I create a new plugin to extend the ‘p4’ for DSL and extended >>> workflow support. >>> >>> Plugin Name: p4workflow >>> GitHub User: p4paul >>> >>> Initial checkin: https://github.com/p4paul/p4workflow >>> >>> Kind regards, >>> Paul >>> >>> -------------------------------------------------------------------------------- >>> This email and any files transmitted with it are confidential and intended >>> solely for the use of the individual or entity to whom they are addressed. >>> If >>> you have received this email in error please notify the system manager. >>> Please >>> note that any views or opinions presented in this email are solely those of >>> the >>> author and do not necessarily represent those of Perforce Software. >>> Finally, >>> the recipient should check this email and any attachments for the presence >>> of >>> viruses. Perforce Software accepts no liability for any damage caused by >>> any >>> virus transmitted by this email. >>> >>> Perforce Software UK Ltd is registered in England and Wales as company no. >>> 3816019 at the following address: West Forest Gate, Wellington Road, >>> Wokingham, >>> RG40 2AT, UK >>> -------------------------------------------------------------------------------- >>> >>> -- >>> 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/8699CE73-3FBE-4050-9870-500492A04BAA%40perforce.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/EE549FA7-5811-4065-B3C7-DB02EB9FD685%40beckweb.net. >> For more options, visit https://groups.google.com/d/optout. > > > > -------------------------------------------------------------------------------- > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. If > you have received this email in error please notify the system manager. > Please > note that any views or opinions presented in this email are solely those of > the > author and do not necessarily represent those of Perforce Software. Finally, > the recipient should check this email and any attachments for the presence of > viruses. Perforce Software accepts no liability for any damage caused by any > virus transmitted by this email. > > Perforce Software UK Ltd is registered in England and Wales as company no. > 3816019 at the following address: West Forest Gate, Wellington Road, > Wokingham, > RG40 2AT, UK > -------------------------------------------------------------------------------- > > -- > 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/737BB261-EF56-4E3D-B5F4-FDE44AA7D915%40perforce.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/A16BE621-428F-4588-A0BD-8905043BD93F%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
