Useful if you have jobs that should be excluded from pipeline or you want to split sequence of jobs into multiple pipelines.
BUILD -> TEST -> DEPLOY DEV -> DEPLOY PROD
BUILD -> TEST
DEPLOY DEV -> DEPLOY PROD
Configure Jobs to be hidden from the delivery pipeline
I think I've got a decent first crack at this. Here's my strategy:
I added a lastJobRegex where I terminate searching for jobs/tasks when a task id matches the specified regex.
I'm also looking at adding a hideJobRegex to satisfy JENKINS-26210.
Thoughts? PR coming shortly (hopefully).
Fixed in https://github.com/Diabol/delivery-pipeline-plugin/pull/144
According to the testing I did for my implementation, this is missing some key logic. I'll track on the PR.
What exactly use cases are not covered. Please keep in mind that my change is not working with regexp.
I'm thinking I was wrong now--you are filtering in a different (probably better, as I don't know this code that well) place than I was.
Yup--all good! It was the termination of downstream jobs after the last job. You're doing it in ProjectUtil, I wasn't.
Released in 0.9.6