On Sat, Jun 18, 2022 at 6:58 AM Otavio Rodolfo Piske <angusyo...@gmail.com>
wrote:

> Hi, I can help with this.
>
> I don’t know if I will be able to do it this weekend, but I can do it on
> Monday at the latest.
>
>
Thanks Otavio

So I managed to get the daily snapshot to build for main (with JDK11)
https://ci-builds.apache.org/job/Camel/job/Camel%20Daily%20Snapshot%20Deploy/

So what is needed is to remove the deploy phase for the regular build +
test (big job)
https://ci-builds.apache.org/job/Camel/job/Apache%20Camel/

I think we should do this for the LTS branches too, so its consistent and
then we only let the daily snapshot job publish to apache maven snapshot
repo.
And all the other jobs does not but do what they should do.

And we need to check on the CI jobs for camel-spring-boot and camel-karaf
too.



> Kind regards
> Otavio R. Piske
>
> > On Jun 17, 2022, at 15:55, Claus Ibsen <claus.ib...@gmail.com> wrote:
> > Hi
> >
> > Ah okay so we have upgraded to JDK11 in the Jenkinsfile
> > def JDK_NAME = env.JDK_NAME ?: 'jdk_11_latest'
> >
> > So we should do this for the main branch for the deploy file too
> >
> >
> > On Fri, Jun 17, 2022 at 3:50 PM Claus Ibsen <claus.ib...@gmail.com>
> wrote:
> >
> >> Hi
> >>
> >> Hmm this fails with a maven compile error in that osgi bundle plugin.
> >>
> >> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile
> (default-compile) on project camel-bundle-plugin: Compilation failure
> >> [ERROR] javac: invalid target release: 11
> >> [ERROR] Usage: javac <options> <source files>
> >> [ERROR] use -help for a list of possible options
> >> [ERROR] -> [Help 1]
> >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile
> (default-compile) on project camel-bundle-plugin: Compilation failure
> >> javac: invalid target release: 11
> >> Usage: javac <options> <source files>
> >> use -help for a list of possible options
> >>
> >>
> >>
> >>
> >> It also looks like the Jenkinsfile we have are a bit outdated they refer
> >> to JDK8 by default
> >> def JDK_NAME = env.JDK_NAME ?: 'adoptopenjdk_hotspot_8u282'
> >>
> >>
> >>
> >> On Fri, Jun 17, 2022 at 3:44 PM Claus Ibsen <claus.ib...@gmail.com>
> wrote:
> >>
> >>> Hi
> >>> I added branch: main to the CI job that does a daily snapshot build and
> >>> deploy to Apache Maven Snapshot repository
> >>>
> https://ci-builds.apache.org/job/Camel/job/Camel%20Daily%20Snapshot%20Deploy/
> >>> This is needed so we have updated SNAPSHOTs on a daily basis.
> >>> We may want to remove "deploy" from the big build that runs all unit
> >>> tests (takes 8h) as this is too slow and if tests fails then we dont
> have
> >>> new SNAPSHOTs
> >>> https://ci-builds.apache.org/job/Camel/job/Apache%20Camel/job/main/
> >>> --
> >>> 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
> >
> >
> > --
> > 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