Commit 27ab89a2 authored by Paul's avatar Paul
Browse files

Only for master and develop

parent 5b1e7e78
...@@ -13,9 +13,12 @@ def rocmtestnode(variant, name, body) { ...@@ -13,9 +13,12 @@ def rocmtestnode(variant, name, body) {
echo cmd echo cmd
sh cmd sh cmd
if (compiler == "hcc") { if (compiler == "hcc") {
// Only archive from master or develop
if (env.BRANCH_NAME == "develop" || env.BRANCH_NAME == "master") {
archiveArtifacts artifacts: "build/*.deb", allowEmptyArchive: true, fingerprint: true archiveArtifacts artifacts: "build/*.deb", allowEmptyArchive: true, fingerprint: true
} }
} }
}
node(name) { node(name) {
stage("checkout ${variant}") { stage("checkout ${variant}") {
env.HSA_ENABLE_SDMA=0 env.HSA_ENABLE_SDMA=0
......
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