Commit 8c9d1856 authored by Paul's avatar Paul
Browse files

Modify the flag for build

parent a5a7ea99
......@@ -19,9 +19,9 @@ def rocmtestnode(variant, name, body) {
}
stage("image ${variant}") {
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) {
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 .')
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment