-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to reload scm configuration programmatically #44
Comments
Interested too |
+1 |
Trying to solve same issue 👍 |
I managed to do it: Using ansible:
Bash: |
nice one, thanks |
@PeterLappo How did you manage to set the plugin configuration with Ansible? Can you provide the complete tasks list? |
@xussof To reload Jenkins a POST is needed:
This worked for me. |
I'm writing an Ansible script that installs Jenkins and loads SCM config from git. I've got most of it working but can't figure out how to invoke http://:/plugin/scm-sync-configuration/reloadAllFilesFromScm from a curl script to force Jenkins to use the config from git.
A curl scripts seems to be the obvious way to do it but can't get it to work.
Any ideas?
The text was updated successfully, but these errors were encountered: