Resolving of environment variables within plugins not working

2014-03-11 Thread Tobias Kraft
Hi, it seems that the environment variables in plugins are not resolved. We are using the variable $WORKSPACE for definining the Faux Project Path in the violations plugin. In the console log we see after a run that the variable was not resolved. Is there a way to resolve environment variable

revers proxy auth plugin 1.0.1 -> 1.3.2 fails

2014-03-11 Thread Åsmund Østvold
I am trying to upgrade reverse proxy auth from 1.0.1 to 1.3.2 and I am having trouble [1].Jenkins version 1.532.2. If older release versions of packages are available I could try to do the full update path version to version. If more information is needed please tell me. Any hit/quick fix is of

Parameterized Trigger Plugin 2.23 broken

2014-03-11 Thread Matthew.Webber
If you use the Parameterized Trigger Plugin, please be aware that the just-released v2.23 contains what for me anyhow is a bug that caused all my trigger jobs to fail. I suggest you hold off upgrading till this is fixed. See https://issues.jenkins-ci.org/browse/JENKINS-22125 for details. Matthew

Re: Get return value from Powershell (Using windows batch command)

2014-03-11 Thread Kake
Help... kl. 08:56:38 UTC+1 fredag 28. februar 2014 skrev Kake følgende: > > Hi > > Using Jenkins to execute some scripts in a continuous integration task. > I have a job who copies some files to a folder, the name of the folder is > dynamically created. I wish to get the name of the folder.. bac

NoClassDefFoundError: hudson/remoting/PipeWindow$Key

2014-03-11 Thread jaison.chacko
Dear Team Have anyone come across this exception when executing a job on one of the slave machine Jenkins Master Version – 1.467 Master Java version - j2se_1.6.0_45 Slave Java version - j2se_1.6.0_27 Caused by: java.lang.NoClassDefFoundError: hudson/remoting/PipeWindow$Key at hudson.rem

Re: Maven Release Plugin throws Authentication Required error

2014-03-11 Thread D Vijay
HI, I am able to configure now and the release is working perfectly. I have to pass additional parameters from command line: -Dsvnkit.http.methods=Basic,Digest,Negotiate,NTLM which resolved the authentication issue. Thank You, Vijay On Mon, Mar 10, 2014 at 6:34 PM, D Vijay wrote: > Hi, > > Th

Doesn't poll for subversion changes when set to H * * * * or H/1 * * * * but polls fine with * * * * * and H/2 * * * * !?

2014-03-11 Thread karg
I have enabled a Jenkins job to poll for subversion changes every minute (H * * * * or H/1 * * * *). When I check the last poll status, it says last poll was an hour ago! So it does not poll every minute, aparently, using H * * * * or H/1 * * * *! The Jenkins log file does not contain any particu

Re: Doesn't poll for subversion changes when set to H * * * * or H/1 * * * * but polls fine with * * * * * and H/2 * * * * !?

2014-03-11 Thread Stephen Connolly
AFAIK `H * * * *` means poll once per hour at a random minute in the hour On 11 March 2014 11:25, wrote: > I have enabled a Jenkins job to poll for subversion changes every minute > (H * * * * or H/1 * * * *). > When I check the last poll status, it says last poll was an hour ago! So > it does

Re: Doesn't poll for subversion changes when set to H * * * * or H/1 * * * * but polls fine with * * * * * and H/2 * * * * !?

2014-03-11 Thread karg
Understood. But why is H/2 working, while H/1 is not? Am Dienstag, 11. März 2014 12:29:27 UTC+1 schrieb Stephen Connolly: > > AFAIK `H * * * *` means poll once per hour at a random minute in the hour > > > On 11 March 2014 11:25, > wrote: > >> I have enabled a Jenkins job to poll for subversion ch

Re: plugin wishlist/ideas

2014-03-11 Thread Eduardo Pareja Tobes
Hey Tomáš you could be interested in one of our ideas for GSoC - https://github.com/bio4j/gsoc14/wiki/AWS-based-bio4j-specific-CI-platform On Friday, February 28, 2014 4:00:44 PM UTC+1, Tomáš Bambas wrote: > > Hi all, > > the part of my Master thesis assignment is to create some plugin for > Je

Re: Doesn't poll for subversion changes when set to H * * * * or H/1 * * * * but polls fine with * * * * * and H/2 * * * * !?

2014-03-11 Thread Stephen Connolly
It's a hacky syntax... H * * * * can only sensibly mean once per hour as if you want every minute you just type * * * * * The /n formats are a different set of logic On 11 March 2014 11:52, wrote: > Understood. But why is H/2 working, while H/1 is not? > > Am Dienstag, 11. März 2014 12:29:27

Re: Doesn't poll for subversion changes when set to H * * * * or H/1 * * * * but polls fine with * * * * * and H/2 * * * * !?

2014-03-11 Thread karg
Actually what I want is "once a minute, but not exactly at second number zero", as I have lots of SVN jobs and want to spread these evenly of the current minute. Am Dienstag, 11. März 2014 13:13:17 UTC+1 schrieb Stephen Connolly: > > It's a hacky syntax... > > H * * * * can only sensibly mean on

Re: Doesn't poll for subversion changes when set to H * * * * or H/1 * * * * but polls fine with * * * * * and H/2 * * * * !?

2014-03-11 Thread Stephen Connolly
just limit concurrent polling and they'll form a queue On 11 March 2014 12:18, wrote: > Actually what I want is "once a minute, but not exactly at second number > zero", as I have lots of SVN jobs and want to spread these evenly of the > current minute. > > Am Dienstag, 11. März 2014 13:13:17 U

How to stop current build if corresponding pull request was updated?

2014-03-11 Thread Кирилл Бучарский
Any suggestions? -- 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

SVN Tagging Plugin Issue

2014-03-11 Thread Chris Beech
Hi there, I'm having two problems with SVN; 1. It's not showing any changes. The build is being invoked because of a change, but on the Jenkins page I never see any changes listed 2. The SVN tagging plugin is giving me this very frustrating error... [echo] 19:14:43 Compiling the

Re: Doesn't poll for subversion changes when set to H * * * * or H/1 * * * * but polls fine with * * * * * and H/2 * * * * !?

2014-03-11 Thread karg
Sounds interesting. How to do that? Am Dienstag, 11. März 2014 13:25:04 UTC+1 schrieb Stephen Connolly: > > just limit concurrent polling and they'll form a queue > > > On 11 March 2014 12:18, > wrote: > >> Actually what I want is "once a minute, but not exactly at second number >> zero", as I ha

Re: Doesn't poll for subversion changes when set to H * * * * or H/1 * * * * but polls fine with * * * * * and H/2 * * * * !?

2014-03-11 Thread Stephen Connolly
If you have enough jobs it's an option on the main jenkins configuration page (I forget the exact name or the number of jobs to get the option to display) On 11 March 2014 14:32, wrote: > Sounds interesting. How to do that? > > Am Dienstag, 11. März 2014 13:25:04 UTC+1 schrieb Stephen Connolly:

Re: Maven Release Plugin throws Authentication Required error

2014-03-11 Thread Baptiste Mathus
Congrats! Cheers 2014-03-11 11:53 GMT+01:00 D Vijay : > HI, > > I am able to configure now and the release is working perfectly. I have to > pass additional parameters from command line: > -Dsvnkit.http.methods=Basic,Digest,Negotiate,NTLM which resolved the > authentication issue. > > Thank You

RE: Doesn't poll for subversion changes when set to H * * * * or H/1 * * * * but polls fine with * * * * * and H/2 * * * * !?

2014-03-11 Thread James Nord (jnord)
Obligatory link to polling is evil. http://kohsuke.org/2011/12/01/polling-must-die-triggering-jenkins-builds-from-a-git-hook/ /James From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Stephen Connolly Sent: 11 March 2014 14:36 To: jenkinsci-users@googl

Re: Doesn't poll for subversion changes when set to H * * * * or H/1 * * * * but polls fine with * * * * * and H/2 * * * * !?

2014-03-11 Thread karg
Found it! Thank you for that tip. :-) Am Dienstag, 11. März 2014 15:35:55 UTC+1 schrieb Stephen Connolly: > > If you have enough jobs it's an option on the main jenkins configuration > page (I forget the exact name or the number of jobs to get the option to > display) > > > On 11 March 2014 14:

Re: Is it possible to have non editable execute shell for users?

2014-03-11 Thread Christian Willman
Stephen, I'm really interested in the Literate plugin! Like I mentioned to you and Jesse before (through Cloudbees support vis-a-vis my work), it's futile for us unless we can keep devs from creating FreestyleBuilds. IIRC the project types perform a permission check against Item.BUILD, so it se

RE: Is it possible to have non editable execute shell for users?

2014-03-11 Thread James Nord (jnord)
I also pointed out to CB that what I really wanted was to be able to apply parameters specified in the SCM to a template (via literate builds). So instead of Environment == · jdk1.6.0_64, RedHat_6 Build * mvn random command. I would like a way in source to describe the CB

Re: Is it possible to have non editable execute shell for users?

2014-03-11 Thread Stephen Connolly
Some of this might be better suited to the cloudbees users list... https://groups.google.com/a/cloudbees.com/forum/?hl=en#!forum/users as it is more about the CloudBees Templating plugin... And James... :-P On 11 March 2014 16:09, James Nord (jnord) wrote: > I also pointed out to CB that what

