mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
jenkins: add a pipeline file for criu-lazy-migration
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
72d5e41abd
commit
f992f469e8
2 changed files with 34 additions and 0 deletions
34
test/jenkins/criu-lazy-migration.pipeline
Normal file
34
test/jenkins/criu-lazy-migration.pipeline
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
pipeline {
|
||||
options {
|
||||
buildDiscarder(logRotator(numToKeepStr: '30', artifactNumToKeepStr: '30'))
|
||||
}
|
||||
agent {
|
||||
node {
|
||||
label 'x86_64'
|
||||
}
|
||||
}
|
||||
triggers {
|
||||
cron('H H/4 * * *')
|
||||
}
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'make'
|
||||
sh 'make -C test/zdtm'
|
||||
}
|
||||
}
|
||||
stage('Test'){
|
||||
steps {
|
||||
sh './test/jenkins/run_ct sh -c "mount --make-rprivate / && mount --rbind . /mnt && cd /mnt && ./test/jenkins/criu-lazy-migration.sh"'
|
||||
junit 'test/report/criu-testreport*.xml'
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
failure {
|
||||
emailext attachLog: true, body: '''$DEFAULT_CONTENT
|
||||
|
||||
${FILE,path="test/report/output"}''', compressLog: true, subject: '$DEFAULT_SUBJECT', to: "${env.CRIU_RECIPIENTS}"
|
||||
}
|
||||
}
|
||||
}
|
||||
0
test/jenkins/criu-lazy-migration.sh
Normal file → Executable file
0
test/jenkins/criu-lazy-migration.sh
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue