Re: How to tell Jenkins to provide settings.xml to Maven?

2014-03-06 Thread Christian Willman
Depends. Are you using a MavenBuild or a FreestyleBuild? The Config File Provider plugin will hook into a MavenBuild, but for a FreestyleBuild (using the Invoke Maven Top-Level Targets build step), you will need to enable the Provide configuration files Build Environment task and then modify

Re: How to tell Jenkins to provide settings.xml to Maven?

2014-03-06 Thread karg
It is a MavenBuilld, not a FreestyleBuild, that's why I am rather confused. The MavenBuild correctly BUIILDSin fact, but is unable to publish to the repository (unauthorized), which is a proof that the personal settings.xml provided by the config plugin is NOT considered by that job option (at

Get all Jenkins Jobs name in Build Flow Plugin

2014-03-06 Thread COLLIGNON, Thomas
Hello, I would know if it's possible to get all Jenkins jobs name in Build Flow Plugin? In order to use this as parameters for trigger particular job. Thanks a lot Thomas Collignon -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To

Re: Strategies to disk-risk a Jenkins upgrade

2014-03-06 Thread Christian Willman
To start, our jobs are 99% sameness. Most of our codebase can be built using one standard job, running a well-defined list of Maven commands. Realistically only the job name, SCM URL, and maybe timer or downstream job list are variable. So the first step in mitigating risk is to group like

RE: Recover disk space in Jenkins

2014-03-06 Thread Neil Youngman
Kerry I have lost all my configured jobs on an upgrade in the past. As it's a virtual machine, I would suggest taking a snapshot before any upgrade, so you should be easily able to revert. As you probably don't have time to be chasing regular upgrades and troubleshooting any breakages, I

Re: Scheduled Safe Restart

2014-03-06 Thread Christian Willman
Precisely what we do. Every morning we run a scheduled job to grab and install our master list of Jenkins plugins and then trigger a safeRestart via a System Groovy build step. Works like a charm and hasn't failed us in over six months. One thing to watch out for: if your developers have a

Re: Recover disk space in Jenkins

2014-03-06 Thread Stephen Connolly
I think your use cases would be better served switching to the LTS line, i.e. currently 1.532.2. Given you have lost staff, you don't want to have to battle with OSS HEAD stability at the same time as battling to get your jenkins instance under control. (for that reason staying on the current

Re: Is a central/shared local Maven Repo still Not safe for Jenkins master and many slaves?

2014-03-06 Thread Stephen Connolly
You should write up a blog post of your setup... sounds like you have a local minima set of best practices... they may not be the best practices for everyone, but there are probably quite a lot of people who could share your local minima On 6 March 2014 09:21, Christian Willman cewi...@gmail.com

Re: best approach to automate/manage jenkins jobs?

2014-03-06 Thread Christian Willman
I don't like any of the open source templating plugins. I think they're rather inflexible and inelegant. I like the Cloudbees templating plugin but it's not necessarily cheap and you need to be familiar (or become familiar) with jelly. We're in the same boat -- 99% of jobs share 99% of the

Re: Recover disk space in Jenkins

2014-03-06 Thread Maciej Jaros
Les Mikesell (2014-03-06 00:39): On Wed, Mar 5, 2014 at 5:30 PM, Kerry Cox kerryj...@gmail.com wrote: One other question, rather than simply deleting each build individually (all 150+ builds), is there any way to globally delete all builds from a certain day back? Generally what you want to do

Re: How to tell Jenkins to provide settings.xml to Maven?

2014-03-06 Thread karg
Updates Jenkins to latest LTS release, and updated config file provider to latest. The problem is still there: The RedeployPublisher tells me it is using this file: Maven RedeployPublisher use remote XXX maven settings from :

Re: best approach to automate/manage jenkins jobs?

2014-03-06 Thread Les Mikesell
On Thu, Mar 6, 2014 at 3:46 AM, Christian Willman cewi...@gmail.com wrote: But now we have too many Jenkins master instances and many active branches of very similar code, so manually creating jobs via a web UI is too inefficient. Just curious - what is it that drives the decision to use

Add executors to a slave from code

2014-03-06 Thread dev123
I am working on a jenkins plugin where I need to simulate that my job can run on up to 10 executors. I have a test class that extends the JenkinsRule making it possible to create a DumbSlave like this: DumbSlave slave = jenkins.createSlave(mySlave, myLabel, null);

Re: How to tell Jenkins to provide settings.xml to Maven?

2014-03-06 Thread karg
Ok I am a step further now and have it running, and I think I know what the problem is. First of all, I confirm that Use default maven global settings is working very well and it effectively leads to using the configured global settings.xml provided by the Config File Provider plugin. Also I

older windows installers

2014-03-06 Thread Ginga, Dick
Where can I find a windows installers for Jenkins 1.524? I found the archives and the 1.524 war file but I need to do a fresh install on a windows server of 1.524. Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA

Probleme with using Jenkins and Github

2014-03-06 Thread fatima zahra Anzour
Hello everyone; I'm a beginner with Jenkins i have installed it on my Windows 7, and i tried to use it with a github account but a have got this error: ERROR: Timeout after 10 minutesERROR http://stacktrace.jenkins-ci.org/search?query=ERROR: Error cloning remote repo 'origin' after

Re: Probleme with using Jenkins and Github

2014-03-06 Thread Mark Waite
You might try the suggestions at https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin#GitPlugin- Mark Waite On Thu, Mar 6, 2014 at 8:22 AM, fatima zahra Anzour anzou...@gmail.comwrote: Hello everyone; I'm a beginner with Jenkins i have installed it on my Windows 7, and i tried to use it

