As a Jenkins administrator, how can I get an API user token without logging in, how are they?

As an administrator, how do I get an API token for a user other than me without logging in? When I visit the user configuration page, all I see is that the “token is hidden” and I cannot change it either.

+5
source share
1 answer

There is a Jenkins system property, jenkins.security.ApiTokenProperty.showTokenToAdmins. To change it, you need access to start the master / OC process.

Documented below https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties

(We will do our best to leave this false.)

+10
source

All Articles