I have a jenkins job in freestyle mode. In the build step, I add a section "execute shell script". And in this shell section script, I have a command to connect to bitbucket with a user et token. My issue is I want to obfuscate the token to not allow everyone to see it. I know that this possible with pipeline but I not find any solution for freestyle job... Anyone have solution for this please?
Finally I manage to do it with option "Use secret text(s) or file(s)" available in the job settings
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.