kitchenos/ci/Jenkinsfile

21 lines
433 B
Groovy

pipeline {
agent {
kubernetes {
yamlFile 'ci/podTemplate.yaml'
yamlMergeStrategy merge()
workspaceVolume persistentVolumeClaimWorkspaceVolume(
claimName: 'buildroot-kitchenos'
)
defaultContainer 'build'
}
}
stages {
stage('Build') {
steps {
sh '. ci/build.sh'
}
}
}
}