Revision 6c6903379af6b9ccff7e869ac74ee3a7ba211e9f authored by Jarno Rajahalme on 24 February 2018, 00:25:08 UTC, committed by Thomas Graf on 24 February 2018, 02:42:37 UTC
Access log path and listener ID were swapped between the callers and the constructor. Fix by swapping them in the constructor. Backports: 12a05ed465ccfdca510bf70c40949871094ed7a7 Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
1 parent 583d87a
ginkgo-kubernetes-all.Jenkinsfile
pipeline {
agent {
label 'ginkgo'
}
environment {
PROJ_PATH = "src/github.com/cilium/cilium"
}
options {
timeout(time: 90, unit: 'MINUTES')
timestamps()
}
stages {
stage('Checkout') {
steps {
sh 'env'
sh 'rm -rf src; mkdir -p src/github.com/cilium'
sh 'ln -s $WORKSPACE src/github.com/cilium/cilium'
checkout scm
}
}
stage('Boot VMs'){
environment {
GOPATH="${WORKSPACE}"
TESTDIR="${WORKSPACE}/${PROJ_PATH}/test"
}
steps {
sh 'cd ${TESTDIR}; K8S_VERSION=1.7 vagrant up --no-provision'
sh 'cd ${TESTDIR}; K8S_VERSION=1.9 vagrant up --no-provision'
}
}
stage('BDD-Test-k8s') {
environment {
GOPATH="${WORKSPACE}"
TESTDIR="${WORKSPACE}/${PROJ_PATH}/test"
}
options {
timeout(time: 60, unit: 'MINUTES')
}
steps {
parallel(
"K8s-1.7":{
sh 'cd ${TESTDIR}; K8S_VERSION=1.7 ginkgo --focus=" K8s*" -v -noColor'
},
"K8s-1.9":{
sh 'cd ${TESTDIR}; K8S_VERSION=1.9 ginkgo --focus=" K8s*" -v -noColor'
},
)
}
post {
always {
junit 'test/*.xml'
sh 'cd test/; ./post_build_agent.sh || true'
sh 'cd test/; ./archive_test_results.sh || true'
archiveArtifacts artifacts: "test_results_${JOB_BASE_NAME}_${BUILD_NUMBER}.tar", allowEmptyArchive: true
}
}
}
}
post {
always {
cleanWs()
sh "cd ${TESTDIR}; K8S_VERSION=1.7 vagrant destroy -f || true"
sh "cd ${TESTDIR}; K8S_VERSION=1.9 vagrant destroy -f || true"
}
}
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...