Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Kazunori Yamamoto
gitlab-runner
Commits
32f0ab4d
Commit
32f0ab4d
authored
Apr 04, 2019
by
Kamil Trzciński
🔴
Browse files
Do not print remote addition failure message
parent
d1b7fca6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
shells/abstract.go
shells/abstract.go
+1
-1
No files found.
shells/abstract.go
View file @
32f0ab4d
...
...
@@ -167,7 +167,7 @@ func (b *AbstractShell) writeRefspecFetchCmd(w ShellWriter, build *common.Build,
}
// Add `git remote` or update existing
w
.
IfCmd
WithOutput
(
"git"
,
"remote"
,
"add"
,
"origin"
,
build
.
GetRemoteURL
())
w
.
IfCmd
(
"git"
,
"remote"
,
"add"
,
"origin"
,
build
.
GetRemoteURL
())
w
.
Notice
(
"Created fresh repository."
)
w
.
Else
()
w
.
Command
(
"git"
,
"remote"
,
"set-url"
,
"origin"
,
build
.
GetRemoteURL
())
...
...
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