You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Pipeline as code on Jenkins- every build triggers a checkout from my pipelines repo to retrieve the job pipeline script.
the pipeline flow is :
do git checkout of my actual code repo to a separate sub-directory
cd do it and run dotnet gitversion
Expected:
get a calculated version of my actual code repo
Actual:
I get the version of my pipeline repo
steps I did to try to workaround:
get the pipeline repo to a sub dir as well - did'nt work.
paste the pipeline code directly in the UI - did the trick and I got my code version correct.
This is a major lost of jenkins functionality (handle jobs as code) - any solution will help :)