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
skipped. Same issue with 3.14.x

Looks like the last time we were getting 3.x.[1+] builds was 3.7.x. I
noticed that branch has a modified Jenkinsfile:

when {
    branch 'camel-3.7.x'
}
https://github.com/apache/camel/blob/364372f1a79875224c5d842bd001827e5d25f44e/Jenkinsfile.deploy#L62-L64



On Sat, Jul 30, 2022 at 5:43 AM Claus Ibsen <claus.ib...@gmail.com> wrote:

> Hi
>
> All I can see from builds logs for 3.18.x is
>
> https://ci-builds.apache.org/job/Camel/job/Camel%20Daily%20Snapshot%20Deploy/job/camel-3.18.x/5/console
>
> Stage "Build & Deploy" skipped due to when conditional
>
>
>
>
> On Sat, Jul 30, 2022 at 8:03 AM Claus Ibsen <claus.ib...@gmail.com> wrote:
>
> > Hi
> >
> > It seems that the CI jobs for 3.18.x and 3.14.x does not publish
> SNAPSHOTs
> > to Apache snapshot repo.
> >
> > eg 3.18.x branch is set as 3.18.1-SNAPSHOT as the version number but we
> > only have the older 3.18.0-SNAPSHOT versions before the 3.18.0 LTS was
> > released (july 9th)
> >
> >
> https://repository.apache.org/content/groups/snapshots/org/apache/camel/camel-bom/
> >
> > The Jenkinsfile.deploy is identical in main vs 3.18.x so I am puzzled why
> > the CI job does not work
> > The job only runs for 1 minute vs manin runs for 4 hours.
> >
> >
> > --
> > Claus Ibsen
> > -----------------
> > http://davsclaus.com @davsclaus
> > Camel in Action 2: https://www.manning.com/ibsen2
> >
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>

Reply via email to