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 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
--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c2256b2f0b3f4332b016a27b8f358c5c%40EUX13SRV1.EU.NEC.COM.
For more options, visit https://groups.google.com/d/optout.
Hi Mark
Thanks for your reply. Do you not end up putting sensitive data on GitHub such as credentials?
David
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.
Click here to report this email as spam.
Hi Mark
Thanks for your reply. Do you not end up putting sensitive data on GitHub such as credentials?
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8a110db85c3f4d16ba3e8416fd0d71af%40EUX13SRV1.EU.NEC.COM.