Re: Dynamic selection of downstream jobs

2013-10-09 Thread Moral
Hi Geoff, Thanks for the email. The downstream job is generating the c++ code from matlab models (simulink). At the end of the downstream job the upstream job is copying all the generated code with copy artifacts plug in (copy from the downstream workspace to the upstream workspace). I would

RE: request on Jenkins error for time stamp

2013-10-09 Thread Matthew.Webber
The way you update jenkins depends on how it was installed originally, and how it runs. Was it installed using a package manager (e.g. apt-get?), or did you just download the .war file? Does it run within a container such as Tomcat? If you run Jenkins with java -jar jenkins.war, Jenkins will be

Re: request on Jenkins error for time stamp

2013-10-09 Thread bala nageswar Chadalavada
thanks Mattew /opt/apache-tomcat-7.0.33/bin we using the Tomcat for the same . and for starting and stopping we use startup.sh script under bin. Also if i need auto upgrade, i would like to make sure all the jobs i created are OK ,i will check ur links Thanks bala On Wed, Oct 9, 2013 at

How to make Jenkins use already existing environment variables set on a slave node?

2013-10-09 Thread siddharth roy
I am making use of a batch script that is supposed to run on a slave node, which makes use of *Sahi*. The environment variable for Sahi is set as '* SAHI_HOME*' on the node. When I run the batch I figure out, it is not able to locate Sahi classes. How do I enforce Jenkins to make use of

RE: How to make Jenkins use already existing environment variables set on a slave node?

2013-10-09 Thread Ginga, Dick
It should use all environment variables set on the slave. Be sure to configure SAHI_HOME for the user that the slave runs under or set it as a SYSTEM environment variable. Another way is to add a SET command to your batch file. That will exist for the duration of your batch file execution.

Re: How to use Jenkins to build TI Code Composer Studio projects?

2013-10-09 Thread Slide
Does it not just create makefiles in the backend? It actually manages all of the build stuff within the IDE itself? On Wed, Oct 9, 2013 at 3:49 AM, David Aldrich david.aldr...@emea.nec.comwrote: Hi ** ** I would like to build our TI Code Composer Studio (v5) projects using Jenkins

RE: How to use Jenkins to build TI Code Composer Studio projects?

2013-10-09 Thread David Aldrich
Yes, it creates its makefiles automatically. Even if one could identify or export them, that wouldn't be desirable because one wouldn't know if they represented the latest set of source files. I think that is why people use eclipse 'headless' builds. But I am open to correction! David

Need help desperately

2013-10-09 Thread Ginga, Dick
I installed the new version, 1.4, of the xcode plug-in and immediately hit a NPE. Now I'm in big trouble. I can't download to 1.3.3 because that failed. I had to fresh install 1.4 which failed again. How can I get the previous version of this Plugin Dick Ginga, Informatics RD PerkinElmer

Re: How to use Jenkins to build TI Code Composer Studio projects?

2013-10-09 Thread Slide
I came up with the following links from TI's website, so I think your idea of running in headless mode is correct. http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/3670/13226.aspx#13226

Re: JNLP Slave on WinXP 64 bit gives error

2013-10-09 Thread Michael Landman
I see the same problem, often. Occasionally the agent crashes and doesn't recover from this, too. :( Has anyone been able to figure this one out? On Tuesday, September 10, 2013 3:27:16 AM UTC-4, Gaurang shah wrote: HI Guys, I am running one of the JNLP slave on windows xp 64 bit, however as

RE: Need help desperately

2013-10-09 Thread Ginga, Dick
There is already a Jira bug open on this issue. I will try your work around.thanks From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Arnaud Héritier Sent: Wednesday, October 09, 2013 9:46 AM To: jenkinsci-users@googlegroups.com Subject: Re: Need help

Re: LTS 1.509.3 -- Bad Fingerprint Invasion

2013-10-09 Thread jieryn
Greetings, On Wed, Oct 9, 2013 at 1:23 AM, Daniel Beck m...@beckweb.net wrote: It looks like you're referring to https://issues.jenkins-ci.org/browse/JENKINS-19515 which will be fixed in 1.509.4. There's already an RC, so you could try upgrading.

CORS for REST API

2013-10-09 Thread Ashley Coker
Does anyone know how to install: https://github.com/jhinrichsen/cors-plugin/ I want to enable CORS for the REST API so that OPTIONS requests are treated respecting CORS. I have found the above GitHub repo, but I have no idea how to install this plugin or if it works! Help much appreciated.

Problems with external SMTP

2013-10-09 Thread Patrick Zies
Hello I have the following problem when i try to use an external SMTP server with jenkins. Client does not have permissions to send as this sender I asked the provider for all informations i need, like name of SMTP server, or what user to use etc. Is this a problem with my provider or a

RE: Problems with external SMTP

2013-10-09 Thread Matthew.Webber
Have you configured Jenkins with the details of your SMTP server? From the web interface, see Manage Jenkins - Configure System, down the bottom is a section “E-mail Notification” – make sure you click on “Advanced”, fill in the details. Also click on the help icon for the first field “SMTP

Re: Groovy objects?

2013-10-09 Thread Chris Cooper
Thanks! But I can ask for Thread.currentThread().executable and 'executable' is not a member of the Java Thread class, which means Thread.currentThread() is returning some sub-class of Thread (which is hardly surprising). Again though, I'm not looking for an answer to what type of object is

