Re: Build on all agents

2021-04-14 Thread Mark Waite
See the parallel step On Wed, Apr 14, 2021 at 1:00 AM pe...@pjksolutions.com < p...@pjksolutions.com> wrote: > HI Mark your code now runs as expected, now that I have a collection of > nodes how can I use them to build a specific job ? > > On Monday, 12 April 2021 at 17:54:54 UTC+1 Mark Waite wro

Re: sparse checkout multiple repositories

2021-04-14 Thread Manoj Chander
Thanks mark On Thu, 18 Mar 2021, 17:42 Mark Waite, wrote: > Yes, it is possible. You'll need to use the "checkout" step rather than > the "git" step. > > The documentation for the "git" step (in the online help of your Jenkins > installation and on jenkins.io >

Global Tool Configuration: Groovy installer uses wrong URL

2021-04-14 Thread Amedee Van Gasse
I wanted to share a Slack message that a colleague sent me today. -- @here as an FYI, in the *Global Tool Configuration* on *Jenkins*, I have renamed the *2.5.6* Groovy installer to *2.5.6-old* and added a new *2.5.6* Groovy installer with the download link hard-coded ( https://groovy.j

overwrite an environment variable

2021-04-14 Thread webde...@gmail.com
hey, all! Here's what I would like to do: 1. in the pipeline itself, create an environment variable. 2. pass that environment variable to a job 3. that job will overwrite the environment variable's value at the top level 4. a later job will use this new value within its execution. something like

Re: how to access all classes and methods of a plugin in jenkins pipeline?

2021-04-14 Thread Ullrich Hafner
Can you please file a bug report for the warnings plugin, it seems something broken in my build... > Am 14.04.2021 um 18:55 schrieb jesus fernandez : > > yes all the other plugins I have checked so far have a woeking javadoc > > El mié., 14 abr. 2021 18:20, Ullrich Hafner

Re: Can I send cppcheck results through slack in a jenkins pipeline?

2021-04-14 Thread Ullrich Hafner
You must wrap it into tm: see https://github.com/jenkinsci/warnings-ng-plugin/blob/master/ui-tests/src/test/java/io/jenkins/plugins/analysis/warnings/SmokeTests.java#L99 > Am 13.04.2021 um 16:17 schrieb jesus fernandez : > > How can I access those token macros? (sorry if this is a silly questio

Re: Git Plugin Checkout From Branch With Tag

2021-04-14 Thread Mark Waite
On Wed, Apr 14, 2021 at 12:16 PM eric.fetzer wrote: > Thamks Mark! So how would I go about checking out a branch based on a > point in time (a label in most systems)? Is there a way to snap a label > and then check out based on that label or are we resigned to only deal in > tip revisions? > >

Re: Git Plugin Checkout From Branch With Tag

2021-04-14 Thread eric.fetzer
Thamks Mark!  So how would I go about checking out a branch based on a point in time (a label in most systems)?  Is there a way to snap a label and then check out based on that label or are we resigned to only deal in tip revisions?Sent from my T-Mobile 4G LTE Device Original message --

Jenkins CLI and Okta

2021-04-14 Thread octo...@gmail.com
Trying to do a basic cli command below I am unable to do this since my Jenkins uses OKTA Any advice or docs on how to do this? hours of googling has not been successful java -jar /home/jenkins/jenkins/jenkins-cli.jar -s http:/// -auth @/home/jenkins/jenkins/jenkins_credentials list-j

Re: how to access all classes and methods of a plugin in jenkins pipeline?

2021-04-14 Thread jesus fernandez
yes all the other plugins I have checked so far have a woeking javadoc El mié., 14 abr. 2021 18:20, Ullrich Hafner escribió: > I publish one, but never looked at the results. Does that work for other > plugins? > > Am 13.04.2021 um 13:32 schrieb jesus fernandez < > jesusfernandez0...@gmail.com>:

Re: how to access all classes and methods of a plugin in jenkins pipeline?

2021-04-14 Thread Ullrich Hafner
I publish one, but never looked at the results. Does that work for other plugins? > Am 13.04.2021 um 13:32 schrieb jesus fernandez : > > is there a javadoc for warnings-ng plugin? or just the github? I get a 404 > when accesing the warnings-ng javadoc > > El lunes, 12 de abril de 2021 a las 14

Automatically installed tools get updated on every use

2021-04-14 Thread Bjoern Hinrichs
Hi all, since upgrading to Jenkins 2.263.4 we're experiencing the following issue: We use Jenkins's feature to automatically install several build tools. In this case, in Global Tool Configuration we have a Maven installation "apache-maven-3.5.4" that uses "Extract *.zip/*.tar.gz" to install a

EC2 provision: A problem occurred while processing the request

2021-04-14 Thread Amedee Van Gasse
When provisioning a configured EC2 cloud (in the nodes page in Jenkins when you hit the provision via button), I get this error: Oops! A problem occurred while processing the request. Logging ID=8ead3651-3809-4a47-984c-e0e494c705bb -- You received this message because you are subscribed to t

Re: Build on all agents

2021-04-14 Thread pe...@pjksolutions.com
HI Mark your code now runs as expected, now that I have a collection of nodes how can I use them to build a specific job ? On Monday, 12 April 2021 at 17:54:54 UTC+1 Mark Waite wrote: > The Jenkins Pipeline DSL is extensible. It is extended by Jenkins plugins > that you may choose to install.