| def build = library( |
| identifier: 'rcptt-pipeline-library@groovy', |
| retriever: modernSCM( |
| [ |
| $class: 'GitSCMSource', |
| remote: 'https://github.com/xored/rcptt.git' |
| ] |
| ) |
| ).org.eclipse.rcptt.jenkins.Build.new(this) |
| |
| pipeline { |
| agent { |
| kubernetes { |
| label 'rcptt-build-agent-3.5.4' |
| yaml build.YAML_BUILD_AND_DEPLOY_AGENT |
| } |
| } |
| |
| stages { |
| stage('Start Build and Test') { |
| steps { |
| script { |
| build.build_and_test(true) |
| } |
| } |
| } |
| stage('Deploy') { |
| steps { |
| script { |
| build.deploy("Nightly") |
| } |
| } |
| } |
| } |
| |
| post { |
| always { |
| script { |
| build.post_build_actions() |
| } |
| } |
| } |
| } |