Permalink
Browse files

migrate shiningpanda.com on shiningpanda-ci.com

  • Loading branch information...
1 parent 78f6001 commit 11fb38d3e6bedf9bef991d4ef2daa2f3849a3bde @omansion omansion committed Jul 30, 2012
Showing with 10 additions and 10 deletions.
  1. +3 −3 docs/shiningpanda
  2. +1 −1 services/shiningpanda.rb
  3. +6 −6 test/shiningpanda_test.rb
View
6 docs/shiningpanda
@@ -5,13 +5,13 @@ ShiningPanda is the first Hosted Continuous Integration service dedicated to Pyt
It allows you to build, test and deploy your projects in a matter of minutes!
-See https://www.shiningpanda.com for more information.
+See https://www.shiningpanda-ci.com for more information.
Install Notes
-------------
-1. Workspace - This your workspace key. For instance if your Jenkins URL is https://jenkins.shiningpanda.com/shiningpanda.org, then your workspace key is "shiningpanda.org".
-2. Job - This is the name of the job you want to trigger upon commit. For instance if the URL of your job in Jenkins is https://jenkins.shiningpanda.com/shiningpanda.org/job/selenose/, then your job name is selenose.
+1. Workspace - This your workspace key. For instance if your Jenkins URL is https://jenkins.shiningpanda-ci.com/shiningpanda.org/, then your workspace key is "shiningpanda.org".
+2. Job - This is the name of the job you want to trigger upon commit. For instance if the URL of your job in Jenkins is https://jenkins.shiningpanda-ci.com/shiningpanda.org/job/selenose/, then your job name is selenose.
3. Token - This is the value of the "Authentication Token" field of the "Trigger builds remotely (e.g., from scripts)" option in the "Build Triggers" section of your job configuration.
4. Branches (optional) - This is a space-separated list of branches to listen for commits on. Commits to other branches will not trigger your job. If no branches are specified, jobs are triggered for all commits.
5. Parameters (optional) - If your job takes parameters, this is the query string built from the parameters and their value (for instance "arg1=foo&arg2=bar"). All parameters have to be properly URL-escaped.
View
2 services/shiningpanda.rb
@@ -60,6 +60,6 @@ def query
end
def url
- @url ||= "https://jenkins.shiningpanda.com/#{workspace}/job/#{job}/#{parameters.empty? ? 'build' : 'buildWithParameters'}"
+ @url ||= "https://jenkins.shiningpanda-ci.com/#{workspace}/job/#{job}/#{parameters.empty? ? 'build' : 'buildWithParameters'}"
end
end
View
12 test/shiningpanda_test.rb
@@ -135,32 +135,32 @@ def test_token_blank
def test_url_without_parameters
svc = service(data, payload)
- assert_equal "https://jenkins.shiningpanda.com/shiningpanda.org/job/pygments/build", svc.url
+ assert_equal "https://jenkins.shiningpanda-ci.com/shiningpanda.org/job/pygments/build", svc.url
end
def test_url_nil_parameters
svc = service(data.merge({'parameters' => nil}), payload)
- assert_equal "https://jenkins.shiningpanda.com/shiningpanda.org/job/pygments/build", svc.url
+ assert_equal "https://jenkins.shiningpanda-ci.com/shiningpanda.org/job/pygments/build", svc.url
end
def test_url_blank_parameters
svc = service(data.merge({'parameters' => ''}), payload)
- assert_equal "https://jenkins.shiningpanda.com/shiningpanda.org/job/pygments/build", svc.url
+ assert_equal "https://jenkins.shiningpanda-ci.com/shiningpanda.org/job/pygments/build", svc.url
end
def test_url_with_parameters
svc = service(data.merge({'parameters' => 'foo=bar'}), payload)
- assert_equal "https://jenkins.shiningpanda.com/shiningpanda.org/job/pygments/buildWithParameters", svc.url
+ assert_equal "https://jenkins.shiningpanda-ci.com/shiningpanda.org/job/pygments/buildWithParameters", svc.url
end
def test_url_strip_workspace
svc = service(data.merge({'workspace' => ' shiningpanda.org '}), payload)
- assert_equal "https://jenkins.shiningpanda.com/shiningpanda.org/job/pygments/build", svc.url
+ assert_equal "https://jenkins.shiningpanda-ci.com/shiningpanda.org/job/pygments/build", svc.url
end
def test_url_strip_job
svc = service(data.merge({'job' => ' pygments '}), payload)
- assert_equal "https://jenkins.shiningpanda.com/shiningpanda.org/job/pygments/build", svc.url
+ assert_equal "https://jenkins.shiningpanda-ci.com/shiningpanda.org/job/pygments/build", svc.url
end
def test_strip_token

0 comments on commit 11fb38d

Please sign in to comment.