Skip to content
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

Where are jobs list of build-monitor dashboard saving ? #123

Closed
haplo31 opened this issue Jan 14, 2015 · 3 comments
Closed

Where are jobs list of build-monitor dashboard saving ? #123

haplo31 opened this issue Jan 14, 2015 · 3 comments
Labels

Comments

@haplo31
Copy link

haplo31 commented Jan 14, 2015

Hello,
I try to create multiple jobs by script and I don't want to have to check them all in my build-monitor config page.
Is there a file I can modify to add my new jobs in my build-monitor dashboard ?
I saw my list of jobs visible in build-monitor dashboard in config.xml file from Jenkins but it doesn't seem to have any effect when I add a job on this list, it doesn't appear on my build-monitor dashboard.
Thanks a lot for your help

@jan-molak
Copy link
Member

Hey @haplo31 The configuration is saved in the config.xml file. If I remember correctly, this file is loaded when Jenkins starts up, so won't be reloaded if you change it manually after the startup. I think a restart would be required for your changes to take effect.

Hope this helps!
Jan

@haplo31
Copy link
Author

haplo31 commented Jan 26, 2015

Hi Jan,
Thanks for your answer, I find the configuration in the config.xml file and I am now able to add jobs by script.
You're right, the file is read on startup but I put a curl call in my job to reload configuration:
curl -X POST http://Username:Password@JenkinsIp:JenkinsPort/reload

@haplo31 haplo31 closed this as completed Jan 26, 2015
@jan-molak
Copy link
Member

Cool, glad I could help :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants