Skip to content

Conversation

@AMartindale98
Copy link

Please note it would be ideal to merge this only after this is approved in community.general repo: ansible-collections/community.general#9130

We noticed when installing SSO on our Jenkins instance that we run into errors with authorization to download plugins because we cannot get a crumb. One way around this is to use an api token instead of password to download plugins and use the force_basic_auth param (that param is not properly integrated into the jenkins_plugin module to create a basic auth header at this time, see PR above).

Groovy script to create an API token only on start up happens when jenkins_use_api_token param is true (default is false) and it is expected that the user would provide the value of the intended API token controlled by jenkins_api_token.

@github-actions
Copy link

This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@github-actions github-actions bot added the stale label May 25, 2025
@github-actions github-actions bot removed the stale label Jul 13, 2025
@github-actions
Copy link

This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@github-actions github-actions bot added the stale label Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants