Dynamic choice in declarative pipeline
Hi all, I currently working on a migrating to Jenkins Declarative Pipeline, and I'm seems to be stuck on a missing feature (or at least i can't find the documentation). My goal is to have two parameters, where the selection of param-A is used the generate the list of options to param-B, says param-A: ["equal", "unequal"] param-B: [1,2,3,4,5,6,7,8,9, ] and when i chose *equal* for param-A, i want to only show options 2,4,6,8... in the drop-down of param-B. Firstly the parameters{} block only updates the job parameters, after the Job has initialized (I don't know why), and secondly i can't see anyway to do a filter on param-B after param-A has had a select? I'm running on Jenkins 2.73.3 and Blue Ocean 1.0.0. I hope, my question is clear, and i hope to hear from you all :) -- /Jes -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CACfmdz0K63217tLJdAYkHMWSZq309fCDse8R-gF2%3DQJJ_cuHRw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Bootstrap Jenkins job creation
Hi all, I'm looking for a good solution to do job configuration during Jenkins startup, I have looked around for a good solution, but I can't seem to find one. >From what i found my current options is hacking in groovy or using Jenkins Job Build (JJB), but what I'm expecting, is a Jenkins function that had implemented the JJB functionality. So my question to you guys is, have anybody seen such a solution, or could guide me in the direction, that looked like this? Secondary, if nobody can guide me, does this not seem like a new plugin? Kind regards Jes Struck Senior DevOps Consultant -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CACfmdz2YXFGkwuU00EScsiGZ7Pm2QNkXuEQkG%2BozoxbBQREJqQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Fwd: using pararllel in a dynamic list of stages
Hi all I'm trying to do something that might be a stupid idea, but I can't get it to work as i exspect I have a list of components that I whant to do something with, so in my Jenkins file i have created a list, and used each on that list to dynamicly create stages. But my problem is that we would actually like to have al this stuff done in *parallel* but each is I'm guessing secuential by nature. so does anybody have a good solution to this? currently my code has the structure like node('master){ [a,b,c,...].each{ stage(it){ dir(it){ //do something with the component's } } } } -- /Jes -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CACfmdz0Ox26Z4Dgw74wd5grF5k%3DKCU%2BLaVukup2mZ8VxBu7SUQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Performance-plugin
Hello Jenkins Users, We are in the process of implementing performance test in Jenkins, and has therefor installed the Performance plugin. but we are struggeling with two major isseus. 1.) All test is reported as an error even doe all of them is sgiving html status, 200 OK. - Please see the attached screen shot. 2.) Alot of the graphs is not working, for some reason they are not generated properly - Please see the attached screen shot. [image: Inline images 1] As bonus info I can tell that we are running on a Red Hat Enterprise Linux Server release 6.6 (Santiago) as Jenkins master and slaves, we are using Jenkins 1.568 and the lastest version of the Perfomance plugin(1.13). Please, if anybody has seen this, and has a solution or workaround that will be very much helpfull. /Jes -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CABCrcLpXaTujLbZcoMcMatYoY%2B0bd%2BNoSouxQ6EjKpq%2BT-Y5%3DQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Performance-plugin
Hello Jenkins Users We are in the process of implementing Performance test in Jenkins, using JMeter,and have therfor installed the Performance-plugin for Jenkins. we have at the moment two major issues with this plugin, 1.) All test are reported as errors, even though all of our test is return with html status, 200 OK 2.) the second also can been seen on the attached screenshot, alot of the graph does not work. [image: Inline images 1] Some bonus information is that we are running on a Red Hat Enterprise Linux Server release 6.6 (Santiago) with Jenkins 1.568 and the lastest version of the plugin (1.13) does any body else have the same issues, or a solution to this??. /Jes -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CABCrcLqM2F8cpmER7-8mHGnDxxsVXV104mWwrVGtOnM%3D2BiX5g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Problem with Clearcase plugin running many builds in parallel
Hey sascha, with out vein an expert in this specific plugin, could you maybe tell if you by, parallel builds mean that you have a lot of different jobs build at the same time or you have a lot of concurrent executions of the same job? If the later then look for view name, they might use the same name for all the executions. I have never heard about this limit though i have heard that windows has a limit on how many process it can run at a time, are you sure it's not that limit you are running into. try running test limit -p for getting the number of process. and test limit -t for number of threads. 2014-06-23 10:15 GMT+02:00 Sascha Herrmann goo...@maledictis.de: Running: Jenkins ver. 1.532.3 Jenkins ClearCase Plug-in ver. 1.5 using snapshot views Clearcase 7.1.2.12 Hi, we're currently setting up a new CI machine. The machine is quite powerful and we're trying to run as many build jobs in parallel as we can. No we run into two issues related to Clearcase: 1. It seems that after the catcs and before the setcs, an endview is issued. We run into the problem that the setcs then fails (with an immediate timeout): 07:12:55 [Misc_HEAD_Printing] $ C:\Program Files\IBM\RationalSDLC\ClearCase\bin\cleartool endview -server nightly_Misc_HEAD_Printing_view ... 07:12:55 Running cleartool setcs, this operation may take a while 07:12:55 [ccview] $ C:\Program Files\IBM\RationalSDLC\ClearCase\bin\cleartool setcs -current -overwrite 07:12:55 cleartool: Error: Timed out trying to start view_server for view host name:E:\oracle\clearcase\nightly_Misc_HEAD_Printing_view.vws Our IT is currently puzzled why this happens. They're asking why the plugin issues the endview command. So I am wondering if someone else has encountered that problem and knows how to circumvent it. I assume that it is related to the amount of parallel build jobs, as this problem does not show up on our old CI server (which kind of runs build solely in sequence). 2. As I said, we're running as many builds as possible. But there seems to be a (hardcoded?) limit of how many view_server processes the albd can spawn. And we're running into that limit, resulting in errors. I found no place where I can raise that limit in CC. So for every CC build job, we're adding a batch build step, issuing an endview command after the build, stopping the view_server process. Which is a fine workaround. But it would be great if the plugin would feature an option to end the view after the checkout. Not sure if that makes sense in general. It would for us. That's more like a feature request :o) Regards, Sascha -- 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 options, visit https://groups.google.com/d/optout. -- [image: ] http://www.praqma.net/ *Jes Struck, * Consultant j...@praqma.net +45 31 42 09 00 Skype:jes.struck *Praqma A/S* www.praqma.net Allerød Stationsvej 4 DK-3450 Allerød +45 36 77 27 62 http://www.praqma.net/jciusrcph12 http://www.praqma.net/jcicodecamp12 -- 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 options, visit https://groups.google.com/d/optout.
Re: Different platforms in NUnit in the same job
Im sorry for not clarifiyng this but C# can actaully be run both 32 64 bit on a 64bit machine what im looking for is a way to execute both NUnit execution in the same job and have the result being put into two different graph. it's not a problem to execute. my problem is ONLY related to collecting result data from the Unit test /Jes On 28 May 2014 22:03, Owen B. Mehegan o...@nerdnetworks.org wrote: What you want to do is have two Jenkins slaves, one 32 and one 64 bit. Give the slaves labels to that effect. Then create one Jenkins job, and choose the multi-configuration project type (also referred to as a matrix job). In that job's configuration you will see a section called Configuration Matrix. Click on the 'Add axis' button, choose 'Slaves,' expand the 'Labels' list and click on both of the labels you chose. Configure the rest of the job as normal. When you run this job, some initial things will happen only on the Jenkins master (referred to as the flyweight tasks like figuring out what code changes there were, etc.), then the build steps will run in parallel on both slaves. Play around with it and you will get the idea. There are some weird things about matrix jobs, but this use case is what they are made for! On Wednesday, May 28, 2014 3:44:22 AM UTC-7, Jes Struck wrote: Hey, I'm struggling with, what i thought would be a simple task, I have some NUnit test that i want to run in both x64 and x84 but I'd like it to be grouped by the bitness, as fare as I see it I have to create two separate jobs in order to clearly divide this. is that true??.. Is that true or is there a nice feature/plugins that I'm not aware of please enlighten me ;) -- [image: ] http://www.praqma.net/ *Jes Struck, * Consultant j...@praqma.net +45 31 42 09 00 Skype:jes.struck *Praqma A/S* www.praqma.net Allerød Stationsvej 4 DK-3450 Allerød +45 36 77 27 62 http://www.praqma.net/jciusrcph12 http://www.praqma.net/jcicodecamp12 -- 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 options, visit https://groups.google.com/d/optout. -- 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 options, visit https://groups.google.com/d/optout.
Different platforms in NUnit in the same job
Hey, I'm struggling with, what i thought would be a simple task, I have some NUnit test that i want to run in both x64 and x84 but I'd like it to be grouped by the bitness, as fare as I see it I have to create two separate jobs in order to clearly divide this. is that true??.. Is that true or is there a nice feature/plugins that I'm not aware of please enlighten me ;) -- [image: ]http://www.praqma.net/ *Jes Struck, * Consultant j...@praqma.net +45 31 42 09 00 Skype:jes.struck *Praqma A/S* www.praqma.net Allerød Stationsvej 4 DK-3450 Allerød +45 36 77 27 62 http://www.praqma.net/jciusrcph12http://www.praqma.net/jcicodecamp12 -- 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 options, visit https://groups.google.com/d/optout.
Re: Master/Slave vs Just Master
because if you choose to use the master/slave setup you get one Jenkins install that can build on all of youre hardware's instead of X install's, among other thing you can get one Jenkins server that can build both *nix and Windows projects 2014-02-28 15:08 GMT+01:00 Sapientlife bpmi...@gmail.com: Hi, What are the pros/cons of having Jenkins setup to use the master/slave configuration to run and deploy builds? If the hardware is not an issue why would one need to use a master/slave distributed system. Why not just have the Jenkins server run and deploy all buids? Thanks. Brian -- 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 options, visit https://groups.google.com/groups/opt_out. -- [image: ]http://www.praqma.net/ *Jes Struck, * Consultant j...@praqma.net +45 31 42 09 00 Skype:jes.struck *Praqma A/S* www.praqma.net Allerød Stationsvej 4 DK-3450 Allerød +45 36 77 27 62 http://www.praqma.net/jciusrcph12http://www.praqma.net/jcicodecamp12 -- 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 options, visit https://groups.google.com/groups/opt_out.
Re: Clearcase integration with Jenkins to schedule jobs
Please have a look at https://wiki.jenkins-ci.org/display/JENKINS/ClearCase+UCM+Plugin which where designed for exactly your work-flow. This supports both poll when putting code to the integration stream but also if you create a baseline on you dev. stream you could poll that configuration and if build succeed push it too integration stream!... *Jes Struck* Consultant Praqma A/S Tel:+45 22 71 82 46 Mail: j...@praqma.net web: www.praqma.net On 14 January 2014 06:24, Palanilkunnathil Melemuriyil, Vinod P v.palanilkunnathilmelemuri...@cgi.com wrote: Thanks Slide. With the Clearcase plug-in installed in Jenkins, wouldn’t it be possible to poll SCM (i.e Clearcase) for any changes that are delivered to Integration Stream by the developers. If any changes are found in Integration Stream then Jenkins runs the particular build job. Regards T.S *From:* jenkinsci-users@googlegroups.com [mailto: jenkinsci-users@googlegroups.com] *On Behalf Of *Slide *Sent:* Tuesday, January 14, 2014 9:39 AM *To:* jenkinsci-users@googlegroups.com *Subject:* Re: Clearcase integration with Jenkins to schedule jobs I think for the automatic triggering, you would need to implement a trigger in Clearcase that would initiate a build via URL. There really isn't a native way for Clearcase to notify Jenkins that someone delivered something, you would need to roll your own. slide On Mon, Jan 13, 2014 at 8:49 PM, Vinod P vinodts2...@gmail.com wrote: Hello all, I am a newbie to Jenkins and Clearcase and have been going through the various options of Jenkins to facilitate CI. However, I am not sure on how to configure Jenkins with UCM Clearcase in such a way that when a developer delivers his code to the Integration Stream in Clearcase (after having tested his code in the Development Stream where he makes changes to the code), Jenkins should start the build of the application. In short, the requirement is that whenever any changes are delivered to the Integration stream in clearcase (UCM) , a build job should be automatically triggered in Jenkins. Appreciate any help/guidance on this. Regards T.S -- 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 options, visit https://groups.google.com/groups/opt_out. -- Website: http://earl-of-code.com -- 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 options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit https://groups.google.com/groups/opt_out.
Re: Prevent incrementing build number on failures
if the goal is to convience them i think you should go an explain them why this is better, both this single difference but also why they should love Jenkins and be glad that they had CruiseControl up until now 2013/9/5 Edwin Castro 0ptikgh...@gmx.us On 9/5/13 7:25 AM, Volodymyr Kostyrko wrote: If you need to count good build maybe you need to look at Version Number Plug-In? ( https://wiki.jenkins-ci.org/display/JENKINS/Version+Number+Plugin) It can create your own $VERSION based on how many successful builds were in total, today or this month. +1 And it gives you the ability to not increment that version when failed builds occur too. -- Edwin G. Castro -- 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 options, visit https://groups.google.com/groups/opt_out. -- [image: ]http://www.praqma.net/ *Jes Struck, * Consultant j...@praqma.net +45 31 42 09 00 Skype:jes.struck *Praqma A/S* www.praqma.net Allerød Stationsvej 4 DK-3450 Allerød +45 36 77 27 62 http://www.praqma.net/jciusrcph12http://www.praqma.net/jcicodecamp12 -- 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 options, visit https://groups.google.com/groups/opt_out.
Re: Run Job on Remote Slave node
Hello Gaurang, it would be a good ide to consider to split it into two jobs one for building and one for the running of the program, you can easely share reslult between job's either with an artifact manegement system like artifactory or similar. Or you can use the archive function in jenkins that can actually also copy between jobs. If you run into any problems just get back and ill bee happy to help ;) 2013/9/5 Gaurang shah gaurangns...@gmail.com Hi Guys, I have an automation project on the Jenkins in which I want job run on Remote Slave Node, However it looks like when I bind my project with remote slave, it builds project on that slave as well. In my Jenkins I have specified JDK and Maven Path locally rather then to install it from internet. However the when i run the Job on remote node it tries to find the JDK and Maven in same directory, which is creating problem. Is there any way I can use the JDK and Maven installed on Jenkins Host machine to build the job but it run on remote node ?? Gaurang Shah -- 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 options, visit https://groups.google.com/groups/opt_out. -- [image: ]http://www.praqma.net/ *Jes Struck, * Consultant j...@praqma.net +45 31 42 09 00 Skype:jes.struck *Praqma A/S* www.praqma.net Allerød Stationsvej 4 DK-3450 Allerød +45 36 77 27 62 http://www.praqma.net/jciusrcph12http://www.praqma.net/jcicodecamp12 -- 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 options, visit https://groups.google.com/groups/opt_out.
Re: Prevent incrementing build number on failures
I must claim that i think you are going in the wrong direction. But if you really what to do this, i think it can be done by hacking the file placed $hudson/jobs/job-name/nextBuildNumber in the end of you build if you now it failed, this would probably work best if implemented in groovy where you have access to the model. or you might be able to do it directly from groovy or with a java plugin. Mark: it's been a vile but i now that for at least a couple of years ago it was possible it simply overwritten what ever was in the folder with the new result. 2013/9/5 peterman1002 pson...@gmail.com Hello, I am new to Jenkins and trying to setup my build environment. I have noticed that when a build fails, the build number is still incremented. How can I prevent Jenkins from doing this? I'm not here to start a debate on whether that is the correct behavior or not. I just want to know how I can do this for my environment here. Thank you, Peter -- 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 options, visit https://groups.google.com/groups/opt_out. -- [image: ]http://www.praqma.net/ *Jes Struck, * Consultant j...@praqma.net +45 31 42 09 00 Skype:jes.struck *Praqma A/S* www.praqma.net Allerød Stationsvej 4 DK-3450 Allerød +45 36 77 27 62 http://www.praqma.net/jciusrcph12http://www.praqma.net/jcicodecamp12 -- 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 options, visit https://groups.google.com/groups/opt_out.
Re: Request on JENKINS Process on SUPPORT and other details
the wiki page https://wiki.jenkins-ci.org/display/JENKINS/Commercial+Support https://wiki.jenkins-ci.org/display/JENKINS/Commercial+SupportList allot of companies the delivers support on jenkins and CI support, we at Praqma also consider our self as ClearCase experts. if you want to more about us you can contact os on www.praqma.com or supp...@pramqa.net /Jes - Praqma On 17 December 2012 08:31, bala baluch...@gmail.com wrote: tools are ClearCase and SVN 3) ci tool is Jenkins
Re: Request on JENKINS Process on SUPPORT and other details
our mail is of course supp...@praqma.net sorry for that *Jes Struck* Consultant Praqma A/S Tel:+45 22 71 82 46 Mail: j...@praqma.net web: www.praqma.net On 17 December 2012 13:32, jes Struck j...@praqma.net wrote: the wiki page https://wiki.jenkins-ci.org/display/JENKINS/Commercial+Support https://wiki.jenkins-ci.org/display/JENKINS/Commercial+SupportList allot of companies the delivers support on jenkins and CI support, we at Praqma also consider our self as ClearCase experts. if you want to more about us you can contact os on www.praqma.com or supp...@pramqa.net /Jes - Praqma On 17 December 2012 08:31, bala baluch...@gmail.com wrote: tools are ClearCase and SVN 3) ci tool is Jenkins
Re: Has anyone used dr memory plugin on linux
Hey Sohel, The first delivery was only intended to work on Windows, which is the reason for your error. We deliver sponsored work on our open source projects, and we estimate it will take around 1 day's work for 1000 euros. Or you are welcome to contribute your self. Sincerely Jes *Jes Struck* Consultant Praqma A/S Tel:+45 22 71 82 46 Mail: j...@praqma.net web: www.praqma.net On 4 December 2012 22:34, Sohel Khan sohe...@gmail.com wrote: Hi, Has anyone used this plugin successfully on linux to analyse memory leaks? I get this error, suggesting that it needs the exe for dr memory. I downloaded the linux version that has a perl script instead of exe, but no information on how and where to configure the plugin for this Setting log path to /home/sohel/.jenkins/workspace/ArchiveBuildPerf/drmemory/4 Recieved Unable to execute drmemory.exe -logdir /home/sohel/.jenkins/workspace/ArchiveBuildPerf/drmemory/4 -batch -quiet -- /home/sohel/.jenkins/workspace/ArchiveBuildPerf//data/Prod/ArchiveBuildPerf : bash: drmemory.exe: command not foundMy workspace is /home/sohel/.jenkins/workspace/ArchiveBuildPerf Thanks, Sohel
Re: Installing Jenkins on Windows Server 2012 Standard fails
i would Also make sure you sufficient file permissions the user the service is running as must have r-w full recursive Den 26/11/2012 19.46 skrev bearrito j.barrett.straus...@gmail.com: I would elevate the service that Jenkins is running under to a local admin. You can then reduce the amount of privileges by trial and error to the appropriate level for your organization. This isn't a Windows 2012 issue as it occurs on 2008. On Sunday, November 25, 2012 9:26:07 PM UTC-5, Drew Mace wrote: I'm trying to install Jenkins on a Windows Server 2012 Standard edition box but hit a snag - I am getting an error: Service 'Jenkins' (Jenkins) failed to start. Verify that you have sufficient privileges to start system services. I ran the installer as administrator (elevated privs). Anyone have any ideas what i could try?
Re: using build artifacts from a way upstream job
you can just re copy the artifacts from the build job instead of the test job Den 27/11/2012 10.25 skrev Chris Withers ch...@simplistix.co.uk: Hi All, I have a job layout roughly like this: build-project | V test-project (matrix job) | V valgrind-project Now, the artifacts are built by the build job, and they're quite large. If all configs in the test-project pass, I want valgrind-project to run against the same artifact that passed the test-project job. The way I've done this in the past is to have the test-project job re-archive the artifacts and then kick off the valgrind-projects, however: - that's very space inefficient, as both build-project and valgrind-project end up storing copies of the artifacts - as test-project is a matrix job, it's tricky to figure out which build artifact the valgrind-project build should use. How can I get the valgrind-project kicked off by a successful test-project run, but use the artifacts from build-project that caused the test-project job to pass? cheers, Chris -- Simplistix - Content Management, Batch Processing Python Consulting - http://www.simplistix.co.uk
Re: using build artifacts from a way upstream job
either you have have simplified you're setup too much or it would still be then same artifacts from the build no matter what part of the matrix that passes and kicks of the valgrind build. so you should just choose the build project in the copy artifact section of your valgrind project Den 27/11/2012 10.25 skrev Chris Withers ch...@simplistix.co.uk: Hi All, I have a job layout roughly like this: build-project | V test-project (matrix job) | V valgrind-project Now, the artifacts are built by the build job, and they're quite large. If all configs in the test-project pass, I want valgrind-project to run against the same artifact that passed the test-project job. The way I've done this in the past is to have the test-project job re-archive the artifacts and then kick off the valgrind-projects, however: - that's very space inefficient, as both build-project and valgrind-project end up storing copies of the artifacts - as test-project is a matrix job, it's tricky to figure out which build artifact the valgrind-project build should use. How can I get the valgrind-project kicked off by a successful test-project run, but use the artifacts from build-project that caused the test-project job to pass? cheers, Chris -- Simplistix - Content Management, Batch Processing Python Consulting - http://www.simplistix.co.uk
Re: Praqma ClearCase UCM plugin: is it possible to know the viewroot directory when configuring a buildjob ?
Hey, Christian the maintainer of the plugin is on vacation for the moment but i will try to help you. Please correct my if I'm wrong but the problem you are trying to solve is finding the fully quallified path to the viewroot? if you are using a standard setup and have not change the 'Custom workspace' setting on the job config site you should be able to get the path with %workspace%view wher the %workspace% will be an environment variable set by jenkins pointing to the directory the job are working in(I must admit that i can't remember if is includes trailing \). and view being the folder ccucm is creating the view in. This path(%workspace%view) should be the variable you are looking for. If this is not what you are looking for please elaborate and hopefully and can help you futher /Jes *Jes Struck* Consultant Praqma A/S Tel:+45 22 71 82 46 Mail: j...@praqma.net web: www.praqma.net On 17 October 2012 15:31, marcdb mdeb...@gmail.com wrote: Hello, I am trying to setup Jenkins with the ClearCase UCM plugin from Praqma. We are currently using Ant+Ivy as buildsystem. All our buildtools (JDK, Ivy, Ant etc...) and buildfiles (build.xml, ivy.xml) are under version control, and are thus included in the ClearCase view. The ant executable and build.xml file are always stored in the same location relative to the view-root directory. When configuring a build job on the Jenkins console, I would like to call ant with such a build.xml file stored in ClearCase. To do this, I need however the viewroot directory. One solution would be that we could set the name of the viewroot directory when configuring the buildjob. I have seen that this is an enhancement request for the plugin, so I can't use this option at the moment. Another solution would be that the name of the viewroot is available by means of a parameter that could be used when configuring the buildjob. Does anybody knows if this is possible ? Or are there other alternatives ? Thanks, Marc