Re: Jenkins Performance loading slow

2019-03-19 Thread Stuart Rowe
Since you have the Active Directory plugin installed, can you confirm that you have caching enabled? We were bit by this when upgrading a test instance to LTS 2.150.2. See: https://issues.jenkins-ci.org/browse/JENKINS-56243 -- You received this message because you are subscribed to the Google G

Re: JRE version requirement

2019-03-19 Thread Baptiste Mathus
Oops, forgot the link to the plugin I'm talking about: https://plugins.jenkins.io/versioncolumn Le mar. 19 mars 2019 à 17:01, Baptiste Mathus a écrit : > Hello, > > It is unrelated with Java 11. It has always been the case, but we've now > been so long all using Java 8 that most people forgot ab

Re: sending email for unstable builds

2019-03-19 Thread Aaron Digulla
Hi, I'm using this code: node(...) { try { ...add stages here... } catch(Exception e) { currentBuild.result = 'FAILURE' // Let the post step know that the build failed with an error. throw e } finally { builder.post(curr

Re: JRE version requirement

2019-03-19 Thread Baptiste Mathus
Hello, It is unrelated with Java 11. It has always been the case, but we've now been so long all using Java 8 that most people forgot about this requirement. IOW, it was already unsupported to, say, run a master on a Java 8 and an agent on Java 7. This is because the remoting layer of Jenkins ser

Re: Wrong output on .../job/*/maven

2019-03-19 Thread Aaron Digulla
Hi Cyrille, I could fix one of my problems in the mean time: To get the downstream build working, I had to do the following: In "Manage Jenkins" / "Global Tool Configuration", I had to add a "Pipeline Graph Publisher" with the dropdown "Add Publisher Options". In there, I could switch the opti

Re: sending email for unstable builds

2019-03-19 Thread Mark Lübbehüsen
HI, you can fail your pipeline if you put the following code in the unit test stage script { currentBuild.result = currentBuild.result ?: 'FAILED' } Am Dienstag, 12. März 2019 23:31:43 UTC+1 schrieb Faad Sayaou: > > thanks for your contribution. Is there any other way

Re: sending email for unstable builds

2019-03-19 Thread Mark Lübbehüsen
script { currentBuild.result = currentBuild.result ?: 'FAILED' } Am Dienstag, 12. März 2019 23:31:43 UTC+1 schrieb Faad Sayaou: > > thanks for your contribution. Is there any other way of failing of failing > the pipeline when unit test stage is unstable? I have somethin

Re: Wrong output on .../job/*/maven

2019-03-19 Thread Aaron Digulla
Hi Cyrille, Thanks for the quick answer. My first reply somehow got swallowed. Hi Aaron, > > - Why do I sometimes get duplicate artifacts? They are not duplicated on >> disk. In the console log, I just see a single invocation of >> artifactsPublisher but sometimes, it reports the same artifact

Re: unreliable connection between Jenkins master and slaves

2019-03-19 Thread Mark Waite
Pipeline jobs already have that behavior. Pipeline durability settings allow the PIpeline job to continue running on a disconnected agent. On Tue, Mar 19, 2019 at 8:21 AM wrote: > Hi, > > I would like to ask whether there is a good solution for scenarios when > there is a bad connection between

unreliable connection between Jenkins master and slaves

2019-03-19 Thread Matevz . langus
Hi, I would like to ask whether there is a good solution for scenarios when there is a bad connection between master and slaves. I have a problem with long duration tasks where they last for long time. If network problem happens the task fails. It would be good enough for master to reconnect to

Using active choice reactive parameter in jenkinsfile

2019-03-19 Thread Faad Sayaou
Hi, I am using active choice reactive parameter and I would like to access the selected value from my jenkinsfile. Is that possible with this plugin ? I used active choices parameter as follows Name: select_ environment Groovy script : return [“dev”,”QA”,”prod”] Based on the selected environ

Re: unable to start jenkins after changing user to jenkins

2019-03-19 Thread denis mone
How did you install Jenkins in the first place. How do you start/stop it. Without this information it'd be difficult to help. On 3/19/19 2:10 PM, Turaco mobile wrote: Hi, Jenkins 2.167 running on centos 7. So for its running as root user. I changed to jenkins user at /etc/sysconfig/jenkins fi

Re: [EXTERNAL] - unable to start jenkins after changing user to jenkins

2019-03-19 Thread Dirk Heinrichs
Am Dienstag, den 19.03.2019, 17:40 +0530 schrieb Turaco mobile: /root This is root's $HOME where ordinary users don't have any permissions (and shouldn't have). You'll need to place this stuff elsewhere. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Disc

unable to start jenkins after changing user to jenkins

2019-03-19 Thread Turaco mobile
Hi, Jenkins 2.167 running on centos 7. So for its running as root user. I changed to jenkins user at /etc/sysconfig/jenkins file. I changed the file ownership at /var/lib/jenkins folder to jenkins;root. similarly /root/jenkins/build_scripts and /root/jenkins/workspace also changed the ownershipas j

Chained builds

2019-03-19 Thread Aaron Digulla
Hello, I'd like to set up chained builds. I understand chained builds as "multiple projects which depends on each other and where changes have been pushed to the same branch in each." The typical case here is the master branch. People supply features. Eventually, they are merged to the master