How to pass custom environment variable between jobs

2013-05-14 Thread Z W
Hi All In the build section, we selected Use Shell to include our shell scripting to run on a slave for job A. This job A triggers Job B after completion. Job B needs job A's paramterized parameters to run Job B task. We have been unable to pass the our custom environment variable value to Job B f

Re: Access jenkins artifacts

2013-05-14 Thread Zigster
Thanks for the hints...!! @DarkRift: yep that's what I'm trying to figure out: What methods of the Jenkins API to use for accessing the artifacts of a previous build (especially clover.xml) and to access a specific node and it's attribute... Thanks again for assistance... -- You received th

UnsupportedOperationException when performing a build step from Groovy

2013-05-14 Thread kormbrek
If I invoke the Copy Artifact plugin from a System Groovy script like this: copyArtifact.perform(build, launcher, listener) I get: java.lang.UnsupportedOperationException at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:95) Because Groovy picks the deprecated me

AUTO: Andreas Schilling/Twt-Gmbh is out of the office. (Rückkehr am 03.06.2013)

2013-05-14 Thread Andreas Schilling
Ich kehre zurück am 03.06.2013. Bitte wenden Sie sich in dringenden Fällen an Dr. Thorsten Scheibler (thorsten.scheib...@twt-gmbh.de) oder telefonisch an das TWT Sekretariat Tel: +49-7158/1715-0. Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht  "incorrect parameters passed to dow

Re: Problem with database configuration - help appreciated

2013-05-14 Thread Hassan Parthasarathy
I am setting up the DB connections so that I can use them in my jobs. I am setting the CLASSPATH by setting up the environment variable in Jenkins Environment configuration. It is not BUILD that the build I am using or setting. Thanks Partha On Tue, May 14, 2013 at 4:58 PM, Sami Tikka wrote: >

Re: Resend: Publish Over CIFS Plugin fails when used over internet

2013-05-14 Thread Mark Waite
I have seen poor results with CIFS over wide area network (in general, outside Jenkins).  My excuse was that CIFS is a file system sharing protocol, which makes it less suitable for a wide area network transport.  You might consider using a different transport (http, ftp, or scp). Mark Waite

Automatic Tool Installation

