, 22 stycznia 2017 03:05:45 UTC+1 użytkownik Jesse Glick
napisał:
>
> On Fri, Jan 20, 2017 at 11:48 AM, Adakar <jaku...@gmail.com >
> wrote:
> > how to get current Stage name inside the
> > SimpleBuildStep.perform(Run run, FilePath workspace, Launcher
> launcher,
&g
tp://javadoc.jenkins-ci.org/hudson/model/TaskListener.html>
listener)method?
Best Regards,
Adakar
--
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,
I wonder if there is a Jenkins Java API to get information about the name
or if the agent was started as a service?
So far I found that the plugin sees the WINSW_SERVICE_ID env variable when
the agent is running as a service but I'm not sure if this check is
reliable and sufficient.
BR, Adakar
W dniu
Hi There :)
I'm working on a Jenkins plugin. I'm looking for a way to check if the
Jenkins agent is running as a Windows service. So far my idea is to check
if the WINSW_SERVICE_ID is set. Is there any other way? Any suggestions are
highly appreciated :)
BR, Adakar
--
You received
if it
is a service or not might still be useful for more detailed output.
W dniu czwartek, 5 grudnia 2019 11:57:53 UTC+1 użytkownik Daniel Beck
napisał:
>
>
>
> On Thu, Dec 5, 2019 at 11:26 AM Adakar >
> wrote:
>
>> My intention is to customize a plugin behavior based on the fact
gt; On 04.12.2019 15:46, Jonathan Mackenzie wrote:
>
> Yeah you can also use
>
> C:\WINDOWS\system32>net start | findstr "Jen"
>Jenkins
>
> C:\WINDOWS\system32>
>
> but it sounds to me like you have a wider use case here. Maybe you'd like
> to explain