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
f5bfedc6
Commit
f5bfedc6
authored
Sep 06, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix lint
parent
c3e0731d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
build_spec.rb
spec/models/ci/build_spec.rb
+6
-2
register_job_service_spec.rb
spec/services/ci/register_job_service_spec.rb
+7
-2
No files found.
spec/models/ci/build_spec.rb
View file @
f5bfedc6
...
...
@@ -1893,8 +1893,12 @@ describe Ci::Build do
context
'when "artifacts" keyword is specified on depended job'
do
let!
(
:pre_stage_job
)
do
create
(
:ci_build
,
:artifacts
,
pipeline:
pipeline
,
name:
'test'
,
stage_idx:
0
,
options:
{
artifacts:
{
paths:
[
'binaries/'
]
}
}
)
create
(
:ci_build
,
:artifacts
,
pipeline:
pipeline
,
name:
'test'
,
stage_idx:
0
,
options:
{
artifacts:
{
paths:
[
'binaries/'
]
}
}
)
end
context
'when artifacts of depended job has existsed'
do
...
...
spec/services/ci/register_job_service_spec.rb
View file @
f5bfedc6
...
...
@@ -294,8 +294,13 @@ module Ci
context
'when "artifacts" keyword is specified on depended job'
do
let!
(
:pre_stage_job
)
do
create
(
:ci_build
,
:success
,
:artifacts
,
pipeline:
pipeline
,
name:
job_name
,
stage_idx:
0
,
options:
{
artifacts:
{
paths:
[
'binaries/'
]
}
}
)
create
(
:ci_build
,
:success
,
:artifacts
,
pipeline:
pipeline
,
name:
job_name
,
stage_idx:
0
,
options:
{
artifacts:
{
paths:
[
'binaries/'
]
}
}
)
end
context
'when artifacts of depended job has existsed'
do
...
...
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