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

Only for master and develop

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