Re: How to stop current build if corresponding pull request was updated?

2014-03-11 Thread Baptiste Mathus
Another job running in parallel which would kill the other one(s) if something changes during the build? My 2 cents Le 11 mars 2014 14:17, "Кирилл Бучарский" a écrit : > Any suggestions? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. >

[Email-ext] Resolving email address from Cause.UserIdCause

2014-03-11 Thread Stuart Rowe
Hi, does anyone know of a way to look up a user's email address from their user ID? I can't make the assumption that the email is "use...@company.com" because I know this isn't always the case. We're using the Active Directory plugin for security which is where the email addresses for users are

Re: [Email-ext] Resolving email address from Cause.UserIdCause

2014-03-11 Thread Slide
You could use the mailmap-resolver-plugin, but I may be missing something because there seems to be a discrepancy with what you are saying. First you need to look up the user's email address from their user ID, but then you say you are getting email addresses from Active Directory? Can you clarify.

Jenkins is down hard

2014-03-11 Thread Ginga, Dick
Needs some help! Jenkins down after a reboot to load a couple new plugins. Does this mean anything: Mar 11, 2014 12:28:46 PM hudson.util.jna.Kernel32Utils load SEVERE: Failed to load Kernel32 java.lang.UnsatisfiedLinkError: Unable to load library 'kernel32': com.sun.jna.Native.open(Ljava/lang/S

Re: [Email-ext] Resolving email address from Cause.UserIdCause

2014-03-11 Thread Stuart Rowe
Sorry for the confusion: If a user schedules a single project that has an email post build step than the email address is resolved automatically by the Active Directory plugin. I'm having problems with a more complicated build pipeline where the requesting user isn't propagated to a down stream

Re: Jenkins is down hard

2014-03-11 Thread k . thieling
I'm not sure what that is referring to, but do you recall which plugins you updated? You might be able to add some files to the plugin folder for those plugins with name "pluginname.jpi.disabled" and start up Jenkins again. That should prevent the plugin from trying to load and then you mig

Re: Jenkins is down hard

2014-03-11 Thread Mark Waite
I had seen a case where adding the "git-server" plugin would block Jenkins from starting. It seemed to conflict with one or more of my other plugins. On Tue, Mar 11, 2014 at 1:06 PM, wrote: > I'm not sure what that is referring to, but do you recall which plugins > you updated? > > You might b

RE: Jenkins is down hard

2014-03-11 Thread Ginga, Dick
I added the managed scripts and the vs code metrics. But they seemed to also add the credentials and config-file . Jenkins is actually running but: All build flow jobs get that error and we have almost all build flow jobs. I managed to both disable and uninstall those 4 plugings but still not go

Reminder: JUCs CFP closing on March 30

2014-03-11 Thread Alyssa Tong
Hi All, Just a friendly reminder that JUC Call for Paperis closing on March 30. If you haven't submitted and would like to be a speaker please get your submission in. Also available are opportunities to be a JUC sponsor

Re: Jenkins is down hard

2014-03-11 Thread k . thieling
Disabling and uninstalling them will definitely still break your jobs as it sounds like the jobs have configurations that refer to these plugins. Before you uninstalled them you should have had the option to downgrade, not sure if you tried that or not... If you remember the version you were

Re: Jenkins is down hard

2014-03-11 Thread k . thieling
I apologize, looks like you said these plugins were newly added...seems odd that it would break the jobs then. - Original Message - From: "k thieling" To: jenkinsci-users@googlegroups.com Sent: Tuesday, March 11, 2014 2:15:37 PM Subject: Re: Jenkins is down hard Disabling and unin

RE: Jenkins is down hard

2014-03-11 Thread Ginga, Dick
And some of my jobs are missing from the dashboard but still exist as folders From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of k.thiel...@comcast.net Sent: Tuesday, March 11, 2014 3:18 PM To: jenkinsci-users@googlegroups.com Subject: Re: Jenkins is dow

Re: Jenkins is down hard

2014-03-11 Thread k . thieling
I have seen jobs disappear from the UI after downgrading or removing a plugin. Some plugins do not seem to remove the tags that it adds to the job config files... Do you have some backup config files for any jobs that you could compare to the new config files? You might see some tags in the x

RE: Jenkins is down hard

2014-03-11 Thread Ginga, Dick
Thanks This does not indicate anything specific: Mar 11, 2014 12:28:46 PM hudson.util.jna.Kernel32Utils load SEVERE: Failed to load Kernel32 java.lang.UnsatisfiedLinkError: Unable to load library 'kernel32': com.sun.jna.Native.open(Ljava/lang/String;)J From: jenkinsci-users@googlegroups.com [

Re: [Email-ext] Resolving email address from Cause.UserIdCause

2014-03-11 Thread Slide
How are you planning, in your groovy script to add the users as recipients? Just a curiosity. You could call the MailAddressResolver resolve method yourself from the groovy script in each recipient, but you may not need to do that depending on how you are adding the recipients. On Mar 11, 2014 11:5

RE: Jenkins is down hard

2014-03-11 Thread Ginga, Dick
At this point I am considering restoring whatever files I had last night in my thin-backup incremental folder. But I did a lot of work this morning From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: Tuesday, March 11, 2014 3:08 PM T

Re: [Email-ext] Resolving email address from Cause.UserIdCause

2014-03-11 Thread Stuart Rowe
I just found the MailAddressResolver class on my own and it's solved the problem. Currently I'm adding recipients by referencing a groovy script directly in the project recipients edit box (e.g. ${SCRIPT, script="myscript.groovy"} ). The script recursively looks up the requesting userId from th

Re: Get return value from Powershell (Using windows batch command)

2014-03-11 Thread Daniel Beck
Use the 'Environment Injector' plugin. It allows you to load variable definition from a (Java .properties) file into the job environment. Example: -- First build step: Windows batch command: echo foo=bar > env.properties Second build step: Inject environment variables: Properties File Path: env.

RE: Jenkins is down hard

2014-03-11 Thread Ginga, Dick
For those interested, I completely removed the folders and *.*.disabled files for the 4 new plugins from the Jenkins folders and my configuration came back: jobs, system config, etc But all jobs are failing to start with previously stated error. Does not matter if they are build flow or not.

Re: [Email-ext] Resolving email address from Cause.UserIdCause

2014-03-11 Thread Slide
You don't need to resolve the addresses yourself if you are using a SCRIPT token, the email-ext plugin will resolve them after it replaces the tokens. Yes, you can have the $DEFAULT_RECIPIENTS and ${SCRIPT...} tokens in the edit box and it will work just fine. On Tue, Mar 11, 2014 at 12:44 PM, St

Re: Jenkins is down hard

2014-03-11 Thread Richard Bywater
This issue had similar messages: https://issues.jenkins-ci.org/browse/JENKINS-15466 Not sure if thats any help at all but thought I'd let you know in case you hadn't seen it. Richard. On Wed, Mar 12, 2014 at 7:56 AM, Ginga, Dick wrote: > Needs some help! > > > > Jenkins down after a reboot to

RE: Jenkins is down hard

2014-03-11 Thread Ginga, Dick
Thanks Richard. much appreciated. I was just looking at the same thing. But these are all too old. I have the latest Java and Jenkins version 1.524. I'm not even sure now if it had anything to do with the new plugins or just the restart.. I am very lost at this time. Don't even know what to

Re: [Email-ext] Resolving email address from Cause.UserIdCause

2014-03-11 Thread Stuart Rowe
Perfect, thanks again. On Tuesday, 11 March 2014 13:15:42 UTC-7, slide wrote: > > You don't need to resolve the addresses yourself if you are using a SCRIPT > token, the email-ext plugin will resolve them after it replaces the tokens. > Yes, you can have the $DEFAULT_RECIPIENTS and ${SCRIPT...}

Conditional Builds

2014-03-11 Thread Chris Beech
Hi all, Is there a way in Jenkins to enable me to be selective about what I build depending on what updates were made to SVN? So, let's say a developer only checks something in which warrants one small piece of the application to be compiled rather than everything - how can I identify what cha

Re: Conditional Builds

2014-03-11 Thread Daniel Beck
Write a build script smart enough to do incremental builds, using e.g. file modification times to determine what needs to be processed again. The Java build tool Gradle has some support for that, for example. On 12.03.2014, at 02:48, Chris Beech wrote: > Hi all, > > Is there a way in Jenkins

all jobs gone in ui after reboot

2014-03-11 Thread Chanda Unmack
I'm hoping there's an obvious solution here that I didn't find while searching. I did see several others who had this issue, and a few bugs filed, but none of their workarounds worked for me. jenkins:1.509.4 os: Ubuntu 12.04 tomcat7 java: 1.7u51 No upgraded plugins, but set Jenkins to "Restart Sa

Re: all jobs gone in ui after reboot

2014-03-11 Thread Chanda Unmack
for more data - in hopes someone can help me I looked at an old test server and noticed that while I still have all the directories for the jobs, they don't have any of their confg.xml, etc in the directories. I really would like to know why a reboot would delete everything, how to prevent that in

RE: [Build Flow Plugin] how to execute different rescue when job failed in guard

2014-03-11 Thread Hobby Tan
Anyone has idea for this ?? Thanks, Hobby From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Sent: Tuesday, March 11, 2014 12:31 AM To: jenkinsci-users@googlegroups.com Subject: [Build Flow Plugin] how to execute different rescue when job failed in gua