Re: Pipeline Multi-branch different options based on branch

2016-05-12 Thread Richard Bywater
Haven't done it myself but there is the different Property Strategy in the multibranch config of "Named branches get different properties" - so presumably you could set (or unset) a property for certain branches and drive the decision to deploy off of that? Richard. On Fri, 13 May 2016 at 11:24

Pipeline Multi-branch different options based on branch

2016-05-12 Thread Mike Caspar
I am working on a pipeline that does Test/Deploy after a commit. That's all cool! HoweverWhen I create a branch (for a new feature), and it gets auto-launched as a new build pipeline, how do I prevent the same Jenkinsfile from initiating the Deploy step, since it's the same Jeniinsfile ?

how to declare a Pipeline global var with named parameter

2016-05-12 Thread Nicolas Geraud
Hi, I want to provide a global var on my brand new jenkins2 here is my function // workflowLibs/vars/mavenBuild def call(def url=null, def branch=null, def mvnArgs=["-U", "clean", "deploy"]) { boolean defaultScm = ( url == null || branch == null ) node { stage "Checkout"

Is `concurrency: 1` on a stage in multibranch pipeline build supposed to apply to all branches for that build?

2016-05-12 Thread David
I have a Jenkinsfile in my repo, and one of the stages uses resources shared across every branch, but I need to limit it to only one build at a time. It seems that if two branches are being built simultaneously, they don't respect the concurrency parameter and end up using the shared resource

Polling without workspace failed to wake up offline slave node

2016-05-12 Thread Jinny Pan
Hi all, I have a build job having a scheduled polling. It is configured to build on a slave node. The node's availability is set as "Take this slave on-line when in demand and off-line when idle". Ideally, whenever new code come in, the polling would trigger a new build, the new build will

Git | merge two branches in third branch | Debian | git-buildpackage

2016-05-12 Thread Denny Fuchs
hi, I want to build Debian packages with git-buildpackage and learned a lot the last days, to manage Debian sources with Git. My project has three branches: master -> project sources debian -> all debian/ related files release -> merge from master and debian So my actual workflow is: 1.

Windows EC2 as a Jenkins Slave

2016-05-12 Thread alwaysonnet
I have setup EC2 instance with Windows as a Jenkins Slave. I have configured GIT and trying to build the code using MSBUILD. Unfortunately, GIT commands are failing with the following error *fatal: protocol error: bad line length character: No s* *Questions:* 1/ Do I need to create a jenkins

Re: Jenkins using a lot more resources after upgrade

2016-05-12 Thread Raymond Accary
Hi, If it helps, you might avoid the crash by installing the monitoring plugin, and triggering garbage collection once the memory is approaching the maximum allocated heap size. This is a workaround until someone is able to diagnose the root cause. I have an open issue :

Jenkins behind AWS Load balancer -

2016-05-12 Thread asaf shabat
Hello everyone, I have windows 2012 R2 x64 with Jenkins instance installed. The load balancer of AWS points to Jenkins server. I receive the following error when I open the manage tab: "reverse proxy setup is broken". I know how to do it in linux under Nginx, but I don't know how to do it in

Re: Failed to connect to repository : Remote host closed connection during handshake

2016-05-12 Thread Sharon Francis
Din find a solution yet... if anyone finds plz update it here. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To

Re: $MVN_RELEASE_VERSION missing after Upgrade to Jenkins 2

2016-05-12 Thread Daniel Hiller
One more thing I forgot: I'm using this env var in an "Execute Shell" Post Step, where it is read from within the executed script, perhaps that's the problem? Am Donnerstag, 12. Mai 2016 17:21:48 UTC+2 schrieb Daniel Hiller: > > Hi all, > > I've made the step to upgrading our jenkins server

RE: $MVN_RELEASE_VERSION missing after Upgrade to Jenkins 2

2016-05-12 Thread Matthew.Webber
Set `-Dhudson.model.ParametersAction.keepUndefinedParameters`=true to allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach

Re: $MVN_RELEASE_VERSION missing after Upgrade to Jenkins 2

2016-05-12 Thread Daniel Hiller
Hi again, just found this JIRA issue: https://issues.jenkins-ci.org/browse/JENKINS-12128 There it is clearly stated that these variables are exposed. Now I don't understand what I have to change to be able to access them again? Regards, Daniel Am Donnerstag, 12. Mai 2016 17:21:48 UTC+2

Re: how can we use artifacts from the job running on the another jenkins machine ?

2016-05-12 Thread Ganesh Kumbhar
Okayy .. I will try you suggestions Thanks a lot Daniel & iosif .. Good day! On Thu, May 12, 2016 at 4:09 PM, iosif neitzke < iosif.neitzke+jenk...@gmail.com> wrote: > On Windows without Copy Artifact plugin or curl, we use > lwp-download,which is a wrapper tool around Perl, provided by >

Re: Jenkins using a lot more resources after upgrade

