Re: CI jobs for publishing SNAPSHOTs

2022-07-31 Thread Claus Ibsen
Hi Yeah that seems correct. I am trying this now. On Mon, Aug 1, 2022 at 4:31 AM Zheng Feng wrote: > So it could be change to use > > when { > anyOf { > branch 'main'; > branch 'camel-3.18.x'; > branch 'camel-3.14.x' > } > } > > On Mon, Aug 1, 2022 at 4:20 AM

Re: CI jobs for publishing SNAPSHOTs

2022-07-31 Thread Zheng Feng
So it could be change to use when { anyOf { branch 'main'; branch 'camel-3.18.x'; branch 'camel-3.14.x' } } On Mon, Aug 1, 2022 at 4:20 AM Jeremy Ross wrote: > I don't know anything about Jenkins, but I suspect it's getting skipped > because of this: > > when {

Re: CI jobs for publishing SNAPSHOTs

2022-07-31 Thread Jeremy Ross
I don't know anything about Jenkins, but I suspect it's getting skipped because of this: when { branch 'main' } https://github.com/apache/camel/blob/b254e0e8269980b05e340d685d4704369b01ed1e/Jenkinsfile.deploy#L62-L64 The branch wouldn't be 'main', it'd be '3.18.x', therefore the step is