Re: Overriding "Delete Build"

2016-03-01 Thread Baptiste Mathus
hudson.model.listeners.ItemListener#onDeleted 2016-03-02 6:33 GMT+01:00 Shashank Bhargav : > I need to perform some custom operations in my plugin when user does > "Delete Build". How do I do this? > > -- > You received this message because you are subscribed to the

Re: Same Build number series for multiple projects

2016-03-01 Thread Amit Bhardwaj
Hello Michael, I really appreciate that you found time to answer my query. But, my requirement is to have separate projects in jenkins. I run various integration tests after building binary. Idea is to do the same for all new branches. I have setup cron to run these builds. If I keep it

Overriding "Delete Build"

2016-03-01 Thread Shashank Bhargav
I need to perform some custom operations in my plugin when user does "Delete Build". How do I do this? -- 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: Same Build number series for multiple projects

2016-03-01 Thread Michael Giroux
If you want to share a single build number over all branch builds, you will want to configure your job to accept a branch name to be built. Then run as a parameterized build and specify the branch to build. This will give you build numbers like this: master: 1 master: 2 branch-a: 3 branch-b:

Re: vSphere plugin does not starts slave

2016-03-01 Thread ryanvsielts
Hi Jason Swager, I also have this problem. I'm using vsphere 6.0 and vsphere cloud plugin 2.11. But the jenkins conn't connect to the vm.

Re: Running a Jenkins job from a shell script

2016-03-01 Thread Michael Giroux
If you are referring to the authtoken from build triggers, you could retrieve it using the jenkins cli to retrieve the config.xml for the job and extract the authToken element. (System) xxxyyy false On Tuesday, March 1, 2016 at 7:13:38 PM UTC-7, Alan Evangelista wrote: > > I do not

Re: Running a Jenkins job from a shell script

2016-03-01 Thread Alan Evangelista
I do not need help in how to call the HTTP API. Triggering a Jenkins job requires the Jenkins API token; my question is to how to have this Jenkins API token without hardcoding it in the script. The script is in a public git repo and I dont want the Jenkins API token available to everyone. As

Re: jenkins home directory

2016-03-01 Thread Gurusharan
Hello Hector, I see now what's the problem. I believe the environment variables may not be taken by the service, it uses jenkins.xml to get the environment variables. By default, a windows service uses the jenkins directory you give for installation as the jenkins home. Can you please check if

Re: Jenkins 2.0 alpha release available

2016-03-01 Thread Daniel Beck
On 01.03.2016, at 15:59, kondarre...@gmail.com wrote: > I am behind proxy and a blank popup (I guess the registration screen) is > blocking me from accessing Jenkins web interface. Can you please suggest a > work around. This should actually disappear after a while (30 seconds?) and tell you

Re: Jenkins 2.0 alpha release available

2016-03-01 Thread Daniel Beck
On 01.03.2016, at 17:26, Eric Smalling wrote: > Has anyone posted a Docker Hub image yet? jenkinsci/jenkins:2.0-alpha-2 should be it. I added a link to https://jenkins-ci.org/2.0/ -- You received this message because you are subscribed to the Google Groups

Re: Jenkins 2.0 alpha release available

2016-03-01 Thread Baptiste Mathus
FWIW, jenkinsci/jenkins:2.0-alpha-2 is also available. See https://hub.docker.com/r/jenkinsci/jenkins/tags/ Cheers 2016-03-01 21:08 GMT+01:00 Christophe Furmaniak < christophe.furmaniak...@gmail.com>: > I just published one here: https://hub.docker.com/r/looztra/jenkins-20/ > (just adapted the

Re: Jenkins 2.0 alpha release available

2016-03-01 Thread Christophe Furmaniak
I just published one here: https://hub.docker.com/r/looztra/jenkins-20/ (just adapted the "official" Dockerfile to the 2.0 dl url) Le mardi 1 mars 2016 17:26:26 UTC+1, Eric Smalling a écrit : > > Has anyone posted a Docker Hub image yet? (I see several "jenkins2" named > ones out there, but

Announcing a Jenkins Plugins RPM Repository

2016-03-01 Thread Julien Pivotto
All, I am happy to announce the availability of a test project I have run during the last couple of days: https://github.com/roidelapluie/Jenkins-Plugins-RPM Repo: https://jenkins.roidelapluie.be/yum/ The main features are described in the README: - Dependencies support - Plugins versions