Could Jenkins switch slave automatically when slave has error?

2013-10-09 Thread dennys
I use several slaves to build my job, if I shutdown one of them, Jenkins will use other slaves to build. But I found if slave has error, Jenkins will re-try to use this slave and not switch to others. This is the error log java.io.IOException: Remote call on jenkins02 failed Is it possible to

Reuse output directory to do incremental builds

2013-10-09 Thread D Soa
I have an existing Ant build that uses the depend task to keep track of dependencies and compile source files if depenencies have changed from the previous build. This works great for incremental builds and speeds up the build considerably. Jenkins appears to be designed more for build from

Re: Groovy objects?

2013-10-09 Thread Eric Pyle
This is the doc for the extended JDK used by Groovy: http://groovy.codehaus.org/groovy-jdk/ I use this regularly when writing Groovy scripts, which I am still getting the hang of. Eric On 10/9/2013 11:03 AM, Chris Cooper wrote: Thanks! But I can ask for Thread.currentThread().executable

Re: Groovy objects?

2013-10-09 Thread Chris Cooper
We're getting closer (grin)! Let me ask a specific question: In my Jenkins system script, Thread.currentThread() returns an object of type hudson.model.Executor. I know this because in my Groovy script I assigned Thread.currentThread() to an untyped variable (a def) and then did a println

Re: Groovy objects?

2013-10-09 Thread Les Mikesell
On Wed, Oct 9, 2013 at 11:04 AM, Chris Cooper chris.coo...@veranmedical.com wrote: We're getting closer (grin)! Let me ask a specific question: In my Jenkins system script, Thread.currentThread() returns an object of type hudson.model.Executor. I know this because in my Groovy script I

Re: Reuse output directory to do incremental builds

2013-10-09 Thread Baptiste Mathus
Jenkins isn't designed to build from scratch. From what you describe, Jenkins should actually already do what you like by default. If available, Jenkins will launch new builds on the same previously used slave. In this case, you should find a workspace where there's no reason what you are

script management for jobs...

2013-10-09 Thread Jeff
I have a groovy script that pulls the maven version from the project pom and sets and environment variable (included below for anyone that wants it). In the job section for executing a System Groovy Script I can insert the code directly or reference what seems to be an arbitrary path to the

How to execute application (unit test) in matrix build?

2013-10-09 Thread cscooper
I've got a matrix build (multi-configuration) that is building both my program and the associated unit test application (google test, if it matters) on three platforms - Mac, Linux, and Windows. I am successfully building all 6 programs, now I need to run the unit test on all 3 platforms. What

Re: script management for jobs...

2013-10-09 Thread Geoff Cummings
Try scriptler plugin https://wiki.jenkins-ci.org/display/JENKINS/Scriptler+Plugin You can manage scripts centrally and you get a build step to execute scriptler scripts. You can also pass parameters from the job to the script Geoff On 9 Oct 2013, at 17:40, Jeff predato...@gmail.com wrote: I

Re: Groovy objects?

2013-10-09 Thread Les Mikesell
On Wed, Oct 9, 2013 at 12:14 PM, Eric Pyle eric.p...@cd-adapco.com wrote: Using Les' suggestion of brute force search, I did the following: grep -r currentThread(); * ../../Documents/currentThread.txt This gives me source code lines that reference currentThread(). Looking through these, you

Repeatable, ListboxModel in jelly (PluginDev)

2013-10-09 Thread Péter Szegvári
Hello Guys! I am new to plugin development. My goal is to choose multiple elements from a list, and the collection of the values back to the constructor. I have already made a ListboxModel with the possible items in it.It works fine. It was something like this, although I can't remember

Attach report text files to build?

2013-10-09 Thread cmpich
I cannot figure out if any of the existing plugins can do this: I want to execute a job which generates a bunch of text files that should be attached to the job. Is it possible to have a link to all report files when the job is finished? I can see that Junit can display report contents.

Re: Repeatable, ListboxModel in jelly (PluginDev)

2013-10-09 Thread Ulli Hafner
I'm using the repeatable to select the parsers in the warnings plug-in: f:entry title=${%Scan console log} description=${%description.consoleLogParsers} f:repeatableProperty field=consoleParsers / /f:entry Here the the whole UI:

Re: Attach report text files to build?

2013-10-09 Thread Daniel Beck
HTML Publisher, despite the name, can also publish text files to be displayed in the web browser. In fact, it'll archive anything in the directory you specify, so you should write those reports into a subdirectory. Alternatively, Sidebar-Link Plugin and link to

Re: Attach report text files to build?

2013-10-09 Thread Les Mikesell
On Wed, Oct 9, 2013 at 3:06 PM, cmp...@gmail.com wrote: I cannot figure out if any of the existing plugins can do this: I want to execute a job which generates a bunch of text files that should be attached to the job. Is it possible to have a link to all report files when the job is

Re: Attach report text files to build?

2013-10-09 Thread Scott Evans
We use a post-build action to Archive the artifacts with an appropriate file mask. I believe this is a standard Jenkins function and not via plug-in. This will attach whatever items you want to the Jenkins build. Scott On Wed, Oct 9, 2013 at 3:06 PM, cmp...@gmail.com wrote: I cannot figure