~timrchavez/charms/precise/jenkins-slave/jenkins-slave-fix-slave-relation-joined

Viewing all changes in revision 11.

  • Committer: Timothy Chavez
  • Date: 2014-04-09 15:33:59 UTC
  • Revision ID: timothy.chavez@canonical.com-20140409153359-ztsbl5bck4f9crb5
Add missing 'relation-set' of 'slaveaddress' so that Jenkins slaves can
be added to the Jenkins master via the 'juju add-relation' interface.
Currently the Jenkins master hook assumes (see: master-relation-changed) 
that the Jenkins slave sets 'slaveaddress' and will use value to add the
slave.  If no value is set for 'slaveaddress', it will be empty, and the
'addnode' script it passes the value to will fail.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: