Re: Jenkinsfile SCM Checkout stage, how to match remote pull request head with local build head

2020-02-25 Thread Amila Gunathilake
Hi Mark, Actually where I can find the file you mention "/home/mwaite/git/bare/jenkins/jenkins.git/objects" in your repository MarkEWaite /jenkins-bugs ? Finally I able to get use the GIT Reference repository in my bu

Build agents usage statistics

2020-02-25 Thread Ewelina Wilkosz
Hi! Did any of you have/know a nice way of getting the usage statistics for build agents? I'm looking e.g. for: - how many jobs/pipelines were run per agent and per label - for how long in last 24hrs agents (e.g. with given label) were unoccupied - which jobs/pipeline were waiting in queue and fo

AW: Use environment variable from upstream build

2020-02-25 Thread Stefan.Rademacher
Hi, as a simple test case, I created these two pipelines. First, the "upstream pipeline": pipeline { agent { label 'Linux-Test' } environment { name = 'foo' } stages { stage('Set environment') { environment { name = 'bar'

Re: Use environment variable from upstream build

2020-02-25 Thread Mark Waite
I wonder if you need to use https://issues.jenkins-ci.org/browse/JENKINS-56875 and its "allow undefined parameters" setting to grant permission for the environment variables from the preceding job to be visible in the successor job? Alternatively, have you considered passing the values as paramete

Re: Build agents usage statistics

2020-02-25 Thread Sathish Mamidala
You can use monitor plug in, which provides most of the information, see if it helps you. On Tue, 25 Feb 2020, 11:59 Ewelina Wilkosz, wrote: > Hi! > > Did any of you have/know a nice way of getting the usage statistics for > build agents? I'm looking e.g. for: > - how many jobs/pipelines were ru

maven build success despite OOM

2020-02-25 Thread James Nord
what kind of job are you using and how do you launch maven? -- 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 vie

adding an ldap group to Project-based Matrix Authorization when an ldap user exists with the same name?

2020-02-25 Thread James Nord
you may get lucky if you prepend ROLE_ to the group name. long long ago you needed to do that before it was improved (like 10 years ago). I think that functionality remains to retain backwards compatibility and thus it may work to disambiguate the user and role. -- You received this message be

Re: Jenkinsfile SCM Checkout stage, how to match remote pull request head with local build head

2020-02-25 Thread Mark Waite
On Monday, February 24, 2020 at 8:17:07 PM UTC-7, Mark Waite wrote: > > You can confirm that a reference repository is being used by looking for > the file .git/objects/info/alternates in the repository. > > That sentence is phrased incorrectly. You can confirm that a reference repository is

Re: Jenkinsfile SCM Checkout stage, how to match remote pull request head with local build head

2020-02-25 Thread Mark Waite
On Tuesday, February 25, 2020 at 1:06:26 AM UTC-7, Amila Gunathilake wrote: > > > > On Tuesday, February 25, 2020 at 3:03:34 AM UTC-5, Amila Gunathilake wrote: >> >> Hi Mark, >> >> Actually where I can find the file you mention >> "/home/mwaite/git/bare/jenkins/jenkins.git/objects" in your repo