Need help understanding this NotSerializableException

2019-02-04 Thread Hari Krishna Dara
I have a class that exposes a each style function that is working fine when called from many places of Jenkinsfile, but one such call needs to process it in reverse order, so I created a reverseEach style function, but this started throwing "java.io.NotSerializableException: org.codehaus.groovy

Re: Missing latest .deb

2019-02-04 Thread 'Mark Raynsford' via Jenkins Users
On 2019-02-04T12:20:25 -0700 Slide wrote: > Hmm, I just tried with the link you provided and I am able to download via > browser. Can you'd etermine which mirror you are getting sent to? > Looks like it was: https://prodjenkinsreleases.blob.core.windows.net/debian/jenkins_2.163_all.deb ... Bu

Re: Missing latest .deb

2019-02-04 Thread Slide
Hmm, I just tried with the link you provided and I am able to download via browser. Can you'd etermine which mirror you are getting sent to? On Mon, Feb 4, 2019, 11:43 'Mark Raynsford' via Jenkins Users < jenkinsci-users@googlegroups.com wrote: > Hello! > > Upon trying to get a Debian machine to

Missing latest .deb

2019-02-04 Thread 'Mark Raynsford' via Jenkins Users
Hello! Upon trying to get a Debian machine to the latest Jenkins, I seem to have run into a missing blob: https://pkg.jenkins.io/debian/binary/jenkins_2.163_all.deb BlobNotFound The specified blob does not exist. RequestId:3c1fe8ec-f01e-00fc-34b9-bc8bcb00 Time:2019-02-04T18:42:17.

Re: Is it possible to not remove the docker agent container after job execution?

2019-02-04 Thread Vincent Massol
The doc at https://plugins.jenkins.io/docker-plugin says: Optionally, the container can be committed, so that (for example) manual QA > could be performed by the container being imported into a local docker > provider, and run from there. How can that be achieved? Thanks -Vincent Le lundi

Re: Console output getting hidden when running from library step

2019-02-04 Thread James Telfer
In case anyone else runs into this; the problem was nothing to do with Jenkins, it was a change I'd made to the second script, which hid all output internally. Coincidence that both changes went in together! On Monday, 4 February 2019 12:16:53 UTC, James Telfer wrote: > > Hi, > > I'm pulling so

Re: Starting Docker Agent for Docker on Docker (-v /var/run/docker.sock:/var/run/docker.sock)?

2019-02-04 Thread RAJENDRA PRASAD
Check whether you have root previllages to run docker. Docker need root previllages to run property or else you will get above error. Thanks Rajendra On Mon, 4 Feb, 2019, 21:49 Vincent Massol Hi, > > I have a Docker Cloud configured whicih st > > -- > You received this message because you are su

Starting Docker Agent for Docker on Docker (-v /var/run/docker.sock:/var/run/docker.sock)?

2019-02-04 Thread Vincent Massol
Hi, I have a Docker Cloud configured whicih st -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discu

Re: Is it possible to not remove the docker agent container after job execution?

2019-02-04 Thread Vincent Massol
For example I just got the following failure on my job running inside a docker agent container and I can't go there to open the file and see what was the problem: [INFO] --- maven-failsafe-plugin:2.22.0:verify (functional-tests) @ xwiki- platform-menu-test-docker --- [ERROR] There are test failu

Is it possible to not remove the docker agent container after job execution?

2019-02-04 Thread Vincent Massol
Hi Jenkins users/devs, I'm testing Jenkins with agents spawned as docker containers (I have my own custom docker image built on top of "jenkins/ssh-slave"). However, one important is when a job fails and I need to debug it, since by default the spawned docker container is removed when the job f

Re: Is it possible to not remove the docker agent container after job execution?

2019-02-04 Thread Vincent Massol
For example I just got the following failure on my job running inside a docker agent container -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users

Re: How to include pipeline errors in email (Email-ext plugin)

2019-02-04 Thread 'Björn Pedersen' via Jenkins Users
Hi, you should be ablre to achieve this with the help of the Build Failure Analyzer plugin or the warnings-ng plugin (possibly with a custom groovy parser ) Björn Am Montag, 4. Februar 2019 11:39:18 UTC+1 schrieb Faad Sayaou: > > I am trying to have the reason as it is printed on the console

Console output getting hidden when running from library step

2019-02-04 Thread James Telfer
Hi, I'm pulling some common functionality out of my pipelines into a global library. I've come across the following odd (and unwanted) behaviour; The original, Declarative Pipeline did something like this: pipeline { ... stages { stage('Build') { steps{ bat 'call setup-en

How to include pipeline errors in email (Email-ext plugin)

2019-02-04 Thread Faad Sayaou
I am trying to have the reason as it is printed on the console of my Jenkins instance why a build failed through email. I did the following try { . } catch (err) { cause=err emailext body:"Error: $cause ", to: 'myem...@gmail.com' } The result on the console is something like "dotnetge co