mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-03 20:15:45 +00:00
build: Add Jenkinsfile entry for Windows guest
Add one more parallel stage to run Windows guest tests in a dedicated VM. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
934f992536
commit
1bae38ceb4
38
Jenkinsfile
vendored
38
Jenkinsfile
vendored
@ -134,6 +134,44 @@ pipeline{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage ('Worker build - Windows guest') {
|
||||||
|
agent { node { label 'bionic-win' } }
|
||||||
|
options {
|
||||||
|
timeout(time: 1, unit: 'HOURS')
|
||||||
|
}
|
||||||
|
stages {
|
||||||
|
stage ('Checkout') {
|
||||||
|
steps {
|
||||||
|
checkout scm
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage ('Download assets') {
|
||||||
|
steps {
|
||||||
|
sh "mkdir ${env.HOME}/workloads"
|
||||||
|
azureDownload(storageCredentialId: 'ch-image-store',
|
||||||
|
containerName: 'private-images',
|
||||||
|
includeFilesPattern: 'OVMF.fd',
|
||||||
|
downloadType: 'container',
|
||||||
|
downloadDirLoc: "${env.HOME}/workloads")
|
||||||
|
azureDownload(storageCredentialId: 'ch-image-store',
|
||||||
|
containerName: 'private-images',
|
||||||
|
includeFilesPattern: 'windows-server-2019.raw',
|
||||||
|
downloadType: 'container',
|
||||||
|
downloadDirLoc: "${env.HOME}/workloads")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage ('Run Windows guest integration tests') {
|
||||||
|
steps {
|
||||||
|
sh "scripts/dev_cli.sh tests --integration-windows"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage ('Run Windows guest integration tests for musl') {
|
||||||
|
steps {
|
||||||
|
sh "scripts/dev_cli.sh tests --integration-windows --libc musl"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user