Pipeline build fails intermittently

2017-01-13 Thread Sam K
Hi I have a weird issue. This sort of error happens once a week or once in 10 days. I have no idea how to diagnose this. I cannot reproduce this either. When i run the next build, it just works. Has anyone else seen this type of issue and know a way to fix this? Jenkins version: 2.25

Re: Throttling editable email notifications

2017-01-13 Thread Slide
There isn't a way to do that in the plugin itself, but you may be able to do something with a pre-send script to check the last failure time before sending an email. You can cancel the sending of the email by setting cancel=true in the pre-send script. On Fri, Jan 13, 2017, 10:34 Mark Sinclair

Re: Maven Release Plugin Configuration issue?

2017-01-13 Thread Indra Gunawan (ingunawa)
Look up your component pom.xml, or parent pom if the maven-release-plugin is defined with dependency on SVN related plugin like “com.google.code.maven-scm-provider-svnjava” From: on behalf of Yaron Benjamin Reply-To:

Maven Release Plugin Configuration issue?

2017-01-13 Thread Yaron Benjamin
Hello All, I am having an issue trying to get my Jenkins job to use the Maven Release Plugin Plugin (M2 Release Plugin). When I run the job I get the following: [INFO] [INFO] BUILD FAILURE [INFO]

Re: Docker-compose plugins

2017-01-13 Thread Indra Gunawan (ingunawa)
StackOverflow is your friend. http://stackoverflow.com/questions/37214628/does-jenkins-pipeline-plug-in-support-docker-compose You can simply run it with sh to run “docker compose” in the integration test as referred in the answer:

Docker-compose plugins

2017-01-13 Thread pragya . mehta15
Hi, I am looking for jenkins plugins that run docker-compose commands, specially docker-compose build. I couldn't find any and I am wondering if anyone is building these? Thanks! -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe

Re: Why I get this java.io.NotSerializableException error

2017-01-13 Thread Indra Gunawan (ingunawa)
Add @NonCPS to “giveMeTest()”: @NonCPS def giveMeTest() { } On 1/13/17, 7:00 AM, "jenkinsci-users@googlegroups.com on behalf of Kristian" wrote: Hi, I am just trying to create a jenkins pipeline library

Throttling editable email notifications

2017-01-13 Thread Mark Sinclair
I use the editable email plugin to send mail on any status change. The problem is that some jobs may go into the fail state and get forgotten, so I want to send additional mails for failing jobs. I could use failure - any to send mail for every failure, but for some jobs that's sending too

Why I get this java.io.NotSerializableException error

2017-01-13 Thread Kristian
Hi, I am just trying to create a jenkins pipeline library and I just started with a small test script (test.groovy): /// package com.somescripts.groovy; class test{ def giveMeTest() { println "giveMeTest tested successfully :)" } }

Java Developer with Angular JS @ Bothell,WA

2017-01-13 Thread govind ramanujam
Hi Hope you are doing great. Please go through the below Job Description, if you are comfortable please send me your updated resume along with contact details to *govind_ramanu...@visionisys.com * *Role : Java Front End Developer* *Location : Bothell, WA*

Re: [Declarative Pipeline] Cant use 'path' as parameter name

2017-01-13 Thread Daniel Beck
You're overriding the PATH environment variable. Don't do that. Same with 'User', 'Home', and a few other parameter names you could think of. (Yes, it should be case sensitive, but Jenkins doesn't treat it as such internally.) > On 13.01.2017, at 07:38, Dan Tran wrote: > >

Re: Pipeline with notifyCommit

2017-01-13 Thread alexander . ites
Hello! Did you manage to get notifyCommit to work while using Pipeline script? I tried some variants (including different pipeline git & checkout steps with/without 'credentialsId', 'poll', 'branch' parameters supplied and with/without UI-setting PollSCM enabled) without any success. For now I

RE: Unexpected workspace cleanup caused job to fail

2017-01-13 Thread David Aldrich
Hi Matthew Yes that looks related. I will add a comment there. Thanks David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of matthew.web...@diamond.ac.uk Sent: 13 January 2017 11:18 To: jenkinsci-users@googlegroups.com Subject: RE: Unexpected

RE: Unexpected workspace cleanup caused job to fail

2017-01-13 Thread Matthew.Webber
Could this be related to https://issues.jenkins-ci.org/browse/JENKINS-27329? Matthew >> Last night one of our regression tests failed part way through because its >> workspace was spontaneously deleted. The system log shows that ‘Workspace >> clean-up’ happened at the time of the failure: --

Unexpected workspace cleanup caused job to fail

2017-01-13 Thread David Aldrich
Hi Last night one of our regression tests failed part way through because its workspace was spontaneously deleted. The system log shows that 'Workspace clean-up' happened at the time of the failure: Jan 12, 2017 9:00:00 PM INFO hudson.triggers.SCMTrigger$Runner run SCM changes detected in

Re: Scripting installation of JDK

2017-01-13 Thread Mark Waite
Jenkins provides automated tool installation for agents (including the master). I use automated installation of JDK 6, JDK 7, JDK 8, Ant, Maven, and CMake as part of my Docker instance. It is a derivative of the Jenkins docker instance if you'd like to see a system which is already configured

Re: Scripting installation of JDK

2017-01-13 Thread Nick Stolwijk
I would say: https://hub.docker.com/_/jenkins/ Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Fri, Jan

Re: Way to trigger another build on "Keep this build forever"?

2017-01-13 Thread 'Björn Pedersen' via Jenkins Users
Hi, this seems like a perfect match for the promoted build plugin (instead of marking 'keep forever' manually, just promote the build and have a groovy build step set the keep flag in addtion to the archiving.) Björn Am