Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updates for revision and private-address

  • Loading branch information...
commit 4a318b753ab71f5db86ab0692c1358b0d75d216a 1 parent bb679df
@javacruft javacruft authored
View
5 CHANGES.md
@@ -1,3 +1,8 @@
+jenkins 15
+----------
+
+* [james-page] Refactoring to use private address as and where required.
+
jenkins 14
----------
View
5 hooks/master-relation-joined
@@ -1,4 +1,5 @@
#!/bin/sh
-juju-log "Setting url relation to http://`hostname -f`:8080"
-relation-set url="http://`hostname -f`:8080"
+HOSTNAME=`unit-get private-address`
+juju-log "Setting url relation to http://$HOSTNAME:8080"
+relation-set url="http://$HOSTNAME:8080"
View
5 hooks/website-relation-joined
@@ -1,4 +1,5 @@
#!/bin/sh
-juju-log "Setting website URL to `hostname -f`:8080"
-relation-set port=8080 hostname=`hostname -f`
+HOSTNAME=`unit-get private-address`
+juju-log "Setting website URL to $HOSTNAME:8080"
+relation-set port=8080 hostname=$HOSTNAME
View
1  metadata.yaml
@@ -1,6 +1,5 @@
ensemble: formula
name: jenkins
-revision: 15
summary: Jenkins Continuous Integration server
description: |
Jenkins is a Continous Integration server supporting
Please sign in to comment.
Something went wrong with that request. Please try again.