How To commit in Jenkins

2012-11-14 Thread Levin, Ilya
Hello, I have a simple question, how can I commit changed to SVN repository done by Jenkins's shell script. I don't want to use the svn command in the shell itself. I was wondering if there is a plugin or an option I missed that does the Commit. Thanks

Re: EnvInject Plugin can't read key

2012-11-14 Thread AdvanTiSS
Variable name must begin with an Alphanumeric character or underscore character (_), followed by one or more *Alphanumeric characters*. That means that the variable *name* cannot contain any special characters other than underscore. On Wednesday, November 14, 2012 9:32:53 AM UTC+2, Olly wrote:

Re: Eamil-ext plugin add text to msg

2012-11-14 Thread AdvanTiSS
1) I suggest to check [deploymentJob.getLastCompletedBuild().getResult()] value instead of [deploymentJob.getIconColor()] 2) Does [selOutput] evaluated properly when running script in jenkins sript console? On Wednesday, November 14, 2012 9:32:51 AM UTC+2, Sven Finsterwalder wrote: Ok here

Re: Wanted: HOWTO write Dashboard portlets

2012-11-14 Thread Marco Ambu
Hi, there's no how to... volunteers wanted! Anyway the simplest thing you can do is to have a look at the source code of other plugins which provide specific portlets. There is also a brief description of what you need to do at https://wiki.jenkins-ci.org/display/JENKINS/Dashboard+View (section:

Re: New release of Dependency Graph View Plugin with experimental Javascript visualisation

2012-11-14 Thread David Resnick
Hi Stefan, I upgraded to the new version that includes jsplumb. It doesn't seem to be working; the jsplumb tab shows a blank area, though the Json format link displays a json representation of my dependencies. Let me know if there is any further information you need. I'm attempting to view

Re: Eamil-ext plugin add text to msg

2012-11-14 Thread Sven Finsterwalder
Yes in [selOutput] i see the logoutput. Am Mittwoch, 14. November 2012 09:50:06 UTC+1 schrieb AdvanTiSS: 1) I suggest to check [deploymentJob.getLastCompletedBuild().getResult()] value instead of [deploymentJob.getIconColor()] 2) Does [selOutput] evaluated properly when running script in

Re: Eamil-ext plugin add text to msg

2012-11-14 Thread Slide
Have you tried with something more simple, like just calling .setText with some random content? On Wed, Nov 14, 2012 at 12:32 AM, Sven Finsterwalder sab...@gmail.comwrote: Ok here it is: That code is the pre-send script area: def deploymentJob =

How to crash Jenkins in the 'Poll SCM' box

2012-11-14 Thread Patrick Byrne
I note that entering /15 * * * * in the 'Poll SCM' job config field causes a crash: Exception: java.lang.RuntimeException: Failed to instantiate class hudson.triggers.SCMTrigger from {scmpoll_spec:/15 * * * *} Stacktrace: javax.servlet.ServletException: java.lang.RuntimeException: Failed to

Re: Eamil-ext plugin add text to msg

2012-11-14 Thread Sven Finsterwalder
Yes that works... How can i add now this two vaulue to that email: ${BUILD_URL} br ${BUILD_LOG, maxLines=250, escapeHtml=true} Can i add this also in the pre-send Script area? Am Mittwoch, 14. November 2012 11:43:32 UTC+1 schrieb slide: Have you tried with something more simple, like just

Shell and environment variables

2012-11-14 Thread Levin, Ilya
Hi, I'm starting a parameterized build, say string parameter: param=value. When I use batch script to echo %param% it works and I see value When I use shell script to echo $param it shows nothing. Help? Thanks

Clearcase-ucm-plugin option to Build a specific baseline with a parameterized build problem

2012-11-14 Thread Ronan Mulvaney
Hi, Has anyone any experience or knowledge of using the Clearcase-ucm-plugin https://wiki.jenkins-ci.org/display/JENKINS/ClearCase+UCM+Plugin to build with a specific baseline parameter. My build is setup and can build without specifying a baseline which gives me some confidence that it is

Re: Eamil-ext plugin add text to msg

2012-11-14 Thread Sven Finsterwalder
Now i try that solution: def deploymentJob = Jenkins.getInstance().getItemByFullName(deployment-universal) def deploymentUrl = deploymentJob.getLastCompletedBuild().getAbsoluteUrl() def statusDeployment = deploymentJob.getLastCompletedBuild().getResult() println(+statusDeployment +\n+

RE: Eamil-ext plugin add text to msg

2012-11-14 Thread Alex Earl
Just put it into the content template, why do it through a pre-send script? The templates are very powerful. Sent from my Windows Phone -- From: Sven Finsterwalder Sent: 11/14/2012 4:35 AM To: jenkinsci-users@googlegroups.com Subject: Re: Eamil-ext plugin add text to

Re: Eamil-ext plugin add text to msg

2012-11-14 Thread AdvanTiSS
You mean TokenMacro inline groovy script? On Wednesday, November 14, 2012 2:22:13 PM UTC+2, slide wrote: Just put it into the content template, why do it through a pre-send script? The templates are very powerful. Sent from my Windows Phone -- From: Sven

Re: Eamil-ext plugin add text to msg

2012-11-14 Thread Sven Finsterwalder
But when i put it into the content template then all other jobs will also send this content if it use the editable email notification? Can i put it also in the Default Content? Am Mittwoch, 14. November 2012 13:22:13 UTC+1 schrieb slide: Just put it into the content template, why do it through

Re: Eamil-ext plugin add text to msg

2012-11-14 Thread Sven Finsterwalder
Yes thats what i mean. Am Mittwoch, 14. November 2012 13:26:25 UTC+1 schrieb AdvanTiSS: You mean TokenMacro inline groovy script? On Wednesday, November 14, 2012 2:22:13 PM UTC+2, slide wrote: Just put it into the content template, why do it through a pre-send script? The templates are

RE: Eamil-ext plugin add text to msg

2012-11-14 Thread Alex Earl
Please look at the wiki where it talks about groovy templates. You can do checks for things just like the code you have in the pre-send script, but then you don't have to worry about modifying the message afterward. Sent from my Windows Phone -- From: Sven

RE: Shelve Project - Waiting for next available executor

2012-11-14 Thread Lars Nordin
Even though the shelve project action is a virtual job and runs on the Jenkins host (somewhat similar to the parent of a matrix/multi-config job), you still have to have at least one build slave that will run any job so that the shelve job can run on it. From: jenkinsci-users@googlegroups.com

RE: Shelve Project - Waiting for next available executor

2012-11-14 Thread Vanetta Floyd
Thank you. Yes, we have a Linux, 2 Winodows, and 2 Mac, build servers. The jobs I'm trying to shelve have all run successfully. They just will not recognize the build servers. On Nov 14, 2012 5:29 AM, Lars Nordin lnor...@internap.com wrote: Even though the shelve project action is a virtual

Re: Wasted Minutes plugin -- stats available per build?

2012-11-14 Thread Stephen Connolly
We can see about adding that functionality into our plugin. It is a little tricky as Jenkins core does not provide the information and instead we have to track it ourselves. I've put an entry into our backlog... we'll see when it gets picked up (remember this is a free plugin) On 14 November

Re: New release of Dependency Graph View Plugin with experimental Javascript visualisation

2012-11-14 Thread Stefan Wolf
I just released version 0.6. Could you try this one? On Wednesday, November 14, 2012 6:33:23 AM UTC-3, David Resnick wrote: Hi Stefan, I upgraded to the new version that includes jsplumb. It doesn't seem to be working; the jsplumb tab shows a blank area, though the Json format link

Release of new long term support version?

2012-11-14 Thread Mark Waite
I haven't seen mention on the mailing list of a planned release date for Jenkins 1.480.1, the new long term support version.  The jenkins-ci.org web site still shows 1.466.2 as the long term support release. Any update on a planned release date for the next long term support version? Thanks!

RE: Shelve Project - Waiting for next available executor

2012-11-14 Thread Vanetta Floyd
Thank you. Yes, we have a Linux, 2 Winodows, and 2 Mac, build servers. The jobs I'm trying to shelve have all run successfully. They just will not recognize the build servers (they have only been On Nov 14, 2012 5:29 AM, Lars Nordin lnor...@internap.com wrote: Even though the shelve project

RE: Release of new long term support version?

2012-11-14 Thread David Aldrich
Will the next LTS release include the latest version of the SVN plugin? I would like to see that happen, if that release of the plugin is stable. BR David -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci- us...@googlegroups.com] On Behalf Of Kohsuke

