Changeset in when

2017-12-19 Thread Sharon Grubner
In the declarative pipelines presentation at Jenkins World 2017 they presented a nice feature where you can execute certain pipeline stages based on changesets. You can see the syntax in slide 14: https://schd.ws/hosted_files/jenkinsworld20162017/49/Declarative%20Pipelines%20in%20Jenkins%20-%20J

GitHub pull request for pipelines

2017-09-12 Thread Sharon Grubner
We've been using github pull request builder plugin in our freestyle DSL jobs, and now we're in the process of migrating to pipelines. Is there non-multibranch pipeline support for this plugin? Either scripted or declarative pipelines. If not, is there an alternative supported plugin that could

Using Jenkins Job DSL API with declarative pipeline syntax

2017-09-07 Thread Sharon Grubner
Hey! I'm trying to set up a builder pattern that allows other developers in my team to easily set up pipeline jobs without having to know the exact groovy syntax for their jobs. First, to clarify what I mean, I want to quickly show you how we used that for our freestyle jobs: protected final J