Re: why is the groovy code failing in jenkins?

2016-04-21 Thread Patrick Wolf
There is a well known problem with .each in Pipeline right now that Kohsuke is working on. There are many comments here: https://issues.jenkins-ci.org/browse/JENKINS-26481 On Thu, Apr 21, 2016 at 1:33 PM, ok999 wrote: > This a very basic test code for the pipleine job >

https://updates.jenkins.io unstable?

2016-04-21 Thread jbattle
I'm not sure if this is the right channel to report this issue - if there's a better forum for this please let me know. I'm trying to set up a jenkins instance in a docker container (which generally has been nice to work with) and I'm having a hard time downloading plugins. I don't remember

Re: How can I configure Jenkins to not use the Internet?

2016-04-21 Thread krusolu
I was able to get around the issue by using the following setting in my cookbook which overrides the behavior of the executor helper / ensure_update_center_present method in the Jenkins community cookbook: node.run_state[:jenkins_update_center_present] = true # ~FC001

Re: Any Changes in the Jenkins Mirrors?

2016-04-21 Thread Mark Diskin
That's for the update. The problem we (maybe others) is with our corporate firewalls - at some point the name is lost so they end up having to build rules for each of the mirror'd ip's, That is probably why we are getting the 503 is that it's not making out of our network and been blocked since

permission denied error when copying files in jenkins

2016-04-21 Thread Pradeep Patra
Hi all, . I have created a Jenkins server (master) and tried copying from one location/path of jenkins server to another location a Perl script within the same server. I have changed all the file/ folders for Jenkins user/group(chown,chgrp)and restarted the Jenkins server. While copying files

Re: Trigger arbitrary build/post-build steps from pipeline

2016-04-21 Thread Andrew Melo
Hi, I've dug a bit more, perhaps that will help find a solution. It appears the "step" groovy function wants a class that implements SimpleBuildStep, but the plugins I'm looking at implements/extends hudson.tasks.Recorder. I'm confused about the issue. If I look at the javadoc:

Matrix reloaded plugin

2016-04-21 Thread Bryan Pearson
We use the Jenkins matrix reloaded plugin which works pretty well for us. We are experiencing one pretty large pain point. The plugin pulls the code base for each run. Which after a while begins to consume all the on disk available space. Aside from having the repos cleaned up after the job

Re: Any Changes in the Jenkins Mirrors?

2016-04-21 Thread R. Tyler Croy
(replies inline) On Thu, 21 Apr 2016, Mark Diskin wrote: > Over the last few days I'm getting 503 now. > > Looks like a AWS server is now is there an updated list of mirror sites > since we have to have each one allowed in our networking security/firewall > rules. Correct, I've migrated

Re: Jenkins 2.0: Turn off Setup wizard

2016-04-21 Thread Scott Cutler
Any updates on this? I am also deploying Jenkins as part of a Vagrant script that automatically downloads and deploys Jenkins to Tomcat, then immediately begins running jobs via the CLI. When my vagrant script downloaded the 2.0 release this morning, the new setup wizard essentially blocked

Having trouble starting Jenkins, where do I find the "/usr/share/java/jenkins/war/META-INF/MANIFEST.MF" file?

2016-04-21 Thread Dave
I just downloaded the Jenkins WAR, version 1.651.1. I’m trying to set it up on my Amazon Linux box. I’m running Java 1.7. I moved the WAR into its own directory, /usr/share/java/jenkins, and then set JENKINS_HOME to be that directory. Then I ran the command listed here —

Re: Are jelly templates supported in email-ext with pipeline

2016-04-21 Thread Slide
The biggest hurdle at this point is that email-ext uses token macro for token replacement and token macro is built around AbstractBuild, which pipeline does not use. I am looking into adding the capability to token macro, and thus email-ext. It's something I am actively working on. On Thu, Apr

Re: How can we use a variable for E-mail Notification Recipients field of a job ?

2016-04-21 Thread Slide
I don't think it will. Email-ext is there for that purpose. On Thu, Apr 21, 2016, 04:00 Erik Vande Velde wrote: > Thanks! Now it works, but the email-ext needs a lot of configuration to > make it do what I want to, so i hope that one day the default mailer will >

Any Changes in the Jenkins Mirrors?

2016-04-21 Thread Mark Diskin
Over the last few days I'm getting 503 now. Looks like a AWS server is now is there an updated list of mirror sites since we have to have each one allowed in our networking security/firewall rules. nslookup 52.91.151.148 Server: 10.165.20.21 Address:10.165.20.21#53

Re: Are jelly templates supported in email-ext with pipeline

2016-04-21 Thread Mark Bidewell
Is support planed for a future release? On Saturday, April 16, 2016 at 2:16:35 PM UTC-4, slide wrote: > > No, this is not currently supported. Token macro, which is the basis for > the SCRIPT token doesn't currently support the type of object that pipeline > uses. > > On Tue, Feb 9, 2016 at

Re: How many jobs can handle by Jenkins master?

2016-04-21 Thread Stephen Connolly
I will theorize that you are using the evil job type. Also you have not mentioned the Jenkins version you are running, so you may be being affected by JENKINS-34213 On 21 April 2016 at 10:20, dennys wrote: > I try to analyze the thread dump, fingerprint and global build

Re: How can we use a variable for E-mail Notification Recipients field of a job ?

2016-04-21 Thread Erik Vande Velde
Thanks! Now it works, but the email-ext needs a lot of configuration to make it do what I want to, so i hope that one day the default mailer will resolve variables too ... On Thursday, April 21, 2016 at 11:41:22 AM UTC+2, slide wrote: > > The default mailer does not do token replacement in

Re: How many jobs can handle by Jenkins master?

2016-04-21 Thread Daniel Beck
> On 21.04.2016, at 11:20, dennys wrote: > > cannot find a solution to disable > fingerprint Fingerprinting is optional when archiving and in Copy Artifacts. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: How many jobs can handle by Jenkins master?

2016-04-21 Thread dennys
I try to analyze the thread dump, fingerprint and global build status plugin use lots of resource. I can disable global build status, but I cannot find a solution to disable fingerprint... -- View this message in context:

Re: Ansible role for installing and configuring Jenkins 2

2016-04-21 Thread Daniel Beck
> On 21.04.2016, at 05:41, Karl Davis wrote: > > • Enables the Jenkins CLI. > You may be interested in the system property jenkins.model.Jenkins.slaveAgentPort, which makes it easier to set the default for this. The difference is, it does not override user

Re: How can we use a variable for E-mail Notification Recipients field of a job ?

2016-04-21 Thread Slide
The default mailer does not do token replacement in any field. If you want that functionality, you need to use email-ext. On Thu, Apr 21, 2016 at 2:36 AM Erik Vande Velde wrote: > (1) The release I'm running is 1.583 > (2) I'm using the regular mailer, not the

Re: How can we use a variable for E-mail Notification Recipients field of a job ?

2016-04-21 Thread Erik Vande Velde
(1) The release I'm running is 1.583 (2) I'm using the regular mailer, not the extended one (3) I copy pasted the name of the variable, I'm 100% sure it is correct (4) I put an 'env' command in the job configuration (as our jenkins runs on windows), and is showing my variable So i'm sure the