Re: Release of new long term support version?

2012-11-14 Thread Stephen Connolly
Given that the change would need soak time, and also given that trunk is only at 1.39 I don't think the LTS will have a newer version than was in 1.480 On 14 November 2012 15:13, David Aldrich david.aldr...@emea.nec.com wrote: Will the next LTS release include the latest version of the SVN

RE: Release of new long term support version?

2012-11-14 Thread David Aldrich
Ok, thanks. It's not a big problem for me but perhaps it's worth recognising that svn 1.7 has been out for a year now. Best regards David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Stephen Connolly Sent: 14 November 2012 15:26 To:

Jenkins email ext plugin -To Send the file contents as mail message body

2012-11-14 Thread hari haran
Hi All, I added email-ext to my jenkins to send emails about test results . I want to send a html file content as email message body. I tried changing Content Type as HTML (text/html) and i gave an iframe in Default Content field. But its not able to pick the iframe. Here is the code Code

Jenkins upgrade path

2012-11-14 Thread Dale Hoshooley
I'm trying to upgrade Jenkins from version v1.143 to 1.490 and ran into a couple of issues. I've tried the following upgrade paths: - deployed new Jenkins war module to tomcat (7.x) - due to out of date plug-ins the error log was littered with exceptions. - updated all installed

Re: Can anoyone help determine the cause of a Jenkins crash.

2012-11-14 Thread MDKF
Thanks for your reply Harpreet. The out of memory issue was caused by something failing. In this case increasing the heap space would not fix the issue. On Monday, November 12, 2012 7:53:31 PM UTC-5, Harpreet singh Wadhwa wrote: Looks like Memory issue *OutOfMemoryError: Java heap space*

Re: Release of new long term support version?

2012-11-14 Thread Stephen Connolly
Well there is also the issue of the licensing change in svnkit. I am not sure that somebody has validated that all 3rd party dependencies of Jenkins have their source bundles available, which could make it problematic to upgrade to svnkit versions with the viral license. Of course Jenkins itself

RE: Jenkins email ext plugin -To Send the file contents as mail

2012-11-14 Thread Alex Earl
message body MIME-Version: 1.0 Content-Type: multipart/alternative; boundary==_Part_375_26436934.1352907687514 --=_Part_375_26436934.1352907687514 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit You most likely can't send an iframe correctly in an email.

RE: Problems with Authorization configuration . . .

2012-11-14 Thread Merrow, Frank
Rob, I just updated a system that I have not applied the fix to . . . to Jenkins 1.490. The results are mixed . . . The good news (great news in fact) is that the login ICON does now appear . . . so users can login . . . The bad news is that all Job ICONs remain broken . . . Anonymous users

Re: Jenkins email ext plugin -To Send the file contents as mail

2012-11-14 Thread Marek Gimza
I think that the iframe would work in a jelly script/ There should be enough documentation in the Email Ext plugin's TWIKI page about jelly scripts. My quick summary of what could be done: 1. Create the subdir $JENKINS_HOME/email-templates

Re: Release of new long term support version?

