Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3769332
D1792.id4543.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D1792.id4543.diff
View Options
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@
```
docker pull nasqueron/tommy
-docker run -dt -p 8080:4567 -e HUDSON_URL=http://ci.domain.tld 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
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 14:11 (7 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259842
Default Alt Text
D1792.id4543.diff (1 KB)
Attached To
Mode
D1792: Use JENKINS_URL as environment variable
Attached
Detach File
Event Timeline
Log In to Comment