mirror of https://github.com/k3s-io/k3s
75 lines
2.2 KiB
YAML
75 lines
2.2 KiB
YAML
- job-template:
|
|
name: 'kubernetes-test-{suffix}'
|
|
description: |
|
|
Grab the latest from GitHub, then run unit and integration tests.<br>
|
|
Test Owner: Build Cop
|
|
logrotate:
|
|
numToKeep: 200
|
|
node: unittest
|
|
builders:
|
|
- shell: './hack/jenkins/gotest-dockerized.sh'
|
|
publishers:
|
|
- claim-build
|
|
- gcs-uploader
|
|
- log-parser
|
|
- email-ext
|
|
- xunit:
|
|
thresholds:
|
|
- failed:
|
|
unstable: 0
|
|
unstablenew: 0
|
|
failure:
|
|
failurenew:
|
|
- skipped:
|
|
unstable:
|
|
unstablenew:
|
|
failure:
|
|
failurenew:
|
|
types:
|
|
- junit:
|
|
pattern: '_artifacts/**.xml'
|
|
deleteoutput: false
|
|
scm:
|
|
- git:
|
|
url: https://github.com/kubernetes/kubernetes
|
|
branches:
|
|
- '{branch}'
|
|
browser: githubweb
|
|
browser-url: https://github.com/kubernetes/kubernetes
|
|
wipe-workspace: false
|
|
skip-tag: true
|
|
triggers:
|
|
- pollscm:
|
|
cron: 'H/2 * * * *'
|
|
- timed: 'H/30 * * * *'
|
|
wrappers:
|
|
- ansicolor:
|
|
colormap: xterm
|
|
- timeout:
|
|
timeout: 30
|
|
fail: true
|
|
- timestamps
|
|
- raw:
|
|
xml: |
|
|
<hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.28">
|
|
<patterns>
|
|
<hudson.plugins.ws__cleanup.Pattern>
|
|
<pattern>*</pattern>
|
|
<type>INCLUDE</type>
|
|
</hudson.plugins.ws__cleanup.Pattern>
|
|
</patterns>
|
|
<deleteDirs>true</deleteDirs>
|
|
<cleanupParameter/>
|
|
<externalDelete>sudo rm -rf %s</externalDelete>
|
|
</hudson.plugins.ws__cleanup.PreBuildCleanup>
|
|
|
|
- project:
|
|
name: kubernetes-test-go
|
|
suffix:
|
|
- 'go':
|
|
branch: 'master'
|
|
- 'go-release-1.1':
|
|
branch: 'release-1.1'
|
|
jobs:
|
|
- 'kubernetes-test-{suffix}'
|