Re: Jenkins and GNU/Linux OS Builds

2012-05-17 Thread Christian Bryant
Not sure if you're familiar with LFS (http://www.linuxfromscratch.org/) but there are a variety of ways to build the OS. I chose jhalfs (http://www.linuxfromscratch.org/alfs/) which "reaches" into the LFS book source XML files to generate make files. It does, however, require quite a bit of h

Re: Jenkins and GNU/Linux OS Builds

2012-05-17 Thread Christian Bryant
Going to post my reply under LesMiksell to kill two birds... On Thursday, May 17, 2012 5:38:35 PM UTC-7, slide wrote: > > I use Jenkins to build embedded software (C based) using makefiles and > the like. Building the kernel shouldn't really be any different. What > exactly are you looking for t

Is there a way to generate reports[PMD, checkstyle, Surefire, findbugs] to a document [pdf/doc] generated in Jenkins?

2012-05-17 Thread arjun tr
I have requirement where the reports generated by PMD, Checkstyle, Surefire, findBugs has to be downloaded from Jenkins to a document. Is there a plugin for this or any other way to achieve this?

Re: Jenkins and GNU/Linux OS Builds

2012-05-17 Thread Les Mikesell
On Thu, May 17, 2012 at 5:41 PM, Christian Bryant wrote: > I'm in the process of moving my Linux From Scratch build system to be > managed by Jenkins (I can check up on the build using a Jenkins Android > app).  However, I'm stumbling through examples of non-Java build > configuration scripts that

Re: Displaying user in the Build History column on the left

2012-05-17 Thread bl0ck3r
I already use the description setter to set the description to the actual description! How to concatenate the name of the person launching the build to this description? My regex is DESCRIPTION=(.*)

Re: Jenkins and GNU/Linux OS Builds

2012-05-17 Thread Slide
I use Jenkins to build embedded software (C based) using makefiles and the like. Building the kernel shouldn't really be any different. What exactly are you looking for to enhance your current setup? slide On Thu, May 17, 2012 at 3:41 PM, Christian Bryant wrote: > I'm in the process of moving my

Jenkins and GNU/Linux OS Builds

2012-05-17 Thread Christian Bryant
I'm in the process of moving my Linux From Scratch build system to be managed by Jenkins (I can check up on the build using a Jenkins Android app). However, I'm stumbling through examples of non-Java build configuration scripts that some folks have put out there for GCC and Linux kernel builds

Re: Environment variable of name of the slave a build is currently running on

2012-05-17 Thread Slide
Try NODE_NAME On Thu, May 17, 2012 at 12:59 PM, Romu wrote: > Hi, > > Is it possible to get name of the slave on which a build is currently > running, through environment variable? > > https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project > has a list of Jenkins Set Environment

Re: Does Jenkins automatically hold downstream builds if upstream builds are happening in maven projects?

2012-05-17 Thread Larry Shatzer, Jr.
I do have some code I've written that implements a QueueTaskDispatcher that will cause a blockage if upstream jobs are in the queue, so it will in effect do what you want and not build ProjectC untill ProjectA and ProjectB are done. I'll try to get it ready to make into a plugin, and release it soo

Re: EnvInject 1.52 exceptions

2012-05-17 Thread Grégory Boissinot
EnvInject 1.53 should fix these issues. On Wed, May 16, 2012 at 4:35 PM, John Vacz < mailing.list.collect...@googlemail.com> wrote: > Hello, > > after upgrade to Jenkins 1.463 and EnvInject 1.52, I can see large amount > of exceptions when Jenkins starts up (see attachment). It seems to me like >

Environment variable of name of the slave a build is currently running on

2012-05-17 Thread Romu
Hi, Is it possible to get name of the slave on which a build is currently running, through environment variable? https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project has a list of Jenkins Set Environment Variables, but I didn't find what I need in the list. Any idea? Thanks R

Re: How to reboot a slave during a build?

