Attempt osbuild-composer testing on the internal Jenkins deployment with nodes that are destroyed after each use. The internal Jenkins looks for a Jenkinsfile inside the `schutzbot` directory. Let's not remove the `jenkins` directory (used by jenkins.osbuild.org) yet until we know the internal Jenkins is stable and performs well. Signed-off-by: Major Hayden <major@redhat.com>
43 lines
1.2 KiB
Groovy
43 lines
1.2 KiB
Groovy
pipeline {
|
|
agent none
|
|
|
|
options {
|
|
timestamps()
|
|
ansiColor('xterm')
|
|
}
|
|
|
|
stages {
|
|
stage("Functional Testing") {
|
|
parallel {
|
|
stage('Fedora 31 base') {
|
|
agent { label "fedora31" }
|
|
environment { TEST_TYPE = "base" }
|
|
steps {
|
|
sh "schutzbot/run_tests.sh"
|
|
}
|
|
}
|
|
stage('Fedora 31 image') {
|
|
agent { label "fedora31" }
|
|
environment { TEST_TYPE = "image" }
|
|
steps {
|
|
sh "schutzbot/run_tests.sh"
|
|
}
|
|
}
|
|
stage('Fedora 32 base') {
|
|
agent { label "fedora32" }
|
|
environment { TEST_TYPE = "base" }
|
|
steps {
|
|
sh "schutzbot/run_tests.sh"
|
|
}
|
|
}
|
|
stage('Fedora 32 image') {
|
|
agent { label "fedora32" }
|
|
environment { TEST_TYPE = "image" }
|
|
steps {
|
|
sh "schutzbot/run_tests.sh"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|