On October 20, 2021 6:50:48 AM UTC, Petra Halouzkova <pierret...@gmail.com> 
wrote:
>Hello,
>I need a little help, i m new in writting jenkins plug-in but i my job
>i
>write plug-in which shoul collect commits from repo between two release
>version and send them to jira.
>My plug-in works fine when build run on master but fail when it run on
>agent. I guess it is because
>during build i m checking workspace and in calling git command (from
>buildprocessor) but on agent i cant find workspace with checkout
>direrectory.
>How can i fix that?
>Thanks
>Petra

As a shot in the dark: are you running the git command as a system process, or 
wrapped via Git Client Plugin? The wraps should include a proxy mode to 
effectively tell the agent to run stuff and return results, and AFAIK this 
should be transparent to plugin authors and users (probably depends on node 
context, workspace path, etc. behind the scenes).

Jim
--
Typos courtesy of K-9 Mail on my Android

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/B06C45F0-58E5-4CD3-B9C5-B7E8D495D118%40cos.ru.

Reply via email to