Commit a5a7ea99 authored by Paul's avatar Paul
Browse files

Add hosts to build

parent 81bc40d2
......@@ -19,9 +19,9 @@ def rocmtestnode(variant, name, body) {
}
stage("image ${variant}") {
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) {
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" .')
}
}
......
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