Re: get all agents used by a build

2022-04-22 Thread Mathieu DELROCQ
It is working as expected. But now I'm trying to get the duration of the stage wich use the agent and I don't find a way to do that. Do you have an idea ? Thanks in advance. Mathieu DELROCQ Le mer. 20 avr. 2022 à 15:50, Mathieu DELROCQ a écrit : > Thank you I will try this !!

Re: get all agents used by a build

2022-04-20 Thread Mathieu DELROCQ
Thank you I will try this !! :D Le mer. 20 avr. 2022 à 14:25, 'Jesse Glick' via Jenkins Developers < jenkinsci-dev@googlegroups.com> a écrit : > On Wed, Apr 20, 2022 at 4:03 AM Mathieu DELROCQ > wrote: > >> I have a Run object and I would like to get all agen

get all agents used by a build

2022-04-20 Thread Mathieu DELROCQ
e is a NODE_NAME environment variable but what happens if there is multiple nodes instanciated for the Job ? Thanks in advance. Mathieu DELROCQ -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group an

Re: Unable to release plugin - auth to Artifactory failing, but works with other Jenkins infra

2021-12-02 Thread Mathieu Delrocq
Hi David, I faced same error when I released my plugin this week. It was because I didn't use an encrypted password to publish on the artifactory. This tutorial solve the error 401 for me : https://www.jenkins.io/doc/developer/publishing/releasing-manually/#artifactory-credentials-for-maven But

Seeing old security warning for Mac Plugin 1.2.1

2020-06-24 Thread Mathieu Delrocq
I have a security warning in plugin managment for the plugin Mac, but the security issues were fixed for this version : Jenkins plugins managment : On plugin page (https://plugins.jenkins.io/mac/) : Do you know how I can remove theses warnings from the version 1.2.1? -- You recei

Re: Read a file on jenkins slave workspace

2020-04-17 Thread Mathieu Delrocq
Thank you Jesse !! It is working now :) Le vendredi 17 avril 2020 14:22:10 UTC+2, Jesse Glick a écrit : > > This code could not work because you were trying to read a local file > with a pathname that only exists on the agent. You cannot use > `java.io.File` nor `java.nio.file`, only methods on

Read a file on jenkins slave workspace

2020-04-17 Thread Mathieu Delrocq
ent? Thanks. Mathieu DELROCQ -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussi

Re: How to get wich job is launching a pod in kubernetes-plugin ?

2019-07-29 Thread Mathieu Delrocq
gent? Thank you. Le vendredi 26 juillet 2019 17:27:39 UTC+2, Jesse Glick a écrit : > > On Fri, Jul 26, 2019 at 5:21 AM Mathieu Delrocq > > wrote: > > With docker-plugin, there is a log to know wich job is executing wich > docker-agent, I want to know if there is something

How to get wich job is launching a pod in kubernetes-plugin ?

2019-07-26 Thread Mathieu Delrocq
Hello, With docker-plugin, there is a log to know wich job is executing wich docker-agent, I want to know if there is something similar in kubernetes-plugin. Or if there is a way to catch the information. Thanks -- You received this message because you are subscribed to the Google Groups "Je

JNLP : Error: Invalid or corrupt jarfile agent.jar

2019-07-17 Thread Mathieu Delrocq
Hello, My problem is when try to launch the command "java -jar agent.jar ... " to connect my Jenkins agent via JNLP, I got the error "Error: Invalid or corrupt jarfile agent.jar". I download agent.jar with a command "curl". My Jenkins is launched with the war (java -jar jenkins.war) and I tried

Re: [JENKINS 57012] Need help to get current ItemGroup in configuration

2019-06-05 Thread Mathieu Delrocq
:58 UTC+2, Jeff a écrit : > > Hi Mathieu > > Are you looking from something like the Folder Properties Plugin? > <https://wiki.jenkins.io/display/JENKINS/Folder+Properties+Plugin> > > Best > Jeff > > On Fri, May 24, 2019 at 5:10 AM Mathieu Delrocq > wro

Re: [JENKINS 57012] Need help to get current ItemGroup in configuration

2019-06-05 Thread Mathieu Delrocq
ou could call a method > setOwner(folderprop.getOwner()) on JiraSite to inject the folder. > > Regards > Markus > > On 24.05.2019 11:42, Mathieu Delrocq wrote: > > Hello, > > I want to add the possibility to configure a folder scope credential on > jira-plugi

[JENKINS 57012] Need help to get current ItemGroup in configuration

2019-05-24 Thread Mathieu Delrocq
Hello, I want to add the possibility to configure a folder scope credential on jira-plugin. Actually we can configure a JiraSite on the global config and on a folder config. I want to add the current ItemGroup in JiraSite class to know if it was created on a folder or on Global Config but I d