Can anyone help me how to use the git credentials using a shared library concept in groovy script using withCredentials method and how to call in another shared library groovy file.
or point to a post which is related to this query.
I ran into this issue as well. What i do instead is save the cedential in environment variables or pass it to the method called.
1Year too late but, might be interesting for others