BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
6d607627
Commit
6d607627
authored
Nov 05, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gitlab-ci-parallel' into 'master'
Update GitLab CI service to work with new GitLab CI See merge request !1239
parents
c3e83d47
4a41d4b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
gitlab_ci_service.rb
app/models/project_services/gitlab_ci_service.rb
+2
-2
gitlab_ci_service_spec.rb
spec/models/gitlab_ci_service_spec.rb
+2
-2
No files found.
app/models/project_services/gitlab_ci_service.rb
View file @
6d607627
...
...
@@ -28,7 +28,7 @@ class GitlabCiService < CiService
end
def
commit_status_path
(
sha
)
project_url
+
"/
build
s/
#{
sha
}
/status.json?token=
#{
token
}
"
project_url
+
"/
commit
s/
#{
sha
}
/status.json?token=
#{
token
}
"
end
def
get_ci_build
(
sha
)
...
...
@@ -55,7 +55,7 @@ class GitlabCiService < CiService
end
def
build_page
(
sha
)
project_url
+
"/
build
s/
#{
sha
}
"
project_url
+
"/
commit
s/
#{
sha
}
"
end
def
builds_path
...
...
spec/models/gitlab_ci_service_spec.rb
View file @
6d607627
...
...
@@ -34,11 +34,11 @@ describe GitlabCiService do
end
describe
:commit_status_path
do
it
{
@service
.
commit_status_path
(
"2ab7834c"
).
should
==
"http://ci.gitlab.org/projects/2/
build
s/2ab7834c/status.json?token=verySecret"
}
it
{
@service
.
commit_status_path
(
"2ab7834c"
).
should
==
"http://ci.gitlab.org/projects/2/
commit
s/2ab7834c/status.json?token=verySecret"
}
end
describe
:build_page
do
it
{
@service
.
build_page
(
"2ab7834c"
).
should
==
"http://ci.gitlab.org/projects/2/
build
s/2ab7834c"
}
it
{
@service
.
build_page
(
"2ab7834c"
).
should
==
"http://ci.gitlab.org/projects/2/
commit
s/2ab7834c"
}
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment