mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-21 20:15:21 +00:00
Jenkinsfile: Don't wait for a node that is not being used
Since SGX and VFIO tests don't need to be run on pull requests, we should not have to wait for the corresponding node (bionic-sgx or bionic-vfio) to become available in order to skip them. Fixes #2607 Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
5268bf5a8c
commit
1f94208090
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -105,7 +105,10 @@ pipeline{
|
||||
}
|
||||
stage ('Worker build SGX') {
|
||||
agent { node { label 'bionic-sgx' } }
|
||||
when { branch 'master' }
|
||||
when {
|
||||
beforeAgent true
|
||||
branch 'master'
|
||||
}
|
||||
stages {
|
||||
stage ('Checkout') {
|
||||
steps {
|
||||
@ -138,7 +141,10 @@ pipeline{
|
||||
}
|
||||
stage ('Worker build VFIO') {
|
||||
agent { node { label 'bionic-vfio' } }
|
||||
when { branch 'master' }
|
||||
when {
|
||||
beforeAgent true
|
||||
branch 'master'
|
||||
}
|
||||
stages {
|
||||
stage ('Checkout') {
|
||||
steps {
|
||||
|
Loading…
x
Reference in New Issue
Block a user