2013-05-14 Thread Andrew
How do I tell a job/slave that it needs to install gradle? I have added Groovy under the system configuration and set it up to install automatically. When I run a job that requires groovy (its attached to Windows slave) I get: java.IO.Exception: Cannot run program "groovy" (in directory "c:\jen

Resend: Publish Over CIFS Plugin fails when used over internet

2013-05-14 Thread Richard Otter
This is a show stopper for us. Any ideas? Thanks! I have started to use the "Publish Over CIFS Plugin" because I have tried to move some of our build machines to Amazon EC2. I formerly just did a file copy to our Windows server file share from the Windows slaves because they were running

A way to loop through a list of "options" set in built-in Choice parameter plugins and kick off a build?

2013-05-14 Thread Sam Xiao
I used the "built-in Choice parameter" for one of the job in my Jenkins. I would like to know if there's a way or another plugin that does this: - loop through each item on the list of the "Choices" under - start a build with the selected choice - keep this cronjob running as a nightl

Re: Using JELLY_SCRIPT template with email-ext shows only the literal string, not eht actual email

2013-05-14 Thread Slide
What version of email-ext are you using? On Tue, May 14, 2013 at 4:39 PM, David Brossard wrote: > > I have tried to add email notifications into Jenkins but I have been > unable to get anything other than the default variables to work. I have > tried adding > $CHANGES > ${CHANGES} > and both sh

Using JELLY_SCRIPT template with email-ext shows only the literal string, not eht actual email

2013-05-14 Thread David Brossard
I have tried to add email notifications into Jenkins but I have been unable to get anything other than the default variables to work. I have tried adding $CHANGES ${CHANGES} and both show nothing in the email. I have tried adding the example: ${JELLY_SCRIPT,template=”html”} but it just show

incorrect parameters passed to downstream build with Parameterized Trigger plugin

2013-05-14 Thread Dan Tenenbaum
Hi, I have two multi-configuration projects, A and B. Each job is configured to run on the same three nodes: the master (linux) and mac and windows slaves. Project A is set up to trigger a build of B when A builds successfully, passing it the following predefined parameters (using the Parameter

Re: Discard Old builds/Artifacts

2013-05-14 Thread teilo
Artifacts/builds will be discarded when any of the conditions are met and the job is run. -- 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+unsub

Re: Manual deploy of the msbuild.zip plugin file into Jenkins

2013-05-14 Thread Adam Westhusing
Do you have direct access to the machine? You should be able to put the plugins in the Jenkins/plugins directory and then install the plugin through the UI. I believe if you already have it in the plugins directory, Jenkins will use the local copy. On Tue, May 14, 2013 at 3:48 PM, Sami Tikka w

Re: Problem with database configuration - help appreciated

2013-05-14 Thread Sami Tikka
Are you trying to ste up database connections for DB2 in Jenkins or in a build that is executed by Jenkins? Jave you set the CLASSPATH for Jenkins or in a build that is executed by Jenkins? How did you set the CLASSPATH? If you want to set it in a build, have you verified it is there? How? --

Re: Manual deploy of the msbuild.zip plugin file into Jenkins

2013-05-14 Thread Sami Tikka
I believe Jenkins does not have any support for uploading msbuild/mstest into your Jenkins server. This is usually the case with build tools. -- Sami Matthew Wright kirjoitti 14.5.2013 kello 22.24: > Due to firewall restrictions, I have to download plugin packages and upload > them instead of

Manual deploy of the msbuild.zip plugin file into Jenkins

2013-05-14 Thread Matthew Wright
Due to firewall restrictions, I have to download plugin packages and upload them instead of using the update mechanism Jenkins provides. How to do this for the msbuild.zip and mstest.zip deployment packages is the question as I haven't found anything on this after a lengthy search. TIA. MW --

Re: downstream job set by Parameterized Trigger never runs

2013-05-14 Thread Eric Pyle
Hi Dan, I think the failure to trigger a downstream job with parameters is due to a Jenkins bug: https://issues.jenkins-ci.org/browse/JENKINS-10342. So you are on the right track to work around it. Cheers, Eric On 5/14/2013 2:27 PM, Dan Tenenbaum wrote: On Tuesday, May 14, 2013 10:09:23 A

Re: downstream job set by Parameterized Trigger never runs

2013-05-14 Thread Dan Tenenbaum
On Tuesday, May 14, 2013 10:09:23 AM UTC-7, Dan Tenenbaum wrote: > > Hi, > > I'm using the Parameterized Trigger plugin. I have a multi-configuration > project (project A) which has a post-build action to "Trigger parameterized > build on other projects", configured to run another multi-configu

Re: TCP Slave Listener Agent error in Jenkins

2013-05-14 Thread k . thieling
What is the OS?  Is it installed as a Windows service? Have you tried downloading the slave.jar file again directly from the master server? - Original Message - From: "DGupta" To: jenkinsci-users@googlegroups.com Sent: Tuesday, May 14, 2013 12:15:00 PM Subject: Re: TCP Slav

Re: shutting down an apache instance in post-build actions

2013-05-14 Thread Sami Tikka
Try https://wiki.jenkins-ci.org/display/JENKINS/PostBuildScript+Plugin -- Sami Chris Withers kirjoitti 13.5.2013 kello 13.46: > Hi All, > > How can I shut down an apache instance required for a job is the post-build > actions? > > I want this to happen regardless of whether all of the build

Re: TCP Slave Listener Agent error in Jenkins

2013-05-14 Thread DGupta
No random port isnt connecting it back again as well. The exact message is "*java.lang.exception: http://:8080/tcpSlaveAgentListener/ is invalid: -1 null at hudson.remoting.Engine.run (Engine.java:169*)." On Tuesday, May 14, 2013 5:23:40 AM UTC-7, KT wrote: > > What is the OS of the slave? > >

downstream job set by Parameterized Trigger never runs

2013-05-14 Thread Dan Tenenbaum
Hi, I'm using the Parameterized Trigger plugin. I have a multi-configuration project (project A) which has a post-build action to "Trigger parameterized build on other projects", configured to run another multi-configuration project (project B) when the build is stable, and pass B the current b

Re: Jenkins and Jetty

2013-05-14 Thread Alexander Voss
Hi again, I figured out that the way to create a user account is to leave the 'allow users to sign up' box ticked initially, set up an account with all rights, the remove the tick. (perhaps that as too obvious for me to see...) However, my question about the configuration of Jenkins in Jetty is

Sourcing and using XSL to use boost.test with xUnit

2013-05-14 Thread John Dexter
Searching online, I've found no two identical XSLs and no definitive reference how to get the results of boost.test to work with xUnit/Jenkins - some versions seem to want stdout, others stdout+stderr, and every version I've tried has either failed to process my input XML, or produced output XML th

Problem with database configuration - help appreciated

2013-05-14 Thread ifxtechie
Hi, I am trying to setup database connections for DB2 in Jenkins; But, I am getting the error as below: class not found:com.ibm.db2.jcc.db2driver I have included the environment variable to include the JDBC driver in the CLASSPATH .I know this does not make sense to expect the database connect

Re: Abridged summary of jenkinsci-users@googlegroups.com - 11 Messages in 8 Topics

2013-05-14 Thread Hassan Parthasarathy
Hi, I am trying to setup database connections for DB2; But, I am getting the error as below: class not found:com.ibm.db2.jcc.db2driver I have included the environment variable to include the JDBC driver in the CLASSPATH .I know this does not make sense to expect the database connection to pick up t

Re: How to assign JUnit test resolution in Jenkins ?

2013-05-14 Thread Mark Waite
I think the "Claim" plugin does what you want.  It allows a user to claim a broken test (in addition to a broken build). That is slightly different than assigning a broken test to a person, but may be worth investigating. Mark Waite > > From: sylvain bourgin

Re: Access jenkins artifacts

2013-05-14 Thread William Soula
The cobertura plugin will fail if the threshold for the code coverage falls below a certain level, but I don't think it will automatically adjust as metrics get better, that would probably be a manual thing every now and then to checkout what to set them too. I don't know if it would work with

Re: Access jenkins artifacts

2013-05-14 Thread Jerry
Have you considered using the Sonar plugin? http://docs.codehaus.org/pages/viewpage.action?pageId=116359341 That could do the work for you, as well as lots of additional stuff. On Tuesday, May 14, 2013 6:46:26 AM UTC-4, Zigster wrote: > > Hi Jenkins-Users, > > is there a good way to access bui

Re: Discard Old builds/Artifacts

2013-05-14 Thread k . thieling
Does anyone have any thoughts about this? - Original Message - From: "KT" To: jenkinsci-users@googlegroups.com Sent: Wednesday, May 8, 2013 10:11:20 AM Subject: Discard Old builds/Artifacts There is a Discard old builds option in Jenkins jobs with a few different options.   W

Re: TCP Slave Listener Agent error in Jenkins

2013-05-14 Thread k . thieling
What is the OS of the slave? If you disabled security, does it end up working again?  If so, what port?  Maybe something else is using that port already... - Original Message - From: "DGupta" To: jenkinsci-users@googlegroups.com Sent: Tuesday, May 14, 2013 12:36:49 AM Subje

Re: Access jenkins artifacts

2013-05-14 Thread Richard Lavoie
Then from groovy it's a matter of calling the right method of the jenkins java api to retrieve the right file. On Tuesday, May 14, 2013, Zigster wrote: > Hi Jenkins-Users, > > is there a good way to access build artifacts, e.g. the code coverage > report in the clover.xml of - for example - the

RE: Jenkins Plugins: Recommended UI Technology?

2013-05-14 Thread Alex Earl
I'd highly recommend using Groovy instead of Jelly. It is way easier to work with and debug. Sent from my Windows Phone -- From: Jochen Ehret Sent: 5/14/2013 1:55 To: jenkinsci-users@googlegroups.com Subject: Jenkins Plugins: Recommended UI Technology? Hi all, we are

Re: Access jenkins artifacts

2013-05-14 Thread Richard Lavoie
I believe you would have to use the archive artifact plugin so those files are kept affer a build then you should be able to retrieve them from a next build. I thought there was a plugin already for that use case (to fail if the coverage deteriorates )... Or was it someone on the dev/user list ...

Access jenkins artifacts

2013-05-14 Thread Zigster
Hi Jenkins-Users, is there a good way to access build artifacts, e.g. the code coverage report in the clover.xml of - for example - the last stable build ? Background: In a php project being built by jenkins, I would like to access the code coverage ratio of a previous (stable) build and com

How to assign JUnit test resolution in Jenkins ?

2013-05-14 Thread sylvain bourgin
Hi everyone, We are a team who develop a software written in Java. We use JUnit for unit tests. We would like to find a plugin for Jenkins to monitor the results of unit tests. The aim is to know which test is broken and to be able to assign its resolution to someone. For exemple you can do it

Re: How to add third-party extension to maven-plugin

2013-05-14 Thread Aurélien Bourdon
Solved in adding the ${MAVEN_HOME}/lib/ext directory to the original maven3-agent's classworlds.conf file and in adding -Dclassworlds.conf= to the MAVEN_OPTS variable. My classworlds.conf file looks like (note the optionally add of ${maven.home}/lib/ext/*.jar): # # mostly copied as-is from $MAV

archive artifacts hangs "forever"

2013-05-14 Thread Cristina Aiftimiei
Hi, I have installed (and after a while downgraded to 1.513) Jenkins 1.514 on a master - Unix node (SL 6.4) and configure it with 3 slaves (SL5, SL6 and Deb). All VM (virtual). I continuosly have issues with the "Archive artifacts" step that is hanging "forever", until I kill the build. Yeste

Jenkins Plugins: Recommended UI Technology?

2013-05-14 Thread Jochen Ehret
Hi all, we are just evaluating which UI technology to use for our Jenkins Plugin. We have already some experience with Jelly but we are wondering if this is still the recommended technology (regarding documentation, maintainability etc.). What about Ruby or Groovy as alternatives? Are there any

Re: Jenkins and Jetty

2013-05-14 Thread Alexander Voss
Hi again, sorry, I should have mentioned that I am trying to use the Jenkins built-in user database and per-project matrix authentication. Cheers, Alex On Tuesday, 14 May 2013 07:32:46 UTC+1, Alexander Voss wrote: > > > Dear all, > > I have been trying to install Jenkins in a Jetty container.