Re: Adding changed files in the email content

2016-03-01 Thread Slide
If you use the email-ext plugin, it should be part of the default html and text groovy templates. On Tue, Mar 1, 2016 at 11:01 AM Hector Magnanao wrote: > Is there a way to customize my emails after a build to contain the files > that have been modified in the workspace

Adding changed files in the email content

2016-03-01 Thread Hector Magnanao
Is there a way to customize my emails after a build to contain the files that have been modified in the workspace ? I'd like to see basically: Date file was changed Who changed it Filename -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: how do i deactivate a build step without deleting

2016-03-01 Thread Hector Magnanao
thanks. exactly what I need On Tuesday, March 1, 2016 at 11:10:18 AM UTC-6, slide wrote: > > There is not unless you use the conditional build step plugin. > > On Tue, Mar 1, 2016 at 10:04 AM Hector Magnanao > wrote: > >> Is there a way to deactivate a post-build step so

Re: Jenkins 2.0 alpha release available

2016-03-01 Thread Nicolas Geraud
Yes, I mean the tabs in the configuration pages. Too late to change, thanks for the reply. Le mardi 1 mars 2016 17:07:47 UTC+1, Kohsuke Kawaguchi a écrit : > > > > 2016-03-01 1:11 GMT-08:00 Nicolas Geraud >: > >> I think that tabs should be on a single row with left and

Re: Conditional Step Regular Expression Match

2016-03-01 Thread Eric Fetzer
Exactly, I'm just trying to build two of the 4 possible projects based on this call. I put the comma in there for readability. The other side is the regex. The regex should always match the one with ALL in it because if I pass that, I want it to build every single one of them. Your

Re: how do i deactivate a build step without deleting

2016-03-01 Thread Slide
There is not unless you use the conditional build step plugin. On Tue, Mar 1, 2016 at 10:04 AM Hector Magnanao wrote: > Is there a way to deactivate a post-build step so that it doesn't execute > without having to delete it ? I want to be able to keep the code in the >

Re: Jenkins world 2016 registration ?

2016-03-01 Thread Yolk
Hi, Thank you, that's good to know. On Tuesday, March 1, 2016 at 6:01:51 PM UTC+1, Alyssa Tong wrote: > > Hello, > > Jenkins World registration > is currently not available yet. It is expected to be avail on April 5. > There will be onsite

how do i deactivate a build step without deleting

2016-03-01 Thread Hector Magnanao
Is there a way to deactivate a post-build step so that it doesn't execute without having to delete it ? I want to be able to keep the code in the build step so that I can activate it later if I need it. -- You received this message because you are subscribed to the Google Groups "Jenkins

Re: Jenkins world 2016 registration ?

2016-03-01 Thread Alyssa Tong
Hello, Jenkins World registration is currently not available yet. It is expected to be avail on April 5. There will be onsite registration available however there's discount to register online during the early bird period. thnx alyssa On Tue, Mar 1,

RE: Conditional Step Regular Expression Match

2016-03-01 Thread Matthew.Webber
As far as I can see, the “Label” is just a string. So Label=[NAP-Client,NAP-Server] does not try comparing 2 different string with the regex, it’s simply a single string that happebns to have a comma in the middle of it. That comma does not means anything special, because this is not a regex.

Re: Conditional Step Regular Expression Match

2016-03-01 Thread Eric Pyle
You need ".*" instead of "+" after the close parentheses. Otherwise you are only able to match the second entry in your label, because you are not allowing anything after the matched label. Eric On 3/1/2016 11:14 AM, Eric Fetzer wrote: Thanks for your response Matthew! With your change, we

Jenkins world 2016 registration ?

2016-03-01 Thread Yolk
Hi all, I'd like to attend the 2016 conference in Santa Clara -CA but not sure where can I register ? ( No I'm not submitting anything, just want to attend ) Or can I just drop by and register at the venue ? Thank you very much. -- You received this message because you are subscribed to the

Re: Jenkins 2.0 alpha release available

2016-03-01 Thread Eric Smalling
Has anyone posted a Docker Hub image yet? (I see several "jenkins2" named ones out there, but the dates on them lead me to believe they are not this.) On Monday, February 29, 2016 at 5:39:22 PM UTC-6, R Tyler Croy wrote: > > As I mention in this blog post: >

Re: Conditional Step Regular Expression Match

