Test with internal Jenkins in parallel

Attempt osbuild 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>
This commit is contained in:
Major Hayden 2020-05-11 16:00:18 -05:00 committed by David Rheinsberg
parent 8a195d7502
commit 6e2865fc63
2 changed files with 96 additions and 0 deletions

29
schutzbot/Jenkinsfile vendored Normal file
View file

@ -0,0 +1,29 @@
pipeline {
agent none
options {
timestamps()
ansiColor('xterm')
}
stages {
stage("Functional Testing") {
parallel {
stage('Fedora 31 image') {
agent { label "fedora31" }
environment { TEST_TYPE = "image" }
steps {
sh "schutzbot/run_tests.sh"
}
}
stage('Fedora 32 image') {
agent { label "fedora32" }
environment { TEST_TYPE = "image" }
steps {
sh "schutzbot/run_tests.sh"
}
}
}
}
}
}