2012-05-17 Thread Dominic Maraglia
As other have suggested, you should use run your tests upon a jenkins slave node. We have a similar problem to you and we do this: Jenkins -> Test Driver -> System Under Test Here, Jenkins communications directly with the Test Driver; the test driver communicates with several 'Systems Under Test

Re: Can I use Git Publisher to move or overwrite an existing tag?

2012-05-17 Thread Alec Koumjian
Did you ever figure this out? We need the same thing. On Tuesday, November 30, 2010 3:49:37 PM UTC-8, parker wrote: > > > I'm trying to figure out how to use the Git Publisher feature to move an > existing tag to commit most recently pulled from a repository and then push > this change tag back to

Re: Git Publisher set tag to just passed commit

2012-05-17 Thread Alec Koumjian
These are the only relevant lines I can find in the logs: FINE: Running: git push git@.git passed May 17, 2012 7:05:46 PM hudson.Proc FINE: Running: git tag -l passed On Thursday, May 17, 2012 10:49:28 AM UTC-7, Alec Koumjian wrote: > > I would like to 1) update a tag to a git revision that jus

Re: specific need run all jobs at once

2012-05-17 Thread Les Mikesell
On Thu, May 17, 2012 at 10:11 AM, atef_101 wrote: > Hi I ! > I have a specific need: in some cases we need to run a script that > execute all jobs from scratch : the order will be set by us in the > script. > Is this possible via jenkins. You can script about anything through the rest interface:

Re: Isolating Changelists in Jenkins

2012-05-17 Thread giuliano
Use two jobs. The first job polls. It loops and kicks off the second job for each changelist it finds. On May 16, 4:50 pm, Andrew Melo wrote: > On May 16, 2012, at 17:18, Jesse Farinacci wrote: > > > Greetings, > > > On Wed, May 16, 2012 at 5:55 PM, Andrew Melo wrote: > >> I'm also interested i

Git Publisher set tag to just passed commit

2012-05-17 Thread Alec Koumjian
I would like to 1) update a tag to a git revision that just passed its tests and then 2) push that new tag reference to the origin repository. I am using Git Publisher. I have set "Publish Only if Build Succeeds". I have also set "Tag to push" as "passed", and "Target remote name" as "origin".

Re: How to reboot a slave during a build?

2012-05-17 Thread giuliano
I have to do something like this. I need to revert a vm to a clean state between tests. I run the jenkins slave on a "controller" box. It uses ssh to run the test on the test box. And runs commands on the controller to create snapshots and revert as needed. You may be able to do something similar,

Get Information about Your Dependencies with Insight for CI

2012-05-17 Thread Jason van Zyl
Hey everyone, Sonatype is launching a new product for Jenkins users next week, that will help you manage the components you use in development. Sonatype Insight for CI will provide security and licensing information about components and dependencies -- and let you configure alerts and rules bas

Re: select user to use on a slave

2012-05-17 Thread Andrew Melo
On Thu, May 17, 2012 at 9:13 AM, Romu wrote: > Hi, > > Is it possible to dynamically choose user account to use on a slave? You could have your build script sudo into the correct account. > > Thanks > Romu -- -- Andrew Melo

select user to use on a slave

2012-05-17 Thread Romu
Hi, Is it possible to dynamically choose user account to use on a slave? Thanks Romu

specific need run all jobs at once

2012-05-17 Thread atef_101
Hi I ! I have a specific need: in some cases we need to run a script that execute all jobs from scratch : the order will be set by us in the script. Is this possible via jenkins. Thanks for your eresponses :)

Jobs restrict

2012-05-17 Thread Suri
Hi I have one node, in my node i have created 100 jobs. I use to clean-up unwanted folders which was created by build script in my node. I have created one housekeeping job and configured the same script in Jenkins. I need a suggestion that, My housekeeping script should be run only, when no ot

Folders Plugin and Git Plugin

2012-05-17 Thread Valdis Rigdon
I'm using the Folders Plugin and settings a "FORK" and "BRANCH" env variable at the folder level, but the Git plugin doesn't seem to be evaluating those tokens when I'm referencing them in the "repository url" and "branch" fields for Git. Is there a better way to do this?

