jenkins version in jenkins charm

Richard Harding rick.harding at canonical.com
Fri Jan 10 14:00:14 UTC 2014


On Fri, 10 Jan 2014, Steve Powell wrote:

> Is there a way of fixing the charm settings before deploying for the
> first time, so that I can set the release (source) (and plugins, btw)
> before the service is initialised?

Definitely. `juju deploy` takes an option for a config file. I use that in
my Jenkins install to set the source and the admin password on install.

I created a file 'jenkins_conf.yaml'

  jenkins:
    password: test
    release: trunk


and then deploy with:

  juju deploy --config jenkins_conf.yaml precise/jenkins

This brings up the service with the config specified.

--

Rick Harding

Cloud Engineering
https://launchpad.net/~rharding
@mitechie



More information about the Juju mailing list