Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
a5a7ea99
Commit
a5a7ea99
authored
Aug 11, 2018
by
Paul
Browse files
Add hosts to build
parent
81bc40d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Jenkinsfile
Jenkinsfile
+2
-2
No files found.
Jenkinsfile
View file @
a5a7ea99
...
@@ -19,9 +19,9 @@ def rocmtestnode(variant, name, body) {
...
@@ -19,9 +19,9 @@ def rocmtestnode(variant, name, body) {
}
}
stage
(
"image ${variant}"
)
{
stage
(
"image ${variant}"
)
{
try
{
try
{
docker
.
build
(
"${image}"
,
"."
)
docker
.
build
(
"${image}"
,
'--add-host="bzip2.org:46.235.226.80" --add-host="www.bzip2.org:46.235.226.80" .'
)
}
catch
(
Exception
ex
)
{
}
catch
(
Exception
ex
)
{
docker
.
build
(
"${image}"
,
"
--no-cache
."
)
docker
.
build
(
"${image}"
,
'
--no-cache
--add-host="bzip2.org:46.235.226.80" --add-host="www.bzip2.org:46.235.226.80" .'
)
}
}
}
}
...
...
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