[Active Choices Plugin] How to use the Jenkins Build object jenkinsBuild to get Environment Variables

2015-08-11 Thread mr
Hi everybody! I need an example that will show how to use the Jenkins Build object "jenkinsBuild" to get Environment Variables within an Active Choices Reactive Parameters. Thanks in advance for any help! -- You received this message because you are subscribed to the Google Groups "Jenkins U

pipeline plugin and avoiding concurrent builds

2015-08-11 Thread Erwan de Ferrières
Hi all, i'm facing an issue with my pipeline configuration: i just want one pipeline running at a time. The steps are : DB creation, build, unit tests, deploy then drop DB. So I don't want any other pipelines running until the running one is finished. Is there a way to implement that ? Or am I u

Jenkins won't start

2015-08-11 Thread Kevin Bond
Hello, I just upgraded to 1.624 and now Jenkins won't start - it is stuck at "Please wait while Jenkins is getting ready to work" indefinitely. Here is a thread dump: https://gist.github.com/kbond/b673d053666c39233d6d Can anyone help? Thanks, Kevin -- You received this message because you are

Re: Chicken-Egg issue with job references in Build Flow

2015-08-11 Thread Adam Daughterson
Ha, it appears that I needed a proper exception handler downstream. Thanks for the suggestion! -- 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+

Get jenkins workspace build number when running job in parallel

2015-08-11 Thread COLLIGNON, Thomas
Hi, If someone knows a way to get the workspace number when a job is running in parallel ? (execute multiple builds concurrently) Is there a variable for this? In Jenkins docs : When Jenkins creates different workspaces for isolation, Jenkins appends "@num" to the workspace directory name, e.g

Seeting up email notification

2015-08-11 Thread KKCS
Hi all, While configuring Jenkins for sending email notification on build failures with the relevant SMTP server and port number it Fails to send out email reporting Connection refused: connect. Can anyone suggest a way to solve this problem? Thank you. -- You received this message because

Re: Seeting up email notification

2015-08-11 Thread Slide
Which email plugin are you using? Mailer or email-ext? On Tue, Aug 11, 2015 at 9:01 AM KKCS wrote: > Hi all, > > While configuring Jenkins for sending email notification on build > failures with the relevant SMTP server and port number it Fails to send out > email reporting Connection refused: c

RE: Seeting up email notification

2015-08-11 Thread John Mellor
KKCS asked: Ø Can anyone suggest a way to solve this problem? SMTP mail uses a simple in-band control mechanism and FTP-like ASCII primitives. You should be able to login to the build machine and telnet to the SMTP port on the mail server and emulate an MUA by hand. That will allow you to debu

Re: Debug 'Trigger a remote parameterized job'

2015-08-11 Thread Stefan Onea
Hello, Tried the plugin as well without success. Got the following call stack: ERROR: Remote build failed for the following reason, but the build will continue:ERROR : Max number of connection retries have been exeeded.ERROR

Jenkins CLI Connection Issue

2015-08-11 Thread Jayesh Gohil
Hi, I am trying to call Jenkins client within Jenkins job. However just not been able to get this to work. The id_rsa & id_rsa.pub files exists for Jenkins user which is a machine user. We have set up LDAP authentication with role based security. I can;t figure out why Jenkins will not connec

Workflow Jobs and SCM Polling

2015-08-11 Thread Gregory Symons
I'm seeing something a little weird in one of my workflow jobs, and I'm not sure if I'm doing something wrong or if it's a bug. Basically I have a top level job that's coordinating several component jobs. The top level job monitors several repos (right now it's just polling every 5 minutes) for

SSH Remote Shell plugin that uses Credential plugin?

2015-08-11 Thread Peter Loron
Hi. I'm working on a build job that needs to SSH in to a target machine and execute a command. The SSH plugins I've looked at which provide a remote SSH shell build step do not seem to use the Credential plugin to manage secrets. Am I missing something or have they simply not been updated to s

Re: Naming jobs : delimiters : hyphens vs. underscores

2015-08-11 Thread Brantone
Good point, if a standard has been set "no spaces" (which is good regardless), then that solves. Thanks On Tuesday, 14 July 2015 10:55:33 UTC-7, James Nord wrote: > > On 14/07/2015 08:44, Brantone wrote: > > I fully appreciate that this one's a preference thing, but curious if > > there's gener

Groovy script vs. system script : file info needed to affect build

2015-08-11 Thread Brantone
I'm well aware of the differences (and headaches) between Groovy script and system Groovy script .. my question involves the following scenario: After an SCM checkout is done on remote slave node, need to grep for a string in a specific file, whose value will be used for all downstream jobs, pre

matrix reload plugin and junit results publishing

2015-08-11 Thread Bryan Pearson
I am currently having a problem that seems to inconsistently occur, and I am not sure what the issue is. We have a job that after its completion outputs .xml files, we then have junit set to publish them, on a few occasions the xml wont get updated following the run. I'll receive the error: -

Another Jenkins server as backup

2015-08-11 Thread 'Pulkit Lall' via Jenkins Users
Hi everyone, I am new to Jenkins and just thought of doing the below mentioned scenario but not sure how to proceed. Here is the scenario: I have Jenkins server running on my Linux/Windows machine which runs multiple jobs. Now, the problem that I thought was if some one triggered a job in J

Re: monitor if a has NOT changed?

2015-08-11 Thread Jovan Jevric
probably by using CLI of your versioning tool, if you're using any.^^ Simply by executing shell/batch cmd and requesting status of file. processed by David.fx Subject: monitor if a has NOT changed? (04-Aug-2015 5:53) From:moodysma sma To: j...@huber-online.com Is there a wa

Re: Jenkins - Copy build log from master to a shared drive

2015-08-11 Thread Jovan Jevric
I run into same issue. Finally I've solved this by archiving textfile containining link to current workspace(Build ID and Job Name) of job which I'm interested in. Further I've used Log Parser plugin, whcih actually provides full build log propperly formatted in html and txt format which is actu