Re: Automating Jenkins Deployments with Chef

2015-01-27 Thread Kenneth Baltrinic
Chris, Thank you for your reply. Yes, I am using the copy config.xml approach for a lot of scenarios but it seems like a back door approach. I would have more confidence in the robustness of my code if I were using an API that threw errors when I did things wrong rather than potentially

How do I incorporate CHEF into my build and deployment process

2015-01-27 Thread Eric Wood
Currently I am deploying application code to our target environments using the Build Pipeline plugin.  It is a visualization tool for managing a chain of upstream and downstream jenkins jobs.  We want to incorporate chef scripts into our deployment process for setting up the initial servers and

Re: 1.598 Maven builds failing StackOverflowError

2015-01-27 Thread Jeff
After upgrading to 1.598, all of my Maven builds broke as well but I am unable to even build. (We pull from Nexus) I downgraded to 1.597 and it is working again (so far). The console output has this: [workspace] $ /usr/local/bin/p4 -s sync -f //jenkins_core/...@693973 Sync complete, took 4580

Determine groups of user inside System

2015-01-27 Thread Sascha.Retter
Hi, we are facing the problem, that a System Groovy Choice Parameter behaves different depending on the user who starts the build. We've created a job to easily create branch-jobs for users but the job only works for administrators because we need to access the groups the user who started the

Which Mail plugins to use?

2015-01-27 Thread David Aldrich
Hi In our Jenkins instance we have installed both the Mailer plugin and the Email Extension plugin. Should we be using both? Part of my reason for asking is that the System Log shows errors like this one: Jan 27, 2015 9:15:42 AM WARNING org.kohsuke.stapler.RequestImpl$TypePair convertJSON

Only one Administrator with Jenkins 1.580.1 server on Win 8.1

2015-01-27 Thread Steve K
Hello, I am experiencing very odd access behavior on two different Jenkins servers. Both servers are Win. 8.1 and both use Jenkins 1.580.1 Both servers use Jenkins own User Database and Matrix based security. I selected Administrator rights for 3 different users. Now, only one of those three

Re: Alternate JDK on slave box

2015-01-27 Thread Les Mikesell
On Tue, Jan 27, 2015 at 2:57 PM, Gilles Devaux gilles.dev...@gmail.com wrote: Hi, I have installed two JDKs on a slave box, JDK7 (default) and JDK8 (without update-alternatives). I'm trying to build something with the JDK8 but no luck. I'm setting JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-x64/ in

RE: add version number to each artifacts in jenkins

2015-01-27 Thread Ginga, Dick
I do not know the difference because I do not use the release plugin From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of nagashree ck Sent: Tuesday, January 27, 2015 7:49 AM To: jenkinsci-users@googlegroups.com Subject: Re: add version number to each

RE: Alternate JDK on slave box

2015-01-27 Thread John Mellor
Its been a while since I did a maven build under Jenkins or Hudson, but somewhere it notes that the system jdk is used to fire up Java-based build steps. There should be a checkbox somewhere in the config to start a separate Java instance and NOT use the default system jdk. Of course, that

Alternate JDK on slave box

2015-01-27 Thread Gilles Devaux
Hi, I have installed two JDKs on a slave box, JDK7 (default) and JDK8 (without update-alternatives). I'm trying to build something with the JDK8 but no luck. I'm setting JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-x64/ in several places, String build parameter, inject environment, something like this

Job DSL - Multijob iteration?

2015-01-27 Thread Jordan Spiker
Hi all, I have a Multijob that creates jobs based on a text file. job(type: Multijob) { steps { phase('build') { f.eachLine { job(type: Matrix) { ... } } } } } This does generate the sub-jobs

How to disable automatic scheduling of the Git Plugin

2015-01-27 Thread bl0ck3r
The Git Plugin tells me that it is Scheduling another build to catch up with project-integration I do not use polling, I do not use any triggers, I have a plain job triggered by hand. How do I turn off any and all of the automatic scheduling performed by the Git Plugin? Thanks, Martin -- You

Plugin or Groovy script to report on tests that fail consistently or that have passed consistently than failed for the first time