2016-03-01 Thread Eric Fetzer
Thanks for your response Matthew! With your change, we seem to be a lot closer. I have from 1 to 4 conditional projects to call. In this particular build, I'm telling it to do 2 of the 4. Here's what it did based on the condition: Regular expression run condition:

Re: Jenkins 2.0 alpha release available

2016-03-01 Thread Kohsuke Kawaguchi
2016-03-01 1:11 GMT-08:00 Nicolas Geraud : > I think that tabs should be on a single row with left and right arrow to > display hidden tabs like in > https://www.google.com/design/spec/components/tabs.html#tabs-usage. > > Is this has been discussed elsewhere ? > I

RE: Conditional Step Regular Expression Match

2016-03-01 Thread Matthew.Webber
A regex that starts with .* and ends with (opt1|opt2)* will always match all strings. I think you want something like .*( opt1|opt2)+ where the trailing + means at least one thing from opt1|opt2 must be present. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com]

Re: Jenkins 2.0 alpha release available

2016-03-01 Thread kondarreddy
I am behind proxy and a blank popup (I guess the registration screen) is blocking me from accessing Jenkins web interface. Can you please suggest a work around. Thank you On Monday, February 29, 2016 at 5:39:22 PM UTC-6, R Tyler Croy wrote: > > As I mention in this blog post: >

Re: Running a Jenkins job from a shell script

2016-03-01 Thread Warren Postma
Why don't you have your script execute some HTTP action with CURL which might trigger Jenkins? W On Tuesday, March 1, 2016 at 9:35:30 AM UTC-5, Alan Evangelista wrote: > I want to execute a Jenkins job run from a script, which is itself cloned > from a git repo and called > in a shell build

Re: Archiving artifacts incomplete

2016-03-01 Thread Jinny Pan
I tried use *bin/***, also unchecked "use default excludes" in advanced tab, it turns out all files were archived. Thank you so much for your help! On Monday, February 29, 2016 at 5:34:03 PM UTC-6, Baptiste Mathus wrote: > > Yes, archiving is quite standard, but there could be some variation

Running a Jenkins job from a shell script

2016-03-01 Thread Alan Evangelista
I want to execute a Jenkins job run from a script, which is itself cloned from a git repo and called in a shell build step by another Jenkins job. I need a Jenkins user and Jenkins user API token to run a Jenkins job via its HTTP API. Is it possible to access the Jenkins user and user API token

Re: Conditional Step Regular Expression Match

2016-03-01 Thread Eric Fetzer
Thanks for the reply Eric! Sorry, the square brackets are just from the Jenkins output. My regex's look like this (4 single conditional steps based on the label passed in build.apps): .*(NAP-Client|NAP-ALL)* .*(NAP-Server|NAP-ALL)* .*(NAP-Reports|NAP-ALL)* .*(CAS|NAP-ALL)* In this particular

Re: Jenkins, Subversion plugin+ SVNKIT+ JVM garbage collection delay, leads to svn update failure.

2016-03-01 Thread Mark Waite
Java 7 has a try with resource syntax to reduce file handle leaks, but many Jenkins plugins support Java versions prior to Java 7. Jenkins on Linux has a file leak detection plugin that can help with the debugging. Unfortunately, that plugin does not work on Windows. Mark Waite On Tue, Mar 1,

Jenkins, Subversion plugin+ SVNKIT+ JVM garbage collection delay, leads to svn update failure.

2016-03-01 Thread Warren Postma
We are having a problem on Jenkins server on Windows, that has Subversion plugin, which uses a native Java SVNKIT instead of the "real" subversion binaries. This has always struck me as problematic, as there have always (for the last 3 years) been weird things during checkouts and updates that

Re: Jenkins 2.0 alpha release available

2016-03-01 Thread Maciej Jaros
Dirk Heinrichs (2016-03-01 08:31): Am 01.03.2016 um 00:39 schrieb R. Tyler Croy: You can read more about it on the 2.0 landing page (https://jenkins-ci.org/2.0/) The link to "the 2.0 plan" on this page is dead. The link: https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+2.0 Fix:

Re: Jenkins 2.0 alpha release available

2016-03-01 Thread Nicolas Geraud
I think that tabs should be on a single row with left and right arrow to display hidden tabs like in https://www.google.com/design/spec/components/tabs.html#tabs-usage. Is this has been discussed elsewhere ? Le mardi 1 mars 2016 00:39:22 UTC+1, R Tyler Croy a écrit : > > As I mention in this