Re: Probleme with using Jenkins and Github

2014-03-06 Thread Mark Waite
Also, if your repository is very large or the connection is slow, it may be transferring data and being interrupted by the timeout. If so, there is a timeout which can be set in the Additional Behaviours section as Advanced clone behaviours. On Thu, Mar 6, 2014 at 8:24 AM, Mark Waite

Update existing job configuration parameter from code

2014-03-06 Thread dev123
In my plugin I need to dynamically update the values of a bunch of String parameters that the user specified when building a job ParametersAction params = project.getAction(ParametersAction.class); // How do we update existing parameters? StringParameterValue parameter = (StringParameterValue)

Re: Probleme with using Jenkins and Github

2014-03-06 Thread fatima zahra Anzour
Thanks Mark, you saved me. *ANZOUR Fatima Zahra* *Élève Ingénieur d'Etat en Troisième année à l'Institut National Des Postes et Télécommunications http://www.inpt.ac.ma/Pages/Default.aspx.* *Option: Génie logiciel et Management des systèmes d'Information* *Tél: 06 79 97 49 59* *Mail:

Re: Probleme with using Jenkins and Github

2014-03-06 Thread fatima zahra Anzour
Hello Mark, in the link that you posted they say First, copy your Jenkins build SSH keys into C:\Git\.ssh so that ssh.exe can find them. where to find thes SSH keys? *ANZOUR Fatima Zahra* *Élève Ingénieur d'Etat en Troisième année à l'Institut National Des Postes et Télécommunications

Re: Probleme with using Jenkins and Github

2014-03-06 Thread fatima zahra Anzour
ok, ok now it works thanks too mush :) *ANZOUR Fatima Zahra* *Élève Ingénieur d'Etat en Troisième année à l'Institut National Des Postes et Télécommunications http://www.inpt.ac.ma/Pages/Default.aspx.* *Option: Génie logiciel et Management des systèmes d'Information* *Tél: 06 79 97 49 59*

Build Flow Plugin firing rescues I don't think are needed

2014-03-06 Thread Tim Jackson
Given this flow: def Build = { SpecificBuildSelectorbuildNumber + it + /buildNumber/SpecificBuildSelector } def BVT2Rescue = { build(Restart_NRobotRemote, Test_Automation_Workstation: BVT2.build.properties['builtOnStr'], WORKSPACE: BVT2.build.workspace) build(BVT_CR2600, BN2:

Re: Installing Jenkins into a specific directory on Windows using msiexec

2014-03-06 Thread Tim Bradt
I works now as of 1.553 using the Windows native package. -- 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. For more

Re: Installing Jenkins into a specific directory on Windows using msiexec

2014-03-06 Thread Tim Bradt
It works now as of 1.553 using the Windows native package. -- 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. For more

Jenkins API

2014-03-06 Thread Andrew Sumner
Couple of questions: 1. Where can I find a list of functions I can call? eg I found toggleOffline while searching the internet, I don't think its strictly an api method, but where can I find documentation for this and other methods? 2. Having a problem authenticating with Jenkins using

Active Directory plugin: multiple domains

2014-03-06 Thread Naumenko, Roman
Greeting Jenkins Experts, I've read that Active Directory plugin allows to specify multiple domains, but I don't see how it cab be done on the plugin's page, at http://jenkins/configureSecurity Additional hurdle is that domains have different binding DN. There is only one filed per Domain

Multiple triggers?

2014-03-06 Thread Scott Evans
We have a developer who would like to kick off a build if either of two conditions is met (such as a Git change for one condition and a file change as a second dependency. He has things set up to run the build conditionally if either condition is met, but what he's finding is that if both

Re: Re: Log Parser Plugin: Configuration

2014-03-06 Thread Jay Park
Hi Andreas, Which solution worked for you? Did you have to restart the Hudson service? Or, just disable and reenable Console output (build log) parsing? I'm having the same issue, and I've tried the latter but to no avail. Still getting the same error. I would rather not have to restart the

Re: best approach to automate/manage jenkins jobs?

2014-03-06 Thread Christian Willman
Great and valid question. Indeed the instances are split by work group. In the old days before I assumed the role of build master, developers could only modify jobs on their respective Jenkins instances. But since we've locked down and automated Jenkins, we allow every authenticated user to

Re: Is a central/shared local Maven Repo still Not safe for Jenkins master and many slaves?

2014-03-06 Thread Christian Willman
Definitely coming up, Stephen. We've got one of the largest Jenkins environments I've seen, which has forced me to solve a lot of problems around high-volume Maven builds. I'll try to write something this weekend. On Thursday, March 6, 2014 4:34:38 AM UTC-5, Stephen Connolly wrote: You should

Getting rid of multiple workspaces for a job

2014-03-06 Thread Chad Jarrett
Hello, I've tried searching the forums and maybe I'm not able to clearly search what I need. Currently in our Jenkins Nodes I'm seeing multiple copies of a jobs workspace appended with @numb for example: Job ABC Job ABC@2 Job ABC@3 The disable concurrent builds box is checked so I'm not

Re: Getting rid of multiple workspaces for a job

2014-03-06 Thread Marc MacIntyre
Those are from having multiple executors on each slave, the number is the executor number Sent from my iPhone On Mar 6, 2014, at 5:40 PM, Chad Jarrett mistagen...@gmail.com wrote: Hello, I've tried searching the forums and maybe I'm not able to clearly search what I need. Currently in our