2012-11-14 Thread Les Mikesell
On Wed, Nov 14, 2012 at 10:35 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Well there is also the issue of the licensing change in svnkit. I am not sure that somebody has validated that all 3rd party dependencies of Jenkins have their source bundles available, which could make it

Re: Shelve Project - Waiting for next available executor

2012-11-14 Thread VFloyd
That did it.Thank you Lars On Wednesday, November 14, 2012 5:29:38 AM UTC-8, Lars Nordin wrote: Even though the shelve project action is a virtual job and runs on the Jenkins host (somewhat similar to the parent of a matrix/multi-config job), you still have to have at least one build

Re: Wanted: HOWTO write Dashboard portlets

2012-11-14 Thread Glfk4rt
Thanks Marco. Let's see what I can fit into my next sprint. Rodney On Wed, Nov 14, 2012 at 1:17 AM, Marco Ambu marco.a...@gmail.com wrote: Hi, there's no how to... volunteers wanted! Anyway the simplest thing you can do is to have a look at the source code of other plugins which provide

External job monitoring and reporting?

2012-11-14 Thread Scott Evans
We're slowly migrating to a Jenkins-based build system from an older system based significantly on Sharepoint for data management. As part of that system, I've written a significant number of external monitoring tools which track build run times, build machine status, etc. by pulling data from

JUC 2013

2012-11-14 Thread Alyssa Tong
Hi All, I need to start thinking about and plan for JUC SF 2013. In previous years we've had JUC SF on a Sunday, right before JavaOne and in SF. Now that we've build good traction with JUC SF, i'd like to get feedback from the community whether we should host the next JUC in the Bay Area, on a

RE: JUC 2013

2012-11-14 Thread Robert
My only real request is that you not hold it the same weekend as the Oracle conference again. The hotels were really expensive that weekend. L -Robert Kangas (Big Fish) From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Alyssa Tong Sent:

Re: How to keep slaves updated

2012-11-14 Thread Harpreet singh Wadhwa
Don't know how it happens with JNLP, but for Linux machines (over SSH). It will update it automatically, when ever slave.jar is updated on master and connection (ssh) is restarted. PS: If you see connection logs (on the Jenkins UI), you will see it updating the slave.jar file. Thanks On Wed, Nov

Re: How to keep slaves updated

2012-11-14 Thread Vincent Latombe
Hello, On recent Jenkins (~1.450) you can install windows slave directly from Jenkins (and run it using a specific user if required), you don't need to use JNLP anymore, and slave.jar is updated each time you restart the master (each time the master connects to the slave to start its service

Re: How to keep slaves updated

2012-11-14 Thread Diogo Guerra
On recent Jenkins (~1.450) you can install windows slave directly from Jenkins (and run it using a specific user if required), you don't need to use JNLP anymore. How should I configure the node then? --Diogo On Wed, Nov 14, 2012 at 10:29 PM, Vincent Latombe vincent.lato...@gmail.com wrote:

Re: Release of new long term support version?

2012-11-14 Thread Stephen Connolly
Shouldn't be a problem. Just a question of somebody doing $ mvn dependency:tree -pl war On Jenkins having made sure they are using a version of dependency plugin that works with the version of maven they are using (afaik the very latest now has dependency:tree working on maven 3) And then

RE: How to keep slaves updated [SEC=UNOFFICIAL]

2012-11-14 Thread Andrew Harley
On recent Jenkins (~1.450) you can install windows slave directly from Jenkins (and run it using a specific user if required), you don't need to use JNLP anymore. How should I configure the node then? We always configure slaves via SSH. - Andrew

Re: New release of Dependency Graph View Plugin with experimental Javascript visualisation

2012-11-14 Thread David Resnick
Working now. Looks very nice! - David On Wednesday, November 14, 2012 4:05:12 PM UTC+2, Stefan Wolf wrote: I just released version 0.6. Could you try this one? On Wednesday, November 14, 2012 6:33:23 AM UTC-3, David Resnick wrote: Hi Stefan, I upgraded to the new version that includes