Re: calendar parameters in jenkins

2014-09-22 Thread Baptiste Mathus
I don't think there's currently an existing plugin to do that. But I guess that shouldn't be to hard to write a dedicated plugin for injecting a date parameter (there are many examples about contributing new parameters type in existing plugins). Side note: if you do it, I guess that would be

Re: How to set Environment variables in Global properties of global Jenkins configuration programmatically?

2014-09-22 Thread mr
Hi Folks! Do anybody have an idea how to set/change the variables within a Groovy script? Regards! -- 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

Re: Issue with RegEx for project roles in Matrix Authorization Strategy Plugin

2014-09-22 Thread Jan Seidel
X(?!Y) works when it is used in a RegEx but the plugins botches as soon as you start to combine several negations. X(?!Y)|A(!?B) won't behave as expected. Applying the de Morgan's law (double negation to create and AND from an OR) does not interest the plugin at all. I tried (!?(X(?!Y)|A(!?B)),

Re: Issue with RegEx for project roles in Matrix Authorization Strategy Plugin

2014-09-22 Thread Jan Seidel
GUIDE_(?!MIB)(FOO|BAR|BAZ)(?!P4)$ is a nice idea. I have been working with it quite at the beginning of my test cases but I neglected ^ and $. This may be the hint I needed to anchor the parttern. :) Cheers Am Freitag, 19. September 2014 12:20:49 UTC+2 schrieb Gunnar Strand: On 09/19/14

Re: Issue with RegEx for project roles in Matrix Authorization Strategy Plugin

2014-09-22 Thread Jan Seidel
Nice advice! :) what does *?:* actually imply? Where do I find this information? If you want to allow that MIB can appear anywhere else other that immmediately after GUIDE_ you can change the regex for : (.*)GUIDE_(?!MIB)((?!P4).)*$ This pattern confuses me a bit... Ohh now I get it.

Re: Issue with RegEx for project roles in Matrix Authorization Strategy Plugin

2014-09-22 Thread Jan Seidel
It works like a charm :) Thank you two for helping me out on this one. Jan Am Freitag, 19. September 2014 09:38:17 UTC+2 schrieb Jan Seidel: Hi all, I have a weird issue with a regular expression. Hopefully you can help me out here. I have a RegEx like *(.*)GUIDE_(?!MIB)(.*)(?!P4)* It

Re: Issue with RegEx for project roles in Matrix Authorization Strategy Plugin

2014-09-22 Thread Jan Seidel
Last but not least. Looks like Jenkins adheres to Java Regex, even if I sometimes doubted it. (?:*X*) *X*, as a non-capturing groupDoes this mean ... don't jump on this pattern? Sorry, I'm no developer :) -- You received this message because you are subscribed to the Google Groups Jenkins

Re: Jenkins and Perforce password issue

2014-09-22 Thread Jan Seidel
Is P4CHARSET set to winansi? Maybe you should write the P4PAASWD into a text file and inject it with env_inject. This would make the testing a bit easier. You can then find whitespace characters and have no encoding trouble with the password. If this works is your problem probably a matter of

Re: Issue with RegEx for project roles in Matrix Authorization Strategy Plugin

2014-09-22 Thread Richard Lavoie
What ( ) does is that whenever it matches the inner pattern, it keeps it in memory for further reference in code. (?: ) allows to have a complex inner pattern with OR cases without keeping the matched content in memory. That's what mean non-capturing for (?:). Also

Re: Issue with RegEx for project roles in Matrix Authorization Strategy Plugin

2014-09-22 Thread Jan Seidel
Thanks for the explanation :) The site you have mentioned is indeed a real nice one. It is already added to my bookmarks. Cheers Jan -- 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

Re: Jenkins and Perforce password issue

2014-09-22 Thread David Rabinowitz
Hi Dan, Thanks, I will check if I can take this plugin David On Monday, September 22, 2014 7:40:40 AM UTC+3, Dan Tran wrote: The combination of new P4Jenkins[1] and P4Maven[2] works well with maven-release-plugin. you will need cut an internal release of p4maven -D [1]

Re: Jenkins and Perforce password issue

2014-09-22 Thread David Rabinowitz
No, P$CHARSET is not set, but the password contains only US-ASCII characters. Also, I have verified there is no typo. On Monday, September 22, 2014 12:16:47 PM UTC+3, Jan Seidel wrote: Is P4CHARSET set to winansi? Maybe you should write the P4PAASWD into a text file and inject it with

