the jenkins agent i m using is a server on which i cannot change credentials(ssh keys and stuufs) nor add the existing key to my github
Im trying to use a string parameter to add a token , which value i ll paste when building the job
I don t want to store my git credentials on that jenkins server either, and all the syntaxes i ve used so far are not working.
sample of jenkinsfile
i was expecting to save the value of the token in the TOKEN variable and call it in my git push command
i m trying to avoid to use the env variable calling the credentials stored in jenkins.
thx in advance if anyone has a clue.
demefo rudi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.