Multiple multibranch pipeline builds from a single repo

2016-04-12 Thread mark.gaylard via Jenkins Users
We are about to switch our CI builds to jenkins and I would like to make use of the multibranch builds but we have multiple projects in a single repo which (as far as I can tell) won't work with the multibranch stuff as we would need a Jenkinsfile per project, not one for the whole repo. Our

Re: Jenkinsfile Pipeline Language Complete Reference

2016-04-12 Thread Kohsuke Kawaguchi
And now it's also available here: https://jenkins.io/doc/pipeline/steps/ 2016-04-11 11:53 GMT-07:00 Matt Friedman : > Ok, interesting, I didn't see that for mine. I will look at it more > closely. > > > On Mon, Apr 11, 2016 at 2:43 PM Craig Rodrigues

Re: aborting the build not working

2016-04-12 Thread Eric Pyle
The build timeout plugin only looks at the time taken by the "Build Steps". So if it takes 3 minutes to check out code from your repository, that would not be included. Or if it takes 10 minutes to archive the artifacts, that's not counted either because it's post-build. The timestamps plugin can

How can I react to a build failure in pipeline?

2016-04-12 Thread Scott Richmond
I need to be able to do a HTTP POST when the Jenkins Pipeline job finishes in failure due to some issue in the process of doing its tasks. Basically I need to surround the pipeline in a giant try-catch{}. Does pipeline provide functionality to perform final tasks in the event of a failure? --

aborting the build not working

2016-04-12 Thread Hector Magnanao
I'm trying to use the abort build if it's stuck option in the build section of my Jenkins job. I set the 'Time out Strategy' to 'Absolute' and I set the timeout option to 5 minutes for a job that I know takes more than 5 minutes. And I set the action to Abort the Build. And my job goes past

Re: SSH vs java web start for windows slave and Linux master in jenkins

2016-04-12 Thread Wei-min Lee
Another interesting bit of info which I didn't notice until now. Even getting the JNLP slave to run as a Windows service requires .Net 3.5, (https://wiki.jenkins-ci.org/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machines). On Tuesday, April 12, 2016 at 12:58:12 AM UTC-7,

Re: build timeout but 'send email' instead of 'abort build'?

2016-04-12 Thread Victor Martinez
In addition of that plugin you can use https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin and send an email when that particular build has been aborted Cheers On Tuesday, 12 April 2016 19:06:44 UTC+1, John Popowitch wrote: > > Is there a way to send an email if a build takes too

Re: Preventing jobs from executing

2016-04-12 Thread Victor Martinez
https://wiki.jenkins-ci.org/display/JENKINS/Build+Blocker+Plugin might help you On Tuesday, 12 April 2016 19:51:34 UTC+1, Hector Magnanao wrote: > > Is there a way in Jenkins to prevent jobs from executing if a another job > that it is not dependent on is already running ? I didn't see any

Preventing jobs from executing

2016-04-12 Thread Hector Magnanao
Is there a way in Jenkins to prevent jobs from executing if a another job that it is not dependent on is already running ? I didn't see any options like that in the build section. in other words, I want to hold a job from running while another job that it is not dependent on is already

build timeout but 'send email' instead of 'abort build'?

2016-04-12 Thread John Popowitch
Is there a way to send an email if a build takes too long, like build timeout plugin but 'send email' vs. 'abort build'? We'd like to monitor our builds and send an email to an admin or list of admins if a build or build step takes too long (preferably a configurable value per build and/or

Re: Jenkins 2.0RC windows Batch file fail

2016-04-12 Thread Daniel Daugherty
Issue created and band-aid pull request submitted. As stated in the pull request while troubleshooting the issue reverting a change in how Jenkins logs batch command output back to older code allows code to function as expected. I have the example job in the bug running one a min for 3+ hours

Re: Calling a job from another Jenkins job with Parameters

2016-04-12 Thread Hector Magnanao
Thanks. I was able to find what I needed by digging around the interface. On Thursday, April 7, 2016 at 4:39:59 PM UTC-5, Victor Martinez wrote: > > What error? What setup? What plugins? > If you need to setup those parameters, have you tried >