2016-05-12 Thread Ugo Bellavance
On Thursday, May 12, 2016 at 4:31:37 AM UTC-4, Stephen Connolly wrote: > > I am suspecting JENKINS-34213 may be your issue. > I have new information. We installed the monitoring plugin and I started using VisualVM. I can see that, while I use -Xmx10752m, it only uses a little less than 8

Re: jenkins pipeline plugin and sh inside a container

2016-05-12 Thread Ludovic SMADJA
Thanks for your answer, but that doesn't solve the problem. After days of search, I was preparing a issue for jenkins team and I've created a simple test case with an ubuntu image. At this moment, great surprise, I cannot reproduce the problem in my test case. Some investigation later, my

Re: Building jenkins RPMs

2016-05-12 Thread Daniel Beck
> On 12.05.2016, at 16:19, Ian Duffy wrote: > > I'm struggling to find the rpm spec file that is used to generate the RPMs > supplied on the jenkins website. > > Can anyone point me to where I can find these? > https://github.com/jenkinsci/packaging/tree/master/rpm/build

Building jenkins RPMs

2016-05-12 Thread Ian Duffy
Hi All, I'm struggling to find the rpm spec file that is used to generate the RPMs supplied on the jenkins website. Can anyone point me to where I can find these? Thanks, Ian. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe

Re: how can we use artifacts from the job running on the another jenkins machine ?

2016-05-12 Thread iosif neitzke
On Windows without Copy Artifact plugin or curl, we use lwp-download,which is a wrapper tool around Perl, provided by ActivePerl, to download artifacts from job to job. Powershell having a similar option sounds familiar too. On Thu, May 12, 2016 at 9:05 AM, Daniel Beck wrote:

Re: how can we use artifacts from the job running on the another jenkins machine ?

2016-05-12 Thread Daniel Beck
> On 12.05.2016, at 15:20, Ganesh Kumbhar wrote: > > 1. If I'm not wrong these are Unix/Linux CLI's and my Jenkins is wjndows .. > can I use the same here ? Just find a tool that does something similar on Windows. I think PowerShell allows doing this as well. > 2. if

Re: how can we use artifacts from the job running on the another jenkins machine ?

2016-05-12 Thread Ganesh Kumbhar
Hello Daniel, Thanks for your reply. have got few doubts : 1. If I'm not wrong these are Unix/Linux CLI's and my Jenkins is wjndows .. can I use the same here ? 2. if possible can you pls share some example or some more details about it, like is it simple CLI that we can call through batch or

RE: Upgrade to Jenkins 2 failed

2016-05-12 Thread David Aldrich
Hi Daniel > My guess is that your service config file defines an AJP port, which causes > startup to fail. See the 2.0 changelog. Thanks, I think you are correct: SEVERE: Container startup failed java.io.IOException: Failed to start a listener: winstone.Ajp13ConnectorFactory at

Re: Failed to connect to repository : Remote host closed connection during handshake

2016-05-12 Thread Aron Yu
Did you find any resolution this? On Wednesday, December 9, 2015 at 11:52:08 AM UTC+1, Sharon Francis wrote: > > Tried hard. Still not working . > > On 9 December 2015 at 10:05, Slide > wrote: > >> Looks like the permissions on /var/lib/jenkins/.ssh/config are too open, >>

Integrate Jenkins and RQM plugin

2016-05-12 Thread Humayun Malik
Hi, I want to ask a question related to Jenkins RQM plugin. I have configured all the steps but still when we request a build it doesn't fetch any test cases (can be seen in build console window). Can someone please help? Thanks -- You received this message because you are subscribed

Upgrade to Jenkins 2 failed

2016-05-12 Thread David Aldrich
Hi I have tried to upgrade our Jenkins test server from 1.656 to 2.3 by copying the 2.3 war to: /usr/lib/jenkins/ and restarting Jenkins using: sudo /etc/init.d/jenkins restart Now I cannot connect to Jenkins: "This site can't be reached jenkinstest. refused to connect." Any suggestions

Gitlab Hook Plugin - detailed job configuration

2016-05-12 Thread Raimund Klein
Hello everyone, We recently configured out Gitlab Hook Plugin such that it will create new Jenkins jobs when someone pushes to a new branch. Nice feature! :-) I'm just wondering if and how we can tune the job autocreation in such a way that the new job will do "everything the original job does

SVN "Get Lock" property & it's read-only attribute to file causes issue when building with Jenkins

2016-05-12 Thread Ajay
Hi, I have just started to work with Jenkins for one of my LabVIEW projects. I use SVN with "Needs-Lock" property for all projects which essentially changes the file attribute to read-only until the developer gets the lock. When I build using Jenkins, it gets the recent copy of the repo to

Re: Jenkins using a lot more resources after upgrade

2016-05-12 Thread Stephen Connolly
I am suspecting JENKINS-34213 may be your issue. On 11 May 2016 at 18:18, Ugo Bellavance wrote: > > > On Wednesday, May 11, 2016 at 12:32:59 PM UTC-4, John Mellor wrote: >> >> Yeah, I’m seeing that too, and I am also running Jenkins 1.656 version. >> I’m only running about 400