Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
    
one question for one post please :) –  raaz Feb 5 '13 at 15:15
    
Ok, removed! thanks –  tiagoortiz Feb 5 '13 at 15:23
add comment

1 Answer

If you need quick access to the machine you can:

juju ssh jenkins/0

Assuming 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/jenkins

and 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.

share|improve this answer
    
Have a way of doing it generic and non-manual? We do not want to directly modify a charm at this time. –  tiagoortiz Feb 5 '13 at 15:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.