Re: List Jobs by plugins used?

2013-10-09 Thread Steffen Breitbach
Looks nice, I'll give it a shot. Thanks! On Wed, 2013-10-09 at 21:44 +0200, Daniel Beck wrote: > The following 'Groovy system' (requires Groovy plugin) build step script > works for Project subclasses, i.e. freestyle projects. This works well enough > for me, you might need to adapt for other p

Re: Could Jenkins switch slave automatically when slave has error?

2013-10-09 Thread dennys
Thanks, I issue a ticket in JIRA. https://issues.jenkins-ci.org/browse/JENKINS-19957 -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Could-Jenkins-switch-slave-automatically-when-slave-has-error-tp4678528p4678762.html Sent from the Jenkins users mailing list archive at

Re: API-created jobs have missing "Build Now" link and don't run.

2013-10-09 Thread ashleycoker
How do I install this from the update centre? I managed to extract: {"gav":"org.jenkins-ci.plugins:literate:0.1-beta-2","latestRelease":true,"timestamp":138083690,"title":"Literate Plugin","version":"0.1-beta-2","wiki":"https://wiki.jenkins-ci.org/display/JENKINS/Literate+Plugin"} Does it wor

Re: Repeatable, ListboxModel in jelly (PluginDev)

2013-10-09 Thread Péter Szegvári
Thanks for your answer. Now I understand the concept of these repeatables! I'll start working the code, see if I can make it work. On Wednesday, October 9, 2013 10:12:22 PM UTC+2, Ullrich Hafner wrote: > > I'm using the repeatable to select the parsers in the warnings plug-in: > > description="$

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, wrote: > I cannot figure out if any of

Re: Attach report text files to build?

2013-10-09 Thread Les Mikesell
On Wed, Oct 9, 2013 at 3:06 PM, 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 finished? > I can se

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 'lastSuccessfulBuild/archive/path

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: Here the the whole UI: https://github.com/jenkinsci/warnings-plugin/blob/master/src/main/resources/hudson/plugins/warnings/WarningsPublisher/config.jelly Is your selectable package a Describable? Example: https://g

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. Thanks,

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 exact

Re: List Jobs by plugins used?

2013-10-09 Thread Daniel Beck
The following 'Groovy system' (requires Groovy plugin) build step script works for Project subclasses, i.e. freestyle projects. This works well enough for me, you might need to adapt for other project types (like Maven). It prints lists of projects by publisher/build wrapper/builder/trigger, and

Re: Groovy objects?

2013-10-09 Thread Les Mikesell
On Wed, Oct 9, 2013 at 12:14 PM, Eric Pyle 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 can see that c

Re: How to get particular version of a plugin

2013-10-09 Thread Stephen Connolly
The warning is actually that if you upgrade to 1.4 you *may* have data loss if you try to downgrade again. There are two kinds of warning on the screen: the first and most common is that it needs a newer version of Jenkins. The second is that it is not backwards compatible. The latest versions of

Problem with Throttle Concurrent Builds plugin

2013-10-09 Thread Jon Schewe
I just installed this today to try and avoid some issues I have with locks & latches. I have some multi-configuration jobs. I want to allow multiple jobs to run at the same time, but only 1 job of a given category to run per node. This sounds exactly like what the plugin was written for. So I went

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

2013-10-09 Thread cscooper
I've made some more progress and encountered a new strange error. I am creating a Launcher and calling pwd() and cmds(), passing the folder and application I wish to run. When I call the Launcher's start() function, it fails like so: FATAL: Cannot run program "AllTests" (in directory "/Users/Shar

Re: How to get particular version of a plugin

2013-10-09 Thread Jon Schewe
Thanks, that got me going again. On Wed, Oct 9, 2013 at 1:55 PM, William Soula < william.so...@drillinginfo.com> wrote: > https://updates.jenkins-ci.org/download/plugins/ > > Will > > -- > *From:* jenkinsci-users@googlegroups.com [jenkinsci-users@googlegroups.com]

RE: How to get particular version of a plugin

2013-10-09 Thread William Soula
https://updates.jenkins-ci.org/download/plugins/ Will From: jenkinsci-users@googlegroups.com [jenkinsci-users@googlegroups.com] on behalf of Jon Schewe [jpsch...@mtu.net] Sent: Wednesday, October 09, 2013 1:44 PM To: jenkinsci-users Subject: How to get particular

How to get particular version of a plugin

2013-10-09 Thread Jon Schewe
I just upgraded to LTS version 1.509.2 and found that I'm sing the SSH Credentials Plugin version 0.2 that has this bug[1]. The bug report says to upgrade to 0.3. When I look at the update center version 1.4 is the only version available and I get a warning that it's not compatible with my version

Re: script management for jobs...

2013-10-09 Thread Jeff
THANK YOU! I don't know how I missed that one...ack. On Wed, Oct 9, 2013 at 11:09 AM, Geoff Cummings wrote: > 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

Re: Groovy objects?

2013-10-09 Thread Eric Pyle
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 can see that currentThread returns a Thread object, which is sometimes a

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 wrote: I have a groovy script

Re: Reuse output directory to do incremental builds

2013-10-09 Thread Les Mikesell
On Wed, Oct 9, 2013 at 10:24 AM, D Soa wrote: > I have an existing Ant build that uses the 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. > > Jenk

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

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 groo

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 currentl

Re: Could Jenkins switch slave automatically when slave has error?

2013-10-09 Thread Baptiste Mathus
Sounds to me more like a bug or feature rather you want to report on jira than something you could solve here by configuration. Le 9 oct. 2013 17:02, "dennys" a écrit : > 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

Re: Groovy objects?

2013-10-09 Thread Les Mikesell
On Wed, Oct 9, 2013 at 11:04 AM, Chris Cooper 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 > assigned Thread.currentThr

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 thr.

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 an

Reuse output directory to do incremental builds

2013-10-09 Thread D Soa
I have an existing Ant build that uses the 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 scratch

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 Thre

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 let

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 se

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 probl

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. --

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 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. https://issues.jenkins-ci.org/browse/JENKINS-19515 is a fi

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 d

Re: Need help desperately

2013-10-09 Thread Arnaud Héritier
I had a NPE too after its upgrade. I just had to go into the job configuration and resaved it and it solved the issue. I didn't had the time to report the issue, it may help if you could open a ticket with the stacktrace On Wed, Oct 9, 2013 at 3:26 PM, Ginga, Dick wrote: > I installed the new v

RE: Need help desperately

2013-10-09 Thread Ginga, Dick
Thanks, trying now From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mandeville, Rob Sent: Wednesday, October 09, 2013 9:41 AM To: jenkinsci-users@googlegroups.com Subject: RE: Need help desperately Go to http://updates.jenkins-ci.org/download/plug

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

RE: Need help desperately

2013-10-09 Thread Mandeville, Rob
Go to http://updates.jenkins-ci.org/download/plugins/xcode-plugin/ and you'll be able to download any version. From there, you will have to go to the plugin manager, select the "Advanced" tab, and use the upload plugin function. --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-u

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

2013-10-09 Thread David Aldrich
Thanks Slide, I just wondered whether anyone here has experience of doing it? David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide Sent: 09 October 2013 14:28 To: jenkinsci-users@googlegroups.com Subject: Re: How to use Jenkins to build TI Cod

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 http://e2e.t

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 R&D PerkinElmer

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 From

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 wrote: > Hi > > ** ** > > I would like to build our TI Code Composer Studio (v5) projects using > Jenkins . Please can anyone

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. From

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 environme

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

2013-10-09 Thread David Aldrich
Hi I would like to build our TI Code Composer Studio (v5) projects using Jenkins . Please can anyone offer some hints on how best to do this? TI Code Composer Studio (CCS) v5 uses Eclipse and CDT, so perhaps users of other Eclipse C/C++ based projects could also comment. Do I need to do an Ec

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 2:5

[jenkins 1.456] Can't acess security view

2013-10-09 Thread Raouf
Hi everyone, I installed jenkins 1.456 and i'm getting a 404 error when i try to access http://jenkins-server/jenkins/configureSecurity or http://jenkins-server/configureSecurity So i tried to enable security by adding the following configuration true hudson.model.Computer.Configure:adm

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

Jenkins / Sonar and error reports

2013-10-09 Thread Nicolas Labrot
Hello, (First message, i'm glad to join this ML ;) I will talk about 2 issues I met yesterday about jenkins and sonar. I do not know who to blame (jenkins, sonar or PEBKAC) Jenkins 1.534, JDK 7u25, CentOS 6.4, Maven 3.0.5 *First issue * With a "maven project" when sonar skipped maven module (eg

Re: Dynamic selection of downstream jobs

2013-10-09 Thread Moral
Hi Geoff, I am afraid I cannot run concurrent downstream jobs since the downstream job clean up the workspace when starting. What I would like to achieve is that the upstream joo can choose dynamically the downstream jobs. Let´s say we have downstream jobs A and B (actually they do the same th