Hi noble Jenkins developers, I am trying to fully automate my Jenkins-based job execution environment and facing some issues there. I still have to do some steps manually :( My base image is 1.651.3.
1. I need to have a job preconfigured. Tried different ways, the best one seems to be creating one programmatically from XML via Jenkins API, in Groovy script placed in *init.groovy.d*. However, even if job was created (no errors given, and object hash is available in debug), sometimes Jenkins needs to be reloaded in order for it to appear :( 2. I have slaves populated via Swarm plugin. The problem is that slaves do not connect until I go to the global Jenkins config and press "Save" - otherwise slaves complain about Jenkins not having the URL configuration available yet. I cannot think of a way to make it fully automated. How is it possible to define this URL before Jenkins start? 3. I have a hashed password for RabbitMQ connection set in my config.xml. When this XML is used to create a job, RabbitMQ rejects the attempts to connect with the password provided saying it's "plaintext". However, connection validation in a job UI config form works fine. All that is needed is to open the config and save it. Looking at the config.xml I see that the password hash has changed. How to get around this without the manual config saving? Programmatic .save() doesn't help :( Regards, Kirill. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/1135ea83-ab6f-411d-98b0-97866d44c66b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
