Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
8c9d1856
Commit
8c9d1856
authored
Aug 11, 2018
by
Paul
Browse files
Modify the flag for build
parent
a5a7ea99
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 @
8c9d1856
...
@@ -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}"
,
'--add-host
="
bzip2.org:46.235.226.80
"
--add-host
="
www.bzip2.org:46.235.226.80
"
.'
)
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 --add-host
="
bzip2.org:46.235.226.80
"
--add-host
="
www.bzip2.org:46.235.226.80
"
.'
)
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