Skip to content

Commit

Permalink
fcosKola: Add argv parameter
Browse files Browse the repository at this point in the history
So we can use `-E` in CI, see
coreos/coreos-assembler#1252
  • Loading branch information
cgwalters committed Mar 19, 2020
1 parent a63c768 commit cff7c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vars/fcosKola.groovy
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Run kola tests on the latest build in the cosa dir
def call(cosaDir = "/srv/fcos") {
def call(cosaDir = "/srv/fcos", argv = "") {
stage('Kola') {
parallel run: {
stage("run") {
try {
shwrap("cd ${cosaDir} && cosa kola run --parallel 8")
shwrap("cd ${cosaDir} && cosa kola run --parallel 8 "${argv}")
} finally {
shwrap("tar -c -C ${cosaDir}/tmp kola | xz -c9 > ${env.WORKSPACE}/kola.tar.xz")
archiveArtifacts allowEmptyArchive: true, artifacts: 'kola.tar.xz'
Expand Down

0 comments on commit cff7c77

Please sign in to comment.