Master Slave And Sonar

2012-04-04 Thread Guy
Hi I am running a Sonar metrics build on a slave for a pretty hefty project. Looking at load average my master spikes (5 min load average of 8's and 9's on a 4 core machine) at the end of the 2 hour build which is when the sonar activity is taking place. My questions are Is the sonar command run

Jenkins master

2012-04-19 Thread Guy
I am setting up a new jenkins master It will just be a master with NO jobs running on it (even as its own slave). It has the following specs It is a VM running QEMU Virtual CPU version 0.9.1 Running Red Hat Enterprise Linux Server release 5.6 (Tikanga) 4 core 3ghz 6G ram 250G HD (But we archive

Re: Jenkins master

2012-04-19 Thread Guy
That great but the hard disk stress and network stress when a build occurs is on the slave I thought. Unless I have got it horribly wrong :) I understand that there will be some network traffic back to master of test results etc but apart from that what stresses are placed on a master with no ex

Re: Jenkins master

2012-04-19 Thread Guy
AFAIK the master does not check out the project! The link to workspace takes me to the slave workspace as I have just proved by disconnecting the node and looking for the workspace,

Can multibranch pipeline support user-selected branch?

2019-06-11 Thread Guy Knights
es will be built every time. I want whoever kicks off the job to be able to specify that only particular branches will build at different times. Thanks, Guy -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this grou

How to setup Jenkins to work with LSF

2019-11-12 Thread EDA Guy
I am getting started on Jenkins and trying to set a project to work with LSF. It looks like lsf-cloud plugin is not supported anymore. Has anyone had success in enabling LSF in Jenkins? Thanks. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group.

Job #s are inconsistent after restore from thinBackup

2015-11-12 Thread Guy Matz
ception: cannot create a build with number 937 since that (or higher) is already in use among [922, 1304, 1305] I've tried to set the # in nextBuildNumber to 1306 but it reverts back to 930-something . . . Any ideas? Thanks a lot, Guy -- You received this message because you are subscribed

Re: Job #s are inconsistent after restore from thinBackup

2015-11-12 Thread Guy Matz
Thanks! I found that if I manually set the number, then use "Manage Jenkins | Reload Configuration from Disk" I was able to reset the number! Thanks again, Guy On Thu, Nov 12, 2015 at 11:51 AM, Daniel Beck wrote: > Set Next Build Number Plugin allows you to set the value in memo

Re: Workflow: extract git revision and build a timestamp

2015-12-09 Thread Guy Matz
I do believe the plugin sets the var you want. have a look at Environment variables here: https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin#GitPlugin-AdvancedFeatures On Thu, Nov 12, 2015 at 12:41 PM, Jens Wilke wrote: > Hi all, > > for extracting a git revision and building a timestamp at

Groovy Question: revision from job?

2015-12-09 Thread Guy Matz
! Thanks a lot, Guy -- 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 discussio

Re: Groovy Question: revision from job?

2015-12-10 Thread Guy Matz
Nicely done!! How the heck was I supposed to know that!? :-( The API is less than intuitive and does not seem to be well documented. Any advice on how to best use it? Thanks again!! On Wed, Dec 9, 2015 at 7:28 PM, Christopher Orr wrote: > Hi there, > > On 09/12/15 23:40, Guy M

Re: Looking for input: Workflow scripting best practices

2015-12-10 Thread Guy Matz
Hi! There was a meetup of NYC CD recently where workflow was presented. The slidedeck is at http://goo.gl/WZh9kZ There is a link in there to a dockerized jenkins for testing, etc., which might be useful . . ? On Thu, Dec 10, 2015 at 9:47 AM, Andrew Bayer wrote: > Hey all! > > I'm about to start

Customizing the Project Page

2015-12-11 Thread Guy Matz
ows what the changes are . . . I have the groovy code that gets the log output, now I just need a way to get it onto the project page. Thanks a lot, Guy -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and

Re: which logo do you like best?

2015-12-14 Thread Guy Matz
5 & 6 On Mon, Dec 14, 2015 at 3:24 PM, Christopher Orr wrote: > Something like #2 would be good — #6 is also ok. > > Don't forget to get permission to use the Jenkins trademark! :D > > Regards, > Chris > > > On 14/12/15 20:17, Alyssa Tong wrote: > > Hello, > > > > Planning is underway for Jenkin

email-ext plugin + credentials plugin?

2016-03-24 Thread Guy Matz
Hello! I'm trying to pass some credentials (via the credentials plugin) to a pre-send script within the email-ext plugin . . . however, the credentials are not showing up as environment vars . . . anyone know how if these two plugins can work together? Thanks a lot! Guy -- You received

Re: email-ext plugin + credentials plugin?

2016-03-24 Thread Guy Matz
ng. > > On Thu, Mar 24, 2016, 13:40 Guy Matz wrote: > >> Hello! I'm trying to pass some credentials (via the credentials plugin) >> to a pre-send script within the email-ext plugin . . . however, the >> credentials are not showing up as environment vars . . . an

Re: email-ext plugin + credentials plugin?

2016-03-25 Thread Guy Matz
JIRA_PASSWORD in a build step . . . Any thoughts here would be greatly appreciated!! Thanks a lot, Guy On Thu, Mar 24, 2016 at 6:10 PM, Slide wrote: > How are you specifying the credentials? I am not completely familiar with > the credentials plugin, so I don't know how it makes t

Re: email-ext plugin + credentials plugin?

2016-03-25 Thread Guy Matz
Hmm . . . no, the build.buildVariables['JIRA_USERNAME'] showed up as null . . . any other thoughts? Thanks again, Guy P.S. - Thanks for the pointer to the Jira plugin. That might work for another problem I have! On Fri, Mar 25, 2016 at 10:24 AM, Slide wrote: > Can

Re: email-ext plugin + credentials plugin?

2016-03-25 Thread Guy Matz
riables End Thanks again!! On Fri, Mar 25, 2016 at 11:44 AM, Slide wrote: > Can you print out what is in build.buildVariables? The other thing to try > would be build.getEnvironment(listener)['JIRA_USERNAME'] > > On Fri, Mar 25, 2016 at 8:39 AM Guy Matz wrote: &g

Re: connecting jenkins to artifactory

2016-03-28 Thread Guy Matz
Is this for a parameterized job? Sorry, could you explain a bit more? I have some experience with this and can probably help . . . On Mon, Mar 28, 2016 at 9:13 AM, Oleg Nenashev wrote: > I've added jenkinsci-users to Cc. > Most likely somebody has a hands-on experience with the latest Artifact

Groovy library

2016-03-30 Thread Guy Matz
sense. Thanks, Guy -- 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 w

Re: Groovy library

2016-03-31 Thread Guy Matz
Anyone? Thanks again. On Wed, Mar 30, 2016 at 4:52 PM, Guy Matz wrote: > Hi! I have some groovy methods that I would like to make generally > available to any jenkins job . . . does anyone have any recommendations > for creating a library of methods and setting up jenkins to

Re: Groovy library

2016-04-01 Thread Guy Matz
Is anyone getting this? :-( On Thu, Mar 31, 2016 at 4:06 PM, Guy Matz wrote: > Anyone? Thanks again. > > On Wed, Mar 30, 2016 at 4:52 PM, Guy Matz wrote: > >> Hi! I have some groovy methods that I would like to make generally >> available to any jenkins job . .

Where can I drop a jar for it to be generally available to jenkins?

2016-04-08 Thread Guy Matz
Is there a magic directory I can put a jar for it to available to Jenkins? Or - ugh - Do I need to put it in a plugin? Thanks!! -- 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, s

Re: Where can I drop a jar for it to be generally available to jenkins?

2016-04-08 Thread Guy Matz
irectory on the Jenkins server serves content over http > if that would help. > > On Fri, Apr 8, 2016 at 7:53 AM Guy Matz wrote: > >> Is there a magic directory I can put a jar for it to available to >> Jenkins? Or - ugh - Do I need to put it in a plugin? >> >>

Groovy groovy-starter.conf

2016-04-11 Thread Guy Matz
Hello! Anyone know if Jenkins honors Groovy's groovy-starter.conf? And where it needs to be to get noticed? -- 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 je

Grab'ing libraries in jenkins script console

2016-04-22 Thread Guy Matz
Anyone know how to get this - or an equivalent - to work in jenkins script console? @Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.7.2') import groovyx.net.http.* Thanks! -- You received this message because you are subscribed to the Google Groups "Je

Jenkins crashes when I try to add scriptler as a post-build action

2016-05-10 Thread Guy Matz
,"defineParams":{"parameters":{"name":"SIDECAR_ENV","value":"ci"}},"stapler-class":"org.jenkinsci.plugins.scriptler.builder.ScriptlerBuilder","$class":"org.jenkinsci.plugins.scriptler.builder.ScriptlerBuilder"} Any help would be greatly

Re: Jenkins crashes when I try to add scriptler as a post-build action

2016-05-11 Thread Guy Matz
ction. You > must have done it via "Use Publisher from another project". > > > On Tuesday, May 10, 2016 at 8:33:33 AM UTC-7, Guy Matz wrote: >> >> Hi! I'm getting a Stack trace >> <https://bitbucket.org/snippets/guymatz-jcrew/x6Xpo> when tryi

Build pipeline plugin can't find downstream job for manual trigger

2016-07-14 Thread Guy Knights
t what I'm after. I used to run Jenkins 1.65 and this worked fine, so I'm wondering if it's a bug related to this new Jenkins version. Does anyone know how to fix this? Thanks, Guy -- You received this message because you are subscribed to the Google Groups "Jenkins Users

Tool URLs on master vs agent for pipeline jobs

2018-01-22 Thread Guy Knights
:// type url to access it, but I thought I'd check here first and see if there's a way to set different repo urls for the jenkins master vs the agent nodes. Is this possible? Thanks, Guy -- You received this message because you are subscribed to the Google Groups "Jenkins Users" gr

job statistics per user

2018-01-24 Thread Guy Mesika
Hi i'm looking for a plugin that shows the usage of jobs - statistics how many time the job was executed per user plugin needs to show how many times the user executed the job something like user| number jimmy 10 Larry 20 do y

Using StaplerRequest to configure a plugin?

2018-03-06 Thread Guy Matz
Hi! Does anyone know how to automate the configuration of a plugin using a StaplerRequest object? I'm trying to configure scm-sync-configuration with: import net.sf.json.JSONObject import org.kohsuke.stapler.StaplerRequest import hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin

Re: Does 'scm checkout' always give the same result with parallel builds in JenkinsFiles ?

2017-03-19 Thread guy . israeli
Was this merged already? Is it safe to use checkout scm within for parallel jobs? On Thursday, September 22, 2016 at 6:53:06 AM UTC+3, Mark Waite wrote: > > The intent of the checkout scm step is that it takes a single revision, > and uses that revision for the duration of the job. > > Unfortunat

Using a docker image in a declarative pipeline

2017-05-05 Thread Guy Knights
I believe I could add it as a script { } block, but this seems kludgy to me. Is there a way to transpose this to a syntax that would work in a declarative pipeline? I found the docs not very informative on this issue. Thanks, Guy -- You received this message because you are subscribed to the Go

how to return a failure from scriptler ?

2017-07-13 Thread Guy Matz
.groovy] failed - org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script1.groovy: 51: unexpected token: return @ line 51, column 85. doSomething() || return fal Anyone know how to fail a build from scriptler? Thanks! Guy -- You received this message because you are subscribed to the Google Groups "

Re: how to return a failure from scriptler ?

2017-07-16 Thread Guy Matz
So I think a false return from scriptler is supposed to fail the build. anyone know why this syntax does not work in scriptler Better yet, does anyone know what doe work? Thanks! On Thu, Jul 13, 2017 at 10:06 AM, Guy Matz wrote: > Hello! > I'm trying to have a build fail when som

Declarative pipeline with loop and input timeout

2017-08-01 Thread Guy Knights
en it hit them. How would I make the code above loop until the user hits the 'Deploy' option for the input step? Thanks, Guy -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving e

Re: Declarative pipeline with loop and input timeout

2017-08-15 Thread Guy Knights
Does anyone have any suggestions for how I can make this work? Thanks, Guy On Tuesday, August 1, 2017 at 12:17:42 PM UTC-7, Guy Knights wrote: > > I have an input step in a declarative pipeline and I want to add some > logic so that if the input step waits too long for someone to pr

Re: Declarative pipeline with loop and input timeout

2017-08-16 Thread Guy Knights
Thanks Victor, I'll take a look at it when I get a chance and see if I can use your solution. Cheers, Guy On Tue, Aug 15, 2017 at 1:49 PM, Victor Martinez < victormartinezru...@gmail.com> wrote: > I did a kind of similar but not equally implementation. The important bit > is

Re: Build pipeline plugin can't find downstream job for manual trigger

2016-07-18 Thread Guy Knights
https://issues.jenkins-ci.org/browse/JENKINS-34099. On Thursday, July 14, 2016 at 4:04:30 PM UTC-7, Guy Knights wrote: > > In Jenkins 2.7.1 with build-pipeline plugin 1.5.3.1 I'm trying to set a > manual downstream trigger for a job using the "Build other projects (manual > step)"

Re: Using git publisher from a Jenkinsfile pipeline?

2016-08-26 Thread Random Guy
I tried withCredentials() method... its giving an error.. NoSuchMethodError... java.lang.NoSuchMethodError: No such DSL method 'withCredentials' found Here is how my method look withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'myid', usernameVariable: 'USERNAME', pas

scriptler - dependencies with grab/grape?

2016-09-28 Thread Guy Matz
Hello! Does anyone know if it's possible to grab dependencies within a scriptler script? Any advice out there? Thanks!! -- 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

moving hotfixes along a parallel SDLC

2016-10-17 Thread Guy Matz
b. Do I need this? Any better ideas out there? This seems like a common enough problem that it's already been solved six ways to sunday . . . Thanks a lot, Guy -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe fro

Re: moving hotfixes along a parallel SDLC

2016-10-17 Thread Guy Matz
Number+Plugin > https://wiki.jenkins-ci.org/display/JENKINS/semantic-versioning-plugin > https://wiki.jenkins-ci.org/display/JENKINS/Next+Build+Number+Plugin > > Björn > > > Am Montag, 17. Oktober 2016 15:44:25 UTC+2 schrieb Guy Matz: >> >> Hello! I need to be abl

Pipeline manual step display

2016-11-25 Thread Guy Knights
the Jenkins page, and in a different colour (eg. orange) so I know it's waiting for manual input. Thanks, Guy -- 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, se

Ansible plugin problem in pipeline code

2016-11-28 Thread Guy Knights
extraVars: [ wl_name: "${wlName}", client_version: "${gtpCommitId}" ], additionalParameters: '--vault-password-file "/var/jenkins_home/.ansible/vault.pwd" --forks=10', colorized: true ) "stable-2.2"

writing a jenkins plugin using gradle: gradlew server --continuous

2017-01-20 Thread Guy Matz
Hello! I'm writing a jenkins plugin using the gradle JPI plugin and it's mostly great. My one problem is that changes to code do not cause the test jenkins server to restart when gradle is run in continuous mode, i.e.: ./gradlew server --continuous

Pipeline problem after upgrading

2017-02-02 Thread Guy Knights
know why? Thanks, Guy -- 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 w

Re: Build pipeline plugin can't find downstream job for manual trigger

2017-02-03 Thread Guy Knights
Right, sorry - I'm using the folders plugin: https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Folders+Plugin That's what I was referring to. Regards, Guy On Wed, Feb 1, 2017 at 7:59 AM, Peter Nelissen wrote: > What do you mean with the folder? The project name? Pipeline nam

Re: Pipeline problem after upgrading

2017-02-03 Thread Guy Knights
I just found this jira ticket: https://issues.jenkins-ci.org/browse/JENKINS-41339. Using the PATH+EXTENSION=/extension syntax in my System config -> Environment Variables fixed the problem for me. On Thu, Feb 2, 2017 at 4:27 PM, Guy Knights wrote: > I upgraded some of my pipeline plugins

Re: Running a local Jenkins plugin repository?

2017-02-24 Thread Guy Matz
This look promising: https://wiki.jenkins-ci.org/display/JENKINS/UpdateSites+Manager+plugin On Tue, Dec 20, 2016 at 10:32 AM, Daniel Beck wrote: > > > On 20.12.2016, at 15:18, Andrew Ducker wrote: > > > > … security people aren't willing to open up arbitrary locations … > > > > … an internal Je