2015-01-27 Thread Shawn McCarthy
My ideal situation is that when my job that runs my automated tests finishes (another build step, with a groovy script or plugin?), any test that has failed the last 3 times (configurable amount), gets sent in the email (email-ext plugin). Also, any test that consistently passed (say 3 times

[build flow plugin] NullPointerException when I try to wrap a build in a concurrent.Future

2015-01-27 Thread Dave Mills
I'm trying to implement node fail-over logic. Like the *retry* block, but each time on a different node. So I supply a list of nodes, and use code like the following where the *node *parameter is a Nodes and Labels https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin

Strategy for using slave nodes in Jenkins for a full LDAP/NFS Linux-setup

2015-01-27 Thread Peter Toft
Hi all I have been updating my lovely Linux-based Jenkins setup with a set of new compute nodes. It seems to work just fine to add a new node Jenkins - nodes - New node (at http://jenkins:8080/computer/) and my jobs are transferred using SSH. All works now :-) I have a jenkins server and 3

Re: Strategy for using slave nodes in Jenkins for a full LDAP/NFS Linux-setup

2015-01-27 Thread Peter Toft
I can at least see that having a special Remote root directory per slave unit costs that my projects are cloned from my git server from scratch. Good thing? Bad thing? :-) On Tuesday, January 27, 2015 at 11:30:25 AM UTC+1, Peter Toft wrote: Hi all I have been updating my lovely Linux-based

RE: Which Mail plugins to use?

2015-01-27 Thread David Aldrich
Thanks for your explanation. Best regards David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide Sent: 27 January 2015 13:00 To: jenkinsci-users@googlegroups.com Subject: Re: Which Mail plugins to use? Email-ext currently depends on Mailer.

Re: add version number to each artifacts in jenkins

2015-01-27 Thread nagashree ck
Thanks for reply Ginga, we have two plugins in jenkins like version number plugin and release plugin can you tell me the difference and according my requirement which one i can use. On Fri, Jan 23, 2015 at 8:00 PM, Ginga, Dick dick.gi...@perkinelmer.com wrote: Use the $BUILD_NUMBER however

Create UserPrivateKeySource Credential via Groovy?

2015-01-27 Thread Kenneth Baltrinic
Its me again--still trying to configure Jenkins via Chef. In this case I have extracted from the opscode Jenkins cookbook their script for creating ssh credentials and have attempted to modify it to create a credential from a UserPrivateKeySource instead of the DirectEntryPrivateKeySource that

Re: Which Mail plugins to use?

2015-01-27 Thread Slide
Email-ext currently depends on Mailer. Mailer used to be part of the core (and is still a bundled plugin) and it has some things that are used (user property for email addresses and so forth) that it uses from Mailer. The warning you are seeing is probably because the version of Jenkins you are

Git Credentials on Workflow Plugin

2015-01-27 Thread Rob Mandeville
I am using: * Jenkins 1.580.2 * GIT client plugin 1.15.0 * GIT plugin 2.3.4 * Workflow plugins 1.1 * Credentials plugin 1.22 We use GitLab for source control and do not allow anonymous access of any kind. We use the Credentials plugin, have put in

updating changelog when a build is run

2015-01-27 Thread Tanmay Kansara
Hi Guys, I am new to using jenkins and wondering if you can guide me. When I run a build, a log file is created in a separate folder. Since this is not necessarily an SVN update the contents of the log files are not displayed under Status or Changes. Is there a modification that I can do that

Re: updating changelog when a build is run

2015-01-27 Thread Tanmay Kansara
Please also note that I am not using any SCM for this build. Thanks On Tuesday, January 27, 2015 at 11:15:11 AM UTC-5, Tanmay Kansara wrote: Hi Guys, I am new to using jenkins and wondering if you can guide me. When I run a build, a log file is created in a separate folder. Since this is

Re: add version number to each artifacts in jenkins

2015-01-27 Thread nagashree ck
ok Thanks Ginga On Wed, Jan 28, 2015 at 2:11 AM, Ginga, Dick dick.gi...@perkinelmer.com wrote: I do not know the difference because I do not use the release plugin *From:* jenkinsci-users@googlegroups.com [mailto: jenkinsci-users@googlegroups.com] *On Behalf Of *nagashree ck *Sent:*

Re: Git Credentials on Workflow Plugin

2015-01-27 Thread Mark Waite
The -c core.askpass=true is used to prevent the git command line call from prompting for a password from stdin. It was added in a recent git-client-plugin and was a key change to enable resolution of several other bugs. I doubt very much that argument is causing an authentication problem. On

Re: add version number to each artifacts in jenkins

2015-01-27 Thread nagashree ck
How to give path for files to archive in jenkins artifacts Thanks in Advance On Wed, Jan 28, 2015 at 9:55 AM, nagashree ck nagashree...@gmail.com wrote: ok Thanks Ginga On Wed, Jan 28, 2015 at 2:11 AM, Ginga, Dick dick.gi...@perkinelmer.com wrote: I do not know the difference because I

Re: How to disable automatic scheduling of the Git Plugin

2015-01-27 Thread Mark Waite
I don't think you can disable all scheduling of jobs performed by the git plugin. It assumes the tip of each branch to build should be built if not built previously. You might try leaving the branches to build field completely empty, or give it the name of a branch which is known to not exist.