I have a question about the jenkins charm:
After creating a new instance with a jenkins charm, how can I run a script with commands to install some programs needed in machine created?
11 Answer
If you need quick access to the machine you can:
juju ssh jenkins/0Assuming 0 is your machine number (you can find out specifically by running juju status).
If you're wanting to do this on every machine you spawn, you might want to consider downloading the charm and modifying it to meet your exact deployment needs. This is especially useful if it's things that are useful to you or your organization. You can do this by branching the code:
bzr branch lp:charms/jenkinsand then deploying from that instead of from the charm store.
If it's something that you feel is useful for the Jenkins-using community in general then I encourage you to consider contributing to the charm.
1