Re: kubernetes plugin 1.15.1 deletes the pod yaml specified in "Manage Jenkins" Cloud section.

2019-04-22 Thread Philip Mason
Thanks! On Mon, Apr 22, 2019 at 11:45 AM Carlos Sanchez wrote: > this has been fixed in 1.15.2 > https://issues.jenkins-ci.org/browse/JENKINS-57112 > > On Thu, Apr 18, 2019 at 9:13 PM Philip Mason wrote: > >> Hi, >> >> I installed the latest kubernetes plugin 1.15.1 and found that all of my >>

Kubernetes plugin with Rancher cluster

2019-04-22 Thread Quang Truong
Hi, I have setup an on-prem cluster with Rancher 2.X ( https://rancher.com/docs/rke/latest/en/installation/), when I set the worker node on the same master, the jnlp slave can start successfully. However, when I try a new node in the cluster, I use the master on one machine and another machine

Re: Jenkins git plugin using only Java 7.1

2019-04-22 Thread Baptiste Mathus
I _think_ you're implying that you're using Java 7 on the agent side (AIX) and you're running the master on Java 8. If so, do not do it. It is not supported at all, and will cause issues. Issues like, well, these ones if I understand your question. Switch your master instance to running Java 7

Re: Jenkins git plugin using only Java 7.1

2019-04-22 Thread R. Tyler Croy
(replies inline) On Mon, 22 Apr 2019, Rich Stephens wrote: > I have a machine that it limited to no higher than Java 7.1. (It's an AIX 6.1 > machine)  I am running Jenkins 1.6.4.9 for this reason. > > I can get Jenkins running fine, but when I try to install the git plugin, it > installs

Jenkins git plugin using only Java 7.1

2019-04-22 Thread Rich Stephens
I have a machine that it limited to no higher than Java 7.1. (It's an AIX 6.1 machine) I am running Jenkins 1.6.4.9 for this reason. I can get Jenkins running fine, but when I try to install the git plugin, it installs dependencies that require Java 1.8. I cannot find any information on

Re: kubernetes plugin 1.15.1 deletes the pod yaml specified in "Manage Jenkins" Cloud section.

2019-04-22 Thread Carlos Sanchez
this has been fixed in 1.15.2 https://issues.jenkins-ci.org/browse/JENKINS-57112 On Thu, Apr 18, 2019 at 9:13 PM Philip Mason wrote: > Hi, > > I installed the latest kubernetes plugin 1.15.1 and found that all of my > container pod yaml snippets were deleted and anything I put in the text box >

Do not add jobs to queue in case there is one already.

2019-04-22 Thread Ясен Владимиров
Hello guys, I have the following question. I have bitbucket hook and on approved merge it starts and jenkins build. It works pretty fine, now I have 3 guys in the team and very often there are like 3 PR pending and all get approved within 1 minute. This sends 3 hooks to jenkins and I see one

Re: withMaven Artifacts URL

2019-04-22 Thread Cyrille Le Clerc
Can you clarify what you mean by a "variable", where do you want to use such data? In pipeline groovy code? Do you have examples of other pipeline steps that expose data you like to consume? Le ven. 19 avr. 2019 à 22:05, Harsh Shah a écrit : > Any update on the API to get the published

Re: Add Publisher Maven artifacts to mail template

2019-04-22 Thread Cyrille Le Clerc
Thanks Harsh, Could you please share with us an example of using maven pipeline details in email generated by the email ext plug-in that I would add to the documentation? Le lun. 22 avr. 2019 à 08:49, Harsh Shah a écrit : > Collection > generatedArtifacts = >

Re: Add Publisher Maven artifacts to mail template

2019-04-22 Thread Harsh Shah
Collection generatedArtifacts = currentBuild.rawBuild.getAction(org.jenkinsci.plugins.pipeline.maven.publishers.MavenReport.class).getGeneratedArtifacts(); for (org.jenkinsci.plugins.pipeline.maven.MavenArtifact generatedArtifact:generatedArtifacts) {

Re: Add Publisher Maven artifacts to mail template

2019-04-22 Thread Harsh Shah
Hi, Thanks, this works. -Harsh On Sunday, April 21, 2019 at 9:15:50 AM UTC-7, Cyrille Le Clerc wrote: > > Hello Harsh, > > > This seems to be possible but I have not tried. It should look like: > > Collection > generatedArtifacts = build.getAction(org.jenkinsci.plugins.pipeline.maven. >