You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when trying to run the jenkins cli in plugins.yml, i get an error about authentication
ERROR: You must authenticate to access this Jenkins.
Use --username/--password/--password-file parameters or login command.
i have tried using admin with locally stored admin password to no avail. how did you work around this or fix?
The text was updated successfully, but these errors were encountered:
i figured out a solution. it has to do with the downloaded jenkins-cli.jar appears to be incompatible with the version of jenkins installed on the instance. Therefore, the best thing to do is copy the already installed jenkins-cli.jar to the same directory as what would have been downloaded
in cli.yml,
change this
name: Get Jenkins CLI
get_url:
url: "{{ jenkins_api_url }}jnlpJars/jenkins-cli.jar"
dest: "{{ jenkins_cli_dest }}"
mode: 0440
register: jenkins_local_cli
until: "'OK' in jenkins_local_cli.msg or 'file already exists' in jenkins_local_cli.msg"
retries: 5
delay: 10
when trying to run the jenkins cli in plugins.yml, i get an error about authentication
ERROR: You must authenticate to access this Jenkins.
Use --username/--password/--password-file parameters or login command.
i have tried using admin with locally stored admin password to no avail. how did you work around this or fix?
The text was updated successfully, but these errors were encountered: