You can create the pipeline definition in a girhub repo with a branch per Jenkinsfile. The Jenkinsfile can reference your subversion repository. I've used that technique with scripted pipeline, so I think it should work with declarative pipeline.
Probably best to use github rather than hosting your own git server because blue ocean declarative pipeline editing works best with github. Mark Waite On Thu, May 11, 2017, 10:26 AM David Aldrich <[email protected]> wrote: > Hi > > > > I am finding it difficult to construct declarative pipelines as code, so I > want to try out Blue Ocean to construct them graphically. > > > > However, we store our project repositories in Subversion not Git. Blue > Ocean wants a Git repository or GitHub. I can’t use the latter because our > IT policy prevents us storing company data on an external server. > > > > We could install a Git server just for Blue Ocean. I imagine that > Jenkinsfiles for our projects would live in the Git server’s bare > repository and would execute actions on our subversion repositories: > checkout build etc. > > > > Furthermore I guess I could copy the Jenkinsfiles to the Subversion > repositories when they are tested, and then just maintain them as code. > > > > Is this a reasonable strategy? I’m not sure I am understanding the > documentation correctly so would be grateful for some guidance. > > > > Best regards > > > > David > > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" 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-users/c2256b2f0b3f4332b016a27b8f358c5c%40EUX13SRV1.EU.NEC.COM > <https://groups.google.com/d/msgid/jenkinsci-users/c2256b2f0b3f4332b016a27b8f358c5c%40EUX13SRV1.EU.NEC.COM?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" 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-users/CAO49JtGXN6ad-Tp3eFDnq-UzkmJmMe%3Df8jrzbTmTKmEaOgPeGQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
