Access BUILD_CAUSE and BUILD_CAUSE_USERIDCAUSE through Build Flow DSL

2015-10-29 Thread GS_L
Hi To know who triggered a buildflow job I tried to print the BUILD_CAUSE env variable in the following ways: 1. println "BUILD_CAUSE = $BUILD_CAUSE" build failed - error: ERROR: Failed to run DSL Script groovy.lang.MissingPropertyException

/root/.s3cfg permission denied

2015-10-29 Thread GBANE FETIGUE
Hey guys, I still don't understand for me the error was quite simple /root/.s3cfg permission denied I changed the permission on .s3cfg as results it's not working, I also moved the .s3cfg still the same but the crazy think is Jenkins keep thinking the file is still inside of /root even

Problem by calling puppet script on LINUX

2015-10-29 Thread Wei Chen
Hi, I created a job in Jenkins which will start the puppet agent with command: puppet agent -t This command works fine under LINUX. But as I build the job in Jenkins I got following errors: ... Started by user anonymous Building in workspace

Re: Problem by calling puppet script on LINUX

2015-10-29 Thread Dirk Heinrichs
Am 29.10.2015 um 15:03 schrieb R. Tyler Croy: > This looks to me to definitely be a Puppet code problem, Nope. It's a problem of running "puppet agent" as non-root user w/o existing $HOME for that user. Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions

Re: Problem by calling puppet script on LINUX

2015-10-29 Thread R. Tyler Croy
(replies inline) On Thu, 29 Oct 2015, Dirk Heinrichs wrote: > Am 29.10.2015 um 15:03 schrieb R. Tyler Croy: > > > This looks to me to definitely be a Puppet code problem, > > Nope. It's a problem of running "puppet agent" as non-root user w/o > existing $HOME for that user. Yeah, I saw your

RE: Sudo Power To a Jenkins Job

2015-10-29 Thread John Mellor
I do that all the time when pulling in prerequisite components in a pbuilder environment. Just set the jenkins user up appropriately in the sudoers list. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of GBANE FETIGUE Sent: October-28-15 15:07 To:

Re: Problem by calling puppet script on LINUX

2015-10-29 Thread R. Tyler Croy
(replies inline) On Thu, 29 Oct 2015, Wei Chen wrote: > Hi, > > I created a job in Jenkins which will start the puppet agent with command: > puppet agent -t > > > Could not prepare for execution: Got 1 failure(s) while initializing: change > from absent to directory failed: Cannot create

Re: Which extension point for front page information?

2015-10-29 Thread Jocce
Found it: Widget -- 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. To view this discussion on the web visit

Jenkins build fails, but command line build works

2015-10-29 Thread Katie Outram
Has anyone seen a build fail in Jenkins but execute fine by the command line? This failure only occurs for one of our branches that we build. The jenkins job is configured: #!/bin/bash -ex cd $GIT_TREE git checkout -q $GERRIT_REFSPEC cd pkt emq DBG=yes This build fails in Jenkins for one

Custom Build Step w/ Grid containing Deployment Targets

2015-10-29 Thread Matt Redmond
Hi Folks, I am still trying to get my head wrapped around Jenkins' capabilities and was hoping someone could give me some guidance... We have a number of deployment target devices in the field that are of different types, locations, etc. Rather than simply creating a parameterized job where

Re: Jenkins 2.0 Proposal: Pipeline as code front and center

2015-10-29 Thread Kohsuke Kawaguchi
Thanks for your feedback. The "you shouldn't worry" part is that the freestyle projects aren't going away, which Tyler & Stephen have already covered. The way I read your comment is that you see the quality as the most important issue and when you see me talking about workflow, it rubs you in a

Re: How to take care of a large Jenkins installation and still keep your sanity

2015-10-29 Thread milki milk
Damien in JENKINS-31152 mentioned the Seed Plugin (https://github.com/jenkinsci/seed-plugin/wiki). This sounds a lot like another formalized framework that is similar to Ebay's seed job. It takes a seed.groovy and/or a seed.properties as configuration. It has a concept of a "project seed" and

Customizing VMware guests created from templates

2015-10-29 Thread pimy103
Jenkins 1.6.35 VCenter 5.5 VSphere 5.5 Windows Server 2012 R2 Hi, I am currently attempting to automate all of the manual steps involved with provisioning new servers and deploying our applications to those servers. What normally happens is that we login to Vcenter via vsphere client,

Re: unable to access Jenkins in Firefox and Chrome after latest browser updates because of "weak ephemeral Diffie-Hellman public key"

2015-10-29 Thread Indra Gunawan (ingunawa)
HI Roger, If you upgrade to the latest LTS this issue goes away. I see this on very old instance of Jenkins running 1.455 we are still running. After upgrade to v. 1.580.3 with SSL left as is with existing .keystore, I am not seeing this anymore. -Indra On 10/28/15, 11:14 AM,

RE: unable to access Jenkins in Firefox and Chrome after latest browser updates because of "weak ephemeral Diffie-Hellman public key"

2015-10-29 Thread Roger Moore
Hi Indra, thanks for your reply. We are currently running 1.596. When you upgraded to 1.580.3, did that change your version of Java too? -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Indra Gunawan (ingunawa) Sent:

Re: unable to access Jenkins in Firefox and Chrome after latest browser updates because of "weak ephemeral Diffie-Hellman public key"

2015-10-29 Thread Indra Gunawan (ingunawa)
When we upgraded to 1.580.3. We simply download the RHEL RPM package and install it. We make sure to give the location of our existing .keystore set for “JENKINS_HTTPS_KEYSTORE=“ in the /etc/sysconfig/jenkins. We install Oracle JDK 7 to run Jenkins. I have been using Oracle JDK 7 to run Jenkins

Re: Access BUILD_CAUSE and BUILD_CAUSE_USERIDCAUSE through Build Flow DSL

2015-10-29 Thread Martin d'Anjou
Been asking myself the same question for 3 years. The only solution for me is to use EnvInject, fetch the cause from the Jenkins internal objects, and export it as a new env variable to the build. It gets complicated when the cause is another build, you have to do a recursive search to get to

Re: Workflow question - children jobs as steps?

2015-10-29 Thread Andrew Bayer
Yeah, separate component jobs using the global library to replace the "generic" jobs we've used for building packages on all the different platforms we support, and the "full" build launching the component jobs via workflow as well seems to be the direction that's making sense for the use case.

Re: How to take care of a large Jenkins installation and still keep your sanity

2015-10-29 Thread Indra Gunawan (ingunawa)
I am interested in this topic to truly adopt "Configuration as Code" including Jenkins job configuration. What are the pros and cons of vs. Workflow plugin, DSL plugin, YAML Project Plugin and Literate Plugin? Thank you -Indra From:

Re: how to stop the "no changes" mail in e-mail notification

2015-10-29 Thread gembali srinu
please suggest me, there is any scripting or parameter to stop the build from occurring when there are no changes. -- 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

Access environment variables

2015-10-29 Thread thilinam
Hi Is there a way to access jenkins env variables via a plugin ? take input like ${BUILD_NUMBER} to a plugin via test input box? thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving

Pass values from Shell script to Workflow script in Jenkins Workflow plugin

2015-10-29 Thread Luis Mago
Hi, I'm trying out the Jenkins Workflow plugin and I was wondering if there is any way to pass values from a shell script to the workflow script without going through writing them in a file a reading and parsing the file from the workflow script. I've checking 'env' and 'withEnv' but they both

Which extension point for front page information?

2015-10-29 Thread Jocce
Hello, a question about extension points. I am looking for how to add a dynamic (AJAX updated) metrics box on the front page, under the actions. Which extension point should I use for that? Or do I need to make this in another way? I could not find any good extension points from