diff --git a/.cci.jenkinsfile b/.cci.jenkinsfile new file mode 100644 index 000000000..a306b37e1 --- /dev/null +++ b/.cci.jenkinsfile @@ -0,0 +1,25 @@ +// Documentation: https://github.com/coreos/coreos-ci/blob/main/README-upstream-ci.md + +properties([ + // abort previous runs when a PR is updated to save resources + disableConcurrentBuilds(abortPrevious: true) +]) + +cosaPod { + checkout scm + + cosaBuild(noStrict: true, srcConfig: env.WORKSPACE) + + stage("Build ISO") { + parallel metal: { + shwrap("cd /srv/coreos && cosa buildextend-metal") + }, metal4k: { + shwrap("cd /srv/coreos && cosa buildextend-metal4k") + } + shwrap("cd /srv/coreos && cosa buildextend-live") + } + + stage("Test ISO") { + kolaTestIso() + } +}