Re: Connect Jenkins Server to Build server

2014-09-22 Thread Les Mikesell
On Sun, Sep 21, 2014 at 10:51 PM, aniket jindal aniket...@gmail.com wrote: Hi Felix I have a server running the Jenkins instance (the jenkins master), and a Linux server having my software builds images (ISO). I want to execute my TCL scripts using jenkins on this ISO build images. That

Git merge checking out impossible commits

2014-09-22 Thread Johannes Wienke
Hi, we are using special merge simulator projects for feature branches where the idea is that the feature branch is automatically merged onto the master before compiling and testing it so that also the merging behavior is verified. All of these projects are multi configuration jobs. So far this

No more plugin updates on LTS update site?

2014-09-22 Thread Johannes Wienke
Hi again, we are using the LTS version of Jenkins (currently 1.565.1) with the LTS plugin update channel. Until a few weeks ago, despite using LTS, there were constant plugin updates available. This however has stopped since then. I am a bit confused about this. Is this intended or is there an

Build Failure Analyzer - Email Ext

2014-09-22 Thread Lukasz Wasylow
Hi I've been trying to use a Build Failure Analyzer to issue some emails using ext-Email. I ve been trying to use a Jelly Templates but it looks like BFA scanning for issues after ext-Email is being sent. I have tried to use a token macro ${BUILD_FAILURE_ANALYZER, includeTitle=true,

Reverse proxy verification fails (AJAX)

2014-09-22 Thread Eric Darchis
Hi. I am hosting a jenkins on https://www.mysite.com/jenkins/ with a NGinx reverse proxy. I recently updated http to httpS and upgraded Jenkins to the current latest, plugins as well. When I try to access the Manage Jenkins page, all subsequent requests fails with error 401. This only happens

[ANN] Examine Jenkins thread state with Dumpling

2014-09-22 Thread oliver gondža
Hi, There is a plugin that bring Dumpling DSL into Jenkins: https://wiki.jenkins-ci.org/display/JENKINS/Dumpling+Plugin What's Dumpling? Domain model and DSL to query thread state. Read more here: https://olivergondza.github.io/dumpling/ -- oliver -- You received this message because

Re: [ANN] Examine Jenkins thread state with Dumpling

2014-09-22 Thread Christoph Kutzinski
Looks like a nice tool! Am 22.09.2014 um 18:28 schrieb oliver gondža: Hi, There is a plugin that bring Dumpling DSL into Jenkins: https://wiki.jenkins-ci.org/display/JENKINS/Dumpling+Plugin What's Dumpling? Domain model and DSL to query thread state. Read more here:

Re: No more plugin updates on LTS update site?

2014-09-22 Thread Daniel Beck
Plugins are developed independently from core and usually have no 'LTS line', except maybe to backport fixes to a version compatible with LTS when the main development line requires a more recent core. Still, most plugins are compatible with 1.565.x. Make sure the date on the lower right of

Re: How to set Environment variables in Global properties of global Jenkins configuration programmatically?

2014-09-22 Thread Walter Kacynski
I use the following script to inject a username and password: usernamePassword = build.getEnvironment(null)[secret] def (username, password) = usernamePassword.split(':') e = new hudson.EnvVars() e.put(secret + '_USERNAME', username) e.put(secret + '_PASSWORD', password)

Convert existing Job to DSL

2014-09-22 Thread Brantone
Hey, So I had created a bunch of jobs before stumbling upon the DSL plugin. Wondering if there's an efficient way to convert existing jobs to DSL? I did find https://issues.jenkins-ci.org/browse/JENKINS-16360 from a year ago, marked as minor ... but considering the description of pretty

Building a specific commit with Gerrit

2014-09-22 Thread Michael Vincent
I need to build every commit that gets submitted into a Gerrit repo (preferably in order). I have all the latest git/Gerrit plugins on the latest Jenkins 1.565.2 LTS. Jenkins master is running on Linux and slave nodes are running on Windows 7 with msysgit-1.8.3. The Gerrit server is running

Re: Cucumber Test Result Plugin - It does not appear at my window the test results

2014-09-22 Thread teilo
There's a cent jiraComponent issue where jenkins gets confused if you have multiple test result types (both a Junit report and a cucumber report for example). I would argue that cucumber is a different tool to Junit and should be testing stuff built elsewhere so you should not have this mix in