Re: Having trouble getting rake to run tests

2012-05-17 Thread Daniel Doubrovkine
Generally, this means rake returned a non-zero error code. Examine $? in the rake task that is being executed. I also remember old versions of rake/other gems reporting wrong status, so you may need to clear that error code. On Thu, Mar 29, 2012 at 8:16 AM, Ian Connor wrote: > We have jenkins se

Re: RVM and Jenkins setup

2012-05-17 Thread Daniel Doubrovkine
This means your .bashrc isn't properly configuring RVM. We put ours in .bash_profile and source it the same way you do. export PATH=$PATH:/usr/local/rvm/bin [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" On Wed, Apr 18, 2012 at 8:28 AM, Zolzaya Erdenebaatar < zolzaya.erdenebaa.

Re: How to change default jobs location to go to indvidual slave path location

2012-05-17 Thread cjo
I am assuming that you are talking about the builds directory under the jobs/project directory. This directory is needed by the master so that it can provide the build history pages and allow access to any archived objects, so this means that it cannot be located on the slaves as a slave can be

RE: How to reboot a slave during a build?

2012-05-17 Thread Mandeville, Rob
Maybe the slave shouldn't be on the test system then. Put the slave in a safe place, and let it telnet or ssh into the machine you're booting to do its work. -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Romu Sent: Thurs

RE: scm poll and parameterized SCM URL

2012-05-17 Thread Mandeville, Rob
Last I checked, you can't use a poller on a parameterized job. To get around this, make two jobs. Leave the parameterized job as it is. Then make a polling job that calls the parameterized job with the parameters you want. So if you're polling on five different branches for a CI build, make

scm poll and parameterized SCM URL

2012-05-17 Thread marathiboy
Hello, If I use a parameter in SCM url, how scm poll works? Will it use default parameter to poll scm? It seems it is not working that way so just wondering? S -- View this message in context: http://jenkins.361315.n4.nabble.com/scm-poll-and-parameterized-SCM-URL-tp4628844.html Sent from the Je

unable to launch windows slave via ssh

2012-05-17 Thread Irfan Sayed
i wrote the expect script and now it is able to execute remote command however, when i am executing slave.jar file , it is throwing exception: $ /home/bvcontrolbuild/a.sh abc 10.0.5.4 "/home/Administrator/a.sh" spawn ssh Administrator@10.0.5.4 /home/Administrator/a.sh Administrator@10.0.5.4's pas

Re: Displaying user in the Build History column on the left

2012-05-17 Thread Dr. Simon Wiest
Hi bl0ck3r, the description setter plugin extracts texts from the console log of your build and sets them as description. "Started by ..." is part of the console log of a build (look for it at the top of the log). Try entering "Started by ([\S]+)" in the section "Post-build Actions -> Set bu

Re: Error running Windows batch file via build step

2012-05-17 Thread Lee Winder
Hi Indyn I solved my problem by moving the executable calls outside of the build process. I now have a few scripts constantly running in the background, which the build process sends a message to when they want the executables to run, and then waits for the executable scripts to flag back to t

Re: How to reboot a slave during a build?

2012-05-17 Thread Stephen Connolly
3 dependent jobs On 17 May 2012 08:36, Romu wrote: > Thanks for reply. > > What do you mean by a bunch of dependant builds?  Do you mean 3 build > steps in a job or 3 dependant jobs? > > Thanks > Romu > > On May 17, 1:43 pm, wrote: >> CI an OS kernel build? This sounds like a bad recipe to me...

Re: How to reboot a slave during a build?

2012-05-17 Thread Romu
Thanks for reply. What do you mean by a bunch of dependant builds? Do you mean 3 build steps in a job or 3 dependant jobs? Thanks Romu On May 17, 1:43 pm, wrote: > CI an OS kernel build? This sounds like a bad recipe to me... but here is how > I would do it. > > I would recommend you break yo