Re: Pipeline powershell

2017-07-04 Thread jerome
I'm not alone into this situation and this have been a problems for many times for some: - https://issues.jenkins-ci.org/browse/JENKINS-28759 - https://issues.jenkins-ci.org/browse/JENKINS-33164 - https://issues.jenkins-ci.org/browse/JENKINS-42988 And I probably miss some other,

Re: Pipeline powershell

2017-07-04 Thread Slide
There are many many people using Jenkins with no issues, so perhaps you could give some more information to help solve your problem rather than just leaving for something else. On Tue, Jul 4, 2017 at 6:05 AM Jérôme Godbout wrote: > Not even 3 triggered build did terminate,

Re: Project restriction | Slave level configuration - instead project level

2017-07-04 Thread Mark Waite
The configuration slicing plugin may allow you to assign labels to many jobs at the same time. If you have jobs that are blocked due to insufficient number of agents, isn't one solution to get more agents? Mark Waite On Tue, Jul 4, 2017 at 7:43 AM LnT wrote: > Hi, > >

Project restriction | Slave level configuration - instead project level

2017-07-04 Thread LnT
Hi, Help is needed w.r.t Jenkins Projects and slave nodes. My Jenkins ver. 1.580 , setup includes 300+ projects 15 slaves nodes. (each nodes is one Windows VM) I made two slaved nodes off-line for R Now no job is going to these off-line slave nodes and couple of jobs waiting period is high

Re: Jenkins - unexpected EOF while looking for matching `"' Build step 'Execute shell' marked build as failure

2017-07-04 Thread Mark Waite
The git bash shell installed on Windows is not supported (or tested) as a Jenkins global configuration shell. Jenkins in general assumes that the term "shell" is used on Unix-like environments (Linux, FreeBSD, OpenBSD, Solaris, HP-UX, etc.), not on Windows. Windows environments should use the

Re: vSphere Cloud Plugin - does it work ?

2017-07-04 Thread John Mellor
I take a snapshot as the pristine image, and for convenience make it the same name on all nodes. Then I configure a build cloud for the vsphere cloud instance (I use 3 for various purposes) and then configure a new node running as a slave computer running under your new vsphere cloud (instead

Re: Jenkins stopped working

2017-07-04 Thread Mark Waite
I would guess that your OAuth provider has changed somehow and is now returning something which Jenkins does not expect. Mark Waite On Tue, Jul 4, 2017 at 6:16 AM Ruchir Brahmbhatt < ruchir.brahmbh...@gmail.com> wrote: > Today suddenly jenkins stopped working, throwing below error. I updated >

Jenkins - unexpected EOF while looking for matching `"' Build step 'Execute shell' marked build as failure

2017-07-04 Thread 江南
favorite I have specified C:\Program Files\Git\bin\sh.exe in the Jenkins Global Configuration Shell. And following is my command to run the cucumber feature pwd cd

Re: Pipeline powershell

2017-07-04 Thread Jérôme Godbout
Not even 3 triggered build did terminate, it's still hanging itself. So the powershell is no better then batch into this regard. This is getting ridiculous, a CI system who hang is worthless. I guess it's time to find an alternative. [image: bodycad] Jerome Godbout

Jenkins stopped working

2017-07-04 Thread Ruchir Brahmbhatt
Today suddenly jenkins stopped working, throwing below error. I updated jenkins to latest version but that doesn't help. Stack trace java.lang.IllegalArgumentException: Cannot get String from a null object at org.scribe.utils.Preconditions.check(Preconditions.java:82) at

Re: run jar in jenkins job

2017-07-04 Thread Sumitha Arjunan
Thank you for the response. Its a spring boot application. After removing the timeout plugin, the job doesn't end even after starting the application. How to run the spring boot application in jenkins job? Please advice. On Tuesday, July 4, 2017 at 7:11:00 AM UTC-4, Richard Bywater wrote: > >

Re: run jar in jenkins job

2017-07-04 Thread Richard Bywater
What does 'demo.jar' actually do? It looks like you've got a build timeout plugin installed which times the build out after 5 minutes which seems to imply that the execution of the JAR hasn't returned in that time period. Richard. On Tue, 4 Jul 2017 at 23:04 Sumitha Arjunan

run jar in jenkins job

2017-07-04 Thread Sumitha Arjunan
I am new to jenkins. I have created a jar after the build process in jenkins job. If I run the jar through command line, the application is up and running fine. When I try to run the jar in jenkins job, using below windows batch command java -jar demo.jar Getting error; 05:29:36

Re: Can I use the multibranch pipeline plugin that interacts with a user at a stage