Re: Jenkins default update center

2016-04-12 Thread Mark Eggers
No, I removed it via Manage UpdateSites. Oddly enough, just disabling it did not actually disable it. The update site was still checked as evidenced by the time stamp on the file in $JENKINS_HOME/updates. /mde/ On Monday, April 11, 2016 at 4:40:06 PM UTC-7, Daniel Beck wrote: > > > On

Re: Amazon ECR Plugin not providing credentials for Docker Build & Push Plugin

2016-04-12 Thread A. Best
Nicolas, Thanks for the response. Yes, I did select amazon credentials, as those are the only credentials I have setup on this instance. In this particular case I was doing a variation of the a Jenkins-Amazon build pipeline

Jenkins as build , deploy machine and windows 7 as a selenium driver test slave machine

2016-04-12 Thread Antonio Hernandez
Hi then, I have an issue with my jenkins configuration, it's all set up as this: Linux master machine compile, build and deploy all my source code in a tomcat countainer, works fine! Windows 7 machine that i'm sending this: --- cmd.exe cd C:\Local_path\ Run_param.bat

Re: Several issues with BitBucket multi-branch pipeline configuration

2016-04-12 Thread Wład Rożkow
Okay, so far my problem was that I not reading docs :) In Jekinsfile for multi-branch project as mentioned in https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md#creating-multibranch-projects you should always add checkout scm command. 403 error is a Jenkins bug I believe,

Re: InfluxDb Jenkins Plugin

2016-04-12 Thread Victor Martinez
AFAIS, It has been renamed as https://github.com/jenkinsci/graphite-plugin , as you can see that in the forked from On Tuesday, 12 April 2016 03:09:38 UTC+1, Kamal Ahmed wrote: > > Where can i find the hpi for InfluxDb Jenkins Plugin > > I found the source @ >

Jenkins job's step name?

2016-04-12 Thread SKP
Hi, is there any plugin available for Jenkins to set the name of the job steps? For example let I want to copy some file for two different folder (A and B) and to a single target folder (C) and I want to have two copy step with name "copy from A" and "Copy from B". Please help me to define a

Re: How to change the folder name of each build?

2016-04-12 Thread thomas . lehmann
I don't get currently why you need to change that since build number and build date are displayed in the Jenkins build history. If you need further information like which component and which version has been built on a concrete build number then you might look for this:

How to change the folder name of each build?

2016-04-12 Thread Franz Sarmiento
Hello! So I know how to edit the build display name that gets displayed via the Jenkins build history, but I'm confused how to edit the name of the folder of the build itself? For example, if I have a build #30, the directory is also called "30". I want to modify this to be dates instead, is

Several issues with BitBucket multi-branch pipeline configuration

2016-04-12 Thread Wład Rożkow
Hey all, we've recently started to moving our CI/CD to Jenkins and I'm stuck now with several issues. First, I give you a bit of background: 1. We're using BitBucket cloud 2. We're using feature-branches workflow, so we have like 5-10 new branches every day and same amount of PR's

JUnit Plugin -- test result aggregation for multiple machines

2016-04-12 Thread Kishore RP
Can the JUnit plugin differentiate test results between two different slave machines, the classname in testsuite is the same across machines but the hostname and results are different for each slave machine should the class name have the slave names? Is there any other plugin which will

Re: SSH vs java web start for windows slave and Linux master in jenkins

2016-04-12 Thread Wei-min Lee
These instructions (https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+as+a+Windows+service#InstallingJenkinsasaWindowsservice-InstallSlaveasaWindowsservice%28require.NET2.0framework%29) specify .Net 2.0. On my Windows 2012 VM with only .Net 4, I couldn't get the slave service to

Re: Even after stopping windows JNLP slave agent service, slave(node) is connected to master node, How and Why?

2016-04-12 Thread Swapnil Kotwal
Any Updates on it Please ? On Tuesday, 5 April 2016 11:26:46 UTC+5:30, Swapnil Kotwal wrote: > > Hey Guys, > > We have a Jenkins ver. 1.652 version installed > and automatic JNLP slave agent service was down still that node was > connected. > > Is this enhancement