blob: 79787fc4b4a915abc7f11ca14e0c87c6a2c8e8eb [file] [log] [blame]
def groovy
pipeline {
agent none
stages {
stage('Load groovy script') {
agent any
stages {
stage('Checkout') {
steps {
checkout scm
script {
groovy = load('releng/Jenkinsfile.groovy')
}
}
}
}
}
stage('Launch agent') {
agent {
kubernetes {
label 'rcptt-build-and-deploy-agent-3.5.4'
yaml "${env.YAML_BUILD_AND_DEPLOY_AGENT}"
}
}
stages {
stage('Start Test') {
steps {
script {
groovy.tests(TESTS, RUNNER, ARGS)
}
}
}
}
post {
always {
script {
groovy.post_build_actions()
}
}
}
}
}
}