2017-07-04 Thread paul b
Yeah. Thats right. Not tied to using that though. Not sure why I need to push to using it yet though. pipeline { agent any parameters { choice(choices: 'SIT\nUAT', description: 'What environment?', name: 'environment') } tools { maven 'maven 3.3.9'

Re: Can I use the multibranch pipeline plugin that interacts with a user at a stage

2017-07-04 Thread Michael Pailloncy
It seems like you are using the Declarative way to write your pipeline right ? Can you share the full script please. I guess that you are allocating an agent at the top level. 2017-07-04 11:06 GMT+02:00 paul b : > Brill. I have managed to get that to work. I have the

Re: Jenkins supported branch

2017-07-04 Thread Paolo Franchini
I will backup all the stuff and do and yum install of the new rpm, cheers, Paolo Il giorno lunedì 3 luglio 2017 20:28:59 UTC+1, Daniel Beck ha scritto: > > > > On 3. Jul 2017, at 16:32, Paolo Franchini > wrote: > > > > should I do a fresh new installation or is

Re: [blueocean] multi-platform builds with multi-stage completely parallel tracks

2017-07-04 Thread leandro . lucarella
On Tuesday, 4 July 2017 10:50:09 UTC+2, leandro@sociomantic.com wrote: > > > On Tuesday, 4 July 2017 06:43:58 UTC+2, mpapo - Michael Pailloncy wrote: >> >> As far as I know, *stage* blocks inside parallel tasks are deprecated => >> see >>

Re: Can I use the multibranch pipeline plugin that interacts with a user at a stage

2017-07-04 Thread paul b
Brill. I have managed to get that to work. I have the following stage stage ('test') { steps { echo 'test it.' input 'Ready to go?' } } The problem we have now is that the build consumes one of the executors. I guess I can farm that off somehow??? On Tuesday, 4 July 2017

Re: [blueocean] multi-platform builds with multi-stage completely parallel tracks

2017-07-04 Thread James Dumay
Not at the moment, no. Sorry On Tue, 4 Jul 2017 at 6:52 pm, wrote: > On Tuesday, 4 July 2017 08:57:23 UTC+2, James Dumay wrote: >> >> Michael's solution is probably the closest to that for the time being. We >> are looking at adding a "matrix" style pipeline

Re: [blueocean] multi-platform builds with multi-stage completely parallel tracks

2017-07-04 Thread leandro . lucarella
On Tuesday, 4 July 2017 08:57:23 UTC+2, James Dumay wrote: > > Michael's solution is probably the closest to that for the time being. We > are looking at adding a "matrix" style pipeline capability to Declarative > and Blue Ocean in the future. Watch and vote for JENKINS-40986 >

Re: [blueocean] multi-platform builds with multi-stage completely parallel tracks

2017-07-04 Thread leandro . lucarella
On Tuesday, 4 July 2017 06:43:58 UTC+2, mpapo - Michael Pailloncy wrote: > > As far as I know, *stage* blocks inside parallel tasks are deprecated => > see > https://github.com/jenkinsci/pipeline-examples/blob/master/docs/BEST_PRACTICES.md#parallelism > > Have you tried something like : > >

Re: Can I use the multibranch pipeline plugin that interacts with a user at a stage

2017-07-04 Thread paul b
Brill. Thanks. I will look into it. On Tuesday, 4 July 2017 08:59:13 UTC+1, mpapo - Michael Pailloncy wrote: > > Yeah, seems like you want to use the *input* step (interaction through > Jenkins) : https://jenkins.io/doc/pipeline/steps/pipeline-input-step/ > You can find a simple example here

Re: Can I use the multibranch pipeline plugin that interacts with a user at a stage

2017-07-04 Thread Michael Pailloncy
Yeah, seems like you want to use the *input* step (interaction through Jenkins) : https://jenkins.io/doc/pipeline/steps/pipeline-input-step/ You can find a simple example here with some explanations :

Can I use the multibranch pipeline plugin that interacts with a user at a stage

2017-07-04 Thread paul b
I would like to use the multibranch pipeline plugin and wondered if it can be configured such that when it gets to a stage, lets says deploying to environment, it then interacts with a user. That interaction being a through the jenkins, email or even jira! Then after the user interaction

Re: [blueocean] multi-platform builds with multi-stage completely parallel tracks

2017-07-04 Thread James Dumay
Michael's solution is probably the closest to that for the time being. We are looking at adding a "matrix" style pipeline capability to Declarative and Blue Ocean in the future. Watch and vote for JENKINS-40986 On Tuesday, July 4, 2017 at