Commit 99679c5c authored by illsilin's avatar illsilin
Browse files

evaluate when conditions before agent

parent b073446a
...@@ -457,6 +457,7 @@ pipeline { ...@@ -457,6 +457,7 @@ pipeline {
stage("Run Tests: gfx90a") stage("Run Tests: gfx90a")
{ {
when { when {
beforeAgent true
expression { params.RUN_FULL_QA.toBoolean() } expression { params.RUN_FULL_QA.toBoolean() }
} }
agent{ label rocmnode("gfx90a")} agent{ label rocmnode("gfx90a")}
...@@ -493,6 +494,7 @@ pipeline { ...@@ -493,6 +494,7 @@ pipeline {
stage("Run ckProfiler: gfx908") stage("Run ckProfiler: gfx908")
{ {
when { when {
beforeAgent true
expression { !params.RUN_FULL_QA.toBoolean() } expression { !params.RUN_FULL_QA.toBoolean() }
} }
agent{ label rocmnode("gfx908")} agent{ label rocmnode("gfx908")}
...@@ -506,6 +508,7 @@ pipeline { ...@@ -506,6 +508,7 @@ pipeline {
stage("Run ckProfiler: gfx90a") stage("Run ckProfiler: gfx90a")
{ {
when { when {
beforeAgent true
expression { params.RUN_FULL_QA.toBoolean() } expression { params.RUN_FULL_QA.toBoolean() }
} }
agent{ label rocmnode("gfx90a")} agent{ label rocmnode("gfx90a")}
...@@ -524,6 +527,7 @@ pipeline { ...@@ -524,6 +527,7 @@ pipeline {
{ {
stage("Process results for gfx908"){ stage("Process results for gfx908"){
when { when {
beforeAgent true
expression { !params.RUN_FULL_QA.toBoolean() } expression { !params.RUN_FULL_QA.toBoolean() }
} }
agent { label 'mici' } agent { label 'mici' }
...@@ -533,6 +537,7 @@ pipeline { ...@@ -533,6 +537,7 @@ pipeline {
} }
stage("Process results for gfx90a"){ stage("Process results for gfx90a"){
when { when {
beforeAgent true
expression { params.RUN_FULL_QA.toBoolean() } expression { params.RUN_FULL_QA.toBoolean() }
} }
agent { label 'mici' } agent { label 'mici' }
......
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