Page MenuHomeDevCentral

D1792.id4539.diff
No OneTemporary

D1792.id4539.diff

diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -17,8 +17,8 @@
A Docker image is also provided:
```
-docker pull dereckson/tommy
-docker run -dt -p 8080:4567 -e HUDSON_URL=http://ci.domain.tld dereckson/tommy
+docker pull nasqueron/tommy
+docker run -dt -p 8080:4567 -e JENKINS_URL=http://ci.domain.tld nasqueron/tommy
```
### Contributors
diff --git a/tommy.rb b/tommy.rb
--- a/tommy.rb
+++ b/tommy.rb
@@ -32,7 +32,7 @@
# Environment
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-HUDSON_URL = ENV['HUDSON_URL'] || 'http://username:password@my.hudsonurl.com'
+JENKINS_URL = ENV['JENKINS_URL'] || 'http://username:password@jenkins.domain.tld'
# -------------------------------------------------------------
# Project class
@@ -117,7 +117,7 @@
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def prepare_dashboard
- json = RestClient::Resource.new("#{HUDSON_URL}/api/json?depth=1")
+ json = RestClient::Resource.new("#{JENKINS_URL}/api/json?depth=1")
@projects = Project.parse_incoming_json(JSON.parse(json.get))
erb :index

File Metadata

Mime Type
text/plain
Expires
Fri, May 2, 12:55 (18 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2624669
Default Alt Text
D1792.id4539.diff (1 KB)

Event Timeline