[workflow plugin] stage concurrency

2016-01-21 Thread Patrick Bruneton
Hi all, I tried a very simple workflow with a stage running a job, and concurrency set to 2: node('windows') { stage name: 'Build', concurrency: 2 build 'build' } I have allowed the job 'build' to have multiple runs in parallel (works fine if I trigger the jobs manually multiple times).

[workflow plugin] use case question

2016-01-21 Thread Patrick Bruneton
Hi all, I am trying to implement a use case with the workflow plugin. I have two jobs, say build & test, that I want to run inside a pipeline. Sounds easy. But I have a constraint:I want the two jobs to executed on the same slave. So I tried something like this: node('windows') { stage name:

Re: Send email with Expiration date from Jenkins

2016-01-21 Thread Sinai Rijkov
Hi. Thank you. added just one line to Pre-send Script and it worked for me: import jenkins.*; import hudson.model.*; import jenkins.model.*; *msg.setHeader('Expiry-Date', 'Fri, 22 Jan 2016 18:00:00 +0200');* *...* On Wednesday, January 20, 2016 at 2:44:32 PM UTC+2, slide wrote: > > The easie

"somecommand".execute()

2016-01-21 Thread Niksan
When running a process on a slave using execute system groovy, what's the correct way to syncronise so a wait() can be performed on the process? def proc = "dir".execute() synchronized (proc) { proc.consumeProcessOutput(out, out) proc.wait(); } this just waits forever and not synchronisin

Exception when I try to trigger buildflow job from workflow job

2016-01-21 Thread EK
Hi , I am facing the following error , we recently moved to workflow and when we try to run\trigger old build flow jobs from workflow jobs we get exception: Stacktrace of exception is as below , appreciate if anyone can help\advice on this and how we can overcome the issue ? Best Reg

Jenkins CI server with Unity / TFS VSO - First time user

2016-01-21 Thread mragon
Hi, I am trying to configure Jenkins as a CI server using Unity and TFS Visual Studio Online. This is my first time of trying to configure anything like this and was wondering if anyone could point me in the right direction? >From my attempts to far I don't seem to be able to authenticate with

Build not triggered when change is pushed to bitbucket

2016-01-21 Thread Rohit Sharma
Hello Everyone, I am using the jenkins version 1.625.3. And i am facing issues in integrating jenkins with bitbucket. What all i need to do is to trigger a job when a change is pushed to bitbucket. But unfortunately its not working and I am continuously getting the 500 error response code on we

Re: Build not triggered when change is pushed to bitbucket

2016-01-21 Thread Slide
Perhaps it would help if you gave some more information about your configuration, things you have tried, exact error messages, etc. Your request is somewhat lacking in that regard. On Thu, Jan 21, 2016, 08:44 Rohit Sharma wrote: > Hello Everyone, > > I am using the jenkins version 1.625.3. And i

Version Number Plugin does not work when job is running more then once

2016-01-21 Thread Andrew Novinger
I have a Jenkins job that is using the Version Number Plugin to change the build label in Jenkins to show the environment name and job number. This job is not throttle so it can run many times concurrently for different environments. The issue I am having is the first environment that is run, t

Re: [workflow plugin] use case question

2016-01-21 Thread Brian Ray
Can you just set the *Restrict where this project can be run* checkbox in conjunction with the *Label Expression* param on the two subjobs? On Thursday, January 21, 2016 at 2:16:39 AM UTC-8, Patrick Bruneton wrote: > > Hi all, > > I am trying to implement a use case with the workflow plugin. > I

Jenkins Upgrade Installation Constraints and Risks

2016-01-21 Thread Nia Hunter
Good morning, I have two basic questions. I am not sure if this is the correct group for these questions, if not please let me know where to pose these questions. We are using Jenkins as a stand-alone application on our UNIX server. 1. Other than Java 7 and above, are there any System Requireme

Re: How to configure Maven Installation via Groovy

2016-01-21 Thread Антон Юшков
Useful for me: import jenkins.model.* a=Jenkins.instance.getExtensionList(hudson.tasks.Maven.DescriptorImpl.class )[0]; b=(a.installations as List); b.add(new hudson.tasks.Maven.MavenInstallation("MAVEN", "/usr/local/maven", [])); a.installations=b a.save() On Friday, January 9, 2015 at 2:08:1

Re: [workflow plugin] use case question

2016-01-21 Thread Patrick Bruneton
No because I would have to restrict the jobs on a particular slaves. I have many windows slaves. If job 'build' gets executed on windows-slave-1 I want the 'test' to be executed on the same slave (and be executed immediately) Le jeudi 21 janvier 2016 17:21:33 UTC+1, Brian Ray a écrit : > > Can yo

[theme] New Jenkins Material Design Theme

2016-01-21 Thread Afonso F
Hi guys, I created a Jenkins theme based on Google Material Design. It changes the layout and icons using SVG ones. Take a look! http://afonsof.com/jenkins-material-theme/

Re: [theme] New Jenkins Material Design Theme

2016-01-21 Thread Slide
I really like this theme, nice work! On Thu, Jan 21, 2016 at 10:17 AM Afonso F wrote: > Hi guys, > > I created a Jenkins theme based on Google Material Design. It changes the > layout and icons using SVG ones. Take a look! > > http://afonsof.com/jenkins-material-theme/ > > >

Re: [workflow plugin] stage concurrency

2016-01-21 Thread R. Tyler Croy
(replies inline) On Thu, 21 Jan 2016, Patrick Bruneton wrote: > Hi all, > > I tried a very simple workflow with a stage running a job, and concurrency > set to 2: > > node('windows') { >stage name: 'Build', concurrency: 2 >build 'build' > } > > > I have allowed the job 'build' to hav

Re: [workflow plugin] use case question

2016-01-21 Thread Eric Pyle
I think you would need the NodeLabel Parameter Plugin. And as Craig Rodrigues recently posted, that plugin is not yet compatible with Workflow, although he has proposed a fix: == *Re: [workflow-plugin] Example using NodeLabel Parameter plugin?* It turns out that the NodeLabel Parameter

WARNING: Caught exception evaluating: h.getRelativeLinkTo(job)

2016-01-21 Thread SamL
Hello Folks getting the following warning each time I open a job configuration: Core 1.6.25.1 OS: Ubuntu 14.04 WARNING: Caught exception evaluating: h.getRelativeLinkTo(job) in /view/M2/job/WAPI_GenerateBranchInfo/configure. Reason: java.lang.NullPointerException java.lang.NullPointerExceptio

Re: LDAP Read Timeouts

2016-01-21 Thread Ashish Yadav
Any idea what could be causing these 3 different LDAP errors? Error 1: org.acegisecurity.ldap.LdapDataAccessException: LdapCallback;LDAP response read timed out, timeout used:6ms.; nested exception is javax.naming.NamingException: LDAP response read timed out, timeout used:6ms.; remaini

Re: [workflow plugin] use case question

2016-01-21 Thread Craig Rodrigues
Hi, Node Label Parameter Plugin version 1.7.1 and higher has my fix and now works with Workflow. -- Craig On Thursday, January 21, 2016, Eric Pyle wrote: > I think you would need the NodeLabel Parameter Plugin. And as Craig > Rodrigues recently posted, that plugin is not yet compatible with Wo

AWS ECS Plugin

2016-01-21 Thread Brandon Wagner
I'm trying to use the Jenkins AWS EC2 Container Service (ECS) plugin to deploy Jenkins Slave Containers for builds. I have an ECS cluster setup, and I have it configured in my Jenkins Configuration. Everything appears to be good until I try to build a job, restricting to the ecs cloud label I s

git-plugin test cases running 5+ minutes

2016-01-21 Thread Michael Giroux
I'm attempting to build git-plugin and find that the test cases are taking a very long time. Several of the tests are running 270+ seconds. Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 270.683 sec - in hudson.plugins.git.CliGitSCMTriggerRemotePollTest Tests run: 20, Failure

Re: git-plugin test cases running 5+ minutes

2016-01-21 Thread Mark Waite
Those are the tests as they currently exist in the git plugin. I generally find that the git plugin tests need 15-20 minutes to run on an SSD equipped Linux machine. Windows machines with an SSD generally need 20-30 minutes to run all the tests. I've generally accepted slower development in hope

RE: Build not triggered when change is pushed to bitbucket

2016-01-21 Thread Vladimir Zak
Hello, I use the mask plugin and standard mercurial plugin for bitbucket. Polling is working without any problem. I do not use webhook, it is not necessary. But maybe your problem could be in proxy if you are behind it. If yes, I would suggest to add proxy to the connection of hg. Here is my s