Re: Own Cloud Plugin: "ClassNotFoundException: javax.servlet.ServletException" when running job for the first time

2018-12-10 Thread Jesse Glick
On Mon, Dec 10, 2018 at 5:07 AM Johannes Schneider
 wrote:
> But where are the snapshots published to? I can't find the version 
> 2.154-rc27545.0e85c9fb206a

Because that build was unstable, and there has not been a stable build
in this PR. Incrementals only get deployed when a build is stable
_and_ the PR is up to date with the base branch. I filed

https://github.com/jenkinsci/jenkins/pull/3799

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2%3DEvHY6VQdAT%2Bf6x6YLgZOPx0NrbDV5%3DgBMt9EhGs3tA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Own Cloud Plugin: "ClassNotFoundException: javax.servlet.ServletException" when running job for the first time

2018-12-10 Thread Johannes Schneider
But where are the snapshots published to? I can't find the version 
2.154-rc27545.0e85c9fb206a 
on 
https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/main/jenkins-core/

I am running:
mvn hpi:run -Djenkins.version=2.154-rc27545.0e85c9fb206a 
-Pconsume-incrementals

Which does not work since 
https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/main/jenkins-core/ 
doesn't contain that version.


Am Donnerstag, 6. Dezember 2018 07:23:16 UTC+1 schrieb Baptiste Mathus:
>
> Note that the Incrementals repo is *not* configured behind 
> http://repo.jenkins-ci.org/public/ group repo on purpose.
> So to enable automatic addition of that repository, you must add 
> -Pconsume-incrementals to your command line call, and hence use a recent 
> parent pom. See https://github.com/jenkinsci/plugin-pom
>
> I think some ~3.18+ should be enough, but I'd recommend updating to latest 
> 3.28 or 3.29 to avoid issues.
>
> Le mer. 5 déc. 2018 à 21:23, Daniel Beck > 
> a écrit :
>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/bfaf26b7-6787-462d-8fd1-6e3567024938%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Own Cloud Plugin: "ClassNotFoundException: javax.servlet.ServletException" when running job for the first time

2018-12-05 Thread Baptiste Mathus
Note that the Incrementals repo is *not* configured behind
http://repo.jenkins-ci.org/public/ group repo on purpose.
So to enable automatic addition of that repository, you must add
-Pconsume-incrementals to your command line call, and hence use a recent
parent pom. See https://github.com/jenkinsci/plugin-pom

I think some ~3.18+ should be enough, but I'd recommend updating to latest
3.28 or 3.29 to avoid issues.

Le mer. 5 déc. 2018 à 21:23, Daniel Beck  a écrit :

>
>
> > On 5. Dec 2018, at 18:01, Johannes Schneider 
> wrote:
> >
> > which does not work (of course) because I don't have a snapshot
> repository configured. A quick search didn't give me
> > the the URL for the snapshot repository. Could you help me out?
> >
>
> Incrementals are deployed to https://repo.jenkins-ci.org/incrementals/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/A3911619-D4B1-4672-9974-151BC497538F%40beckweb.net
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS5dtBwShE22sVnE3dhJO3DUTebBrZehw5xm82%3DZX1FJxg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Own Cloud Plugin: "ClassNotFoundException: javax.servlet.ServletException" when running job for the first time

2018-12-05 Thread Johannes Schneider
Hi Jesse,

could you give me a hint how to try it out?
I tried 

mvn hpi:run -Djenkins.version=2.154-rc27545.0e85c9fb206a

which does not work (of course) because I don't have a snapshot repository 
configured. A quick search didn't give me
the the URL for the snapshot repository. Could you help me out?


Am Dienstag, 27. November 2018 16:58:26 UTC+1 schrieb Jesse Glick:
>
> it should deploy an incremental version 
> 2.154-rc27545.0e85c9fb206a which you can use as `jenkins.version` in 
> your POM (or passing via `-D` to `hpi:run`). 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/e2ac800c-0ae7-4edb-9cfd-423c655ba605%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Own Cloud Plugin: "ClassNotFoundException: javax.servlet.ServletException" when running job for the first time

2018-11-27 Thread Jesse Glick
On Tue, Nov 27, 2018 at 11:40 AM Johannes Schneider
 wrote:
> What are the workarounds?

I am not aware of any.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0NqRHxzytuyZcD5w_kEu1%2BzrtFr6ABrkBNzABBWcR4pQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Own Cloud Plugin: "ClassNotFoundException: javax.servlet.ServletException" when running job for the first time

2018-11-27 Thread Johannes Schneider
I will try
 

> 2.154-rc27545.0e85c9fb206a 
>

as soon as it is build.

One question: What are the workarounds? What can be done?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/3fce43eb-c21f-4adb-814e-c2b315cbc6e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Own Cloud Plugin: "ClassNotFoundException: javax.servlet.ServletException" when running job for the first time

2018-11-27 Thread Jesse Glick
This is a longstanding JENKINS-26677 that has never been
satisfactorily resolved, though there have been workarounds. You can
see it without any custom plugin, just using `CommandLauncher` with
`jenkinsci/docker-agent`, depending on how Jenkins is being run and
what build steps you use. The problem relates to how the Servlet API
is loaded from the servlet container hosting the Jenkins master.

Anyway, if you are able to reproduce, please give feedback on
https://github.com/jenkinsci/jenkins/pull/3778. Assuming the build is
successful, it should deploy an incremental version
2.154-rc27545.0e85c9fb206a which you can use as `jenkins.version` in
your POM (or passing via `-D` to `hpi:run`).

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2GQ%3DKpwMi6tTrkkTno%2BpuTYwhD9%3Dt8Hkm_Ggjh47fr%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.