Re: Jenkins Job Builder vs. "Jenkins 2.0 Pipeline as Code"

2016-05-09 Thread Wayne Warren
On Friday, May 6, 2016 at 11:07:44 AM UTC-7, David Karr wrote: > > I work in an OpenStack-related community that uses "Jenkins Job Builder" > to build Jenkins jobs. I don't know a lot about it, but I did manage, > with a lot of help from our infra team, to make the changes required to > build

Re: Freestyle project job is missing Build Environment section

2016-05-09 Thread Daniel Beck
> On 09.05.2016, at 23:26, Tony wrote: > > Which plug-in(s) contribute to "Build Environment" section? Thanks! I'm not sure this is the question you actually want to ask, but since you did… All implementations of the BuildWrapper extension are likely to appear here, so probably the following:

Re: Freestyle project job is missing Build Environment section

2016-05-09 Thread Tony
Which plug-in(s) contribute to "Build Environment" section? Thanks! On Monday, May 9, 2016 at 12:36:40 AM UTC-7, Daniel Beck wrote: > > > > On 09.05.2016, at 04:26, Tony > > wrote: > > > > Does anyone have any idea why? Thanks! > > The section 'Build Environment' is automatically shown when yo

Chain builds together, but still need to be conditional on source control change

2016-05-09 Thread Rick Patterson
Hi. I have 10 related software components to build (jobs 1 through 10), which are somewhat independent of each other, and presently they each trigger individually on a source change, i.e. their builds only go if their source changes. We have the check for these components source changes stagg

A script to update TFS plugin password

2016-05-09 Thread Jirong Hu
Hi All We use a service account in Jenkins to access TFS and its password needs to be changed every six months. Now I want to write a script (console groovy or C#) to update the password, can anyone give me an outline? I am thinking about two ways, assume we have the new hash value for the new

getting error ERROR: Error fetching remote repo 'origin'

2016-05-09 Thread 80Vikram
Hi All, After upgrading to latest Jenkins 2.2 with Git client plugin 2.4.4 and Github plugin 1.19.0 getting below error ERROR: Error fetching remote repo 'origin'hudson.plugins.git.GitException : Failed to fetch

Script Security and Jenkinsfile

2016-05-09 Thread Mark Bidewell
I am trying to write a Jenkinsfile for a project. The script security plugin is becoming a real pain. It seems the only way to add methods and operations is to run the job repeatedly failing each time and manually approve each failure. Needless to say this is a time-consuming process for all

Re: Pipeline step using SloccountPublisher crashes

2016-05-09 Thread Nicholas Brown
The following step also fails with a similar cryptic error: step([$class: 'hudson.plugins.cobertura.CoberturaPublisher', coberturaReportFile: 'coverage.xml']) On Monday, 9 May 2016 13:43:46 UTC+1, Nicholas Brown wrote: > > Hi. I'm trying to get to grips with defining a pipeline. I tried adding

Re: How Jenkins could pull AWS SQS and trigger jobs

2016-05-09 Thread Mladen Marev
I found that plugin - https://wiki.jenkins-ci.org/display/JENKINS/SCM+SQS+Plugin Has anyone chance to test it? I will do once I have managed to update my Jenkins. Any feedback is more than welcome. On Wednesday, 4 May 2016 13:09:59 UTC+1, Mladen Marev wrote: > > Hello, > > > > Is there easy

Slaves/nodes only visible for specified group?

2016-05-09 Thread 'Dan Steffen' via Jenkins Users
Hello, we plan in our company a master jenkins Server and in every team at least one node/slave so the teams can configure there jobs on the master and run it on there own hardware/environment. But now I have the probleme to hide the nodes of one team for the other teams. I already configure wi

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-05-09 Thread Lionel Orellana
Apologies for my rather disorganised thought process in this thread. I just found the 'Re-register hooks for all jobs' in the global config (GitHub Servers Advanced options). That created the hooks correctly for me without any additional configuration in the multibranch job. Thanks. On Sat

Aw: Re: "Keep Builds" vs. Copy Artifact-Plugin

2016-05-09 Thread Dieter Guthmann
> > On 09.05.2016, at 14:14, Daniel Beck wrote: > > > > Maybe check that your second chain's jobs' fingerprints are actually > > attributed to the intended upstream job. It doesn't work for _all_ upstream-Jobs, also those which are 'exclusivly' used for the dependent job. So a "double" keep-loc

Pipeline step using SloccountPublisher crashes

2016-05-09 Thread Nicholas Brown
Hi. I'm trying to get to grips with defining a pipeline. I tried adding a step with: step([$class: 'hudson.plugins.sloccount.SloccountPublisher', pattern: 'sloccount.sc', encoding: 'UTF-8', commentIsCode: false, numBuildsInGraph: 0, ignoreBuildFailure: false]) but it fails with the rather unhe

Re: "Keep Builds" vs. Copy Artifact-Plugin

2016-05-09 Thread Daniel Beck
> On 09.05.2016, at 14:14, Daniel Beck wrote: > > Maybe check that your second chain's jobs' fingerprints are actually > attributed to the intended upstream job. And if they're not, make sure all archiving of artifacts, and all copying of artifacts, records fingerprints. -- You received thi

Re: "Keep Builds" vs. Copy Artifact-Plugin

2016-05-09 Thread Daniel Beck
> On 09.05.2016, at 13:46, d.guthm...@gmx.net wrote: > > The chain of Jobs where it does not work, we trigger the builds on the last > Job of the 'chain' only manually (and always as parameterized builds)... can > that be part of the problem? Not sure. Maybe check that your second chain's job

Re: "Keep Builds" vs. Copy Artifact-Plugin

2016-05-09 Thread d . guthmann
Hello Daniel,  > Sent: Montag, 09. Mai 2016 um 12:59 Uhr > From: "Daniel Beck" > To: jenkinsci-users@googlegroups.com > Subject: Re: "Keep Builds" vs. Copy Artifact-Plugin > That's an option related to fingerprinting, see 'Keep the build logs of > dependencies' in Advanced Project Options. Than

Re: "Keep Builds" vs. Copy Artifact-Plugin

2016-05-09 Thread Daniel Beck
That's an option related to fingerprinting, see 'Keep the build logs of dependencies' in Advanced Project Options. > On 09.05.2016, at 12:05, Dieter Guthmann wrote: > > Hello, > > we use Jenkins 1.609.3 with "Copy Artifacts"-Plugin Version. > We have jobs which are working with artifacts from

"Keep Builds" vs. Copy Artifact-Plugin

2016-05-09 Thread Dieter Guthmann
Hello,   we use Jenkins 1.609.3 with "Copy Artifacts"-Plugin Version. We have jobs which are working with artifacts from other jobs (dependencies) - both, the "copying" job and those from which artifacts will be copied will only keep the last 20 Builds. I noticed in the past (with a previous je

Re: Freestyle project job is missing Build Environment section

2016-05-09 Thread Daniel Beck
> On 09.05.2016, at 04:26, Tony wrote: > > Does anyone have any idea why? Thanks! The section 'Build Environment' is automatically shown when you have plugins that contribute to that section. Build Environment Plugin, despite its name, is not one of them. -- You received this message becaus