fix
Some checks failed
s444452-evaluation/pipeline/head There was a failure building this commit
s444452-training/pipeline/head There was a failure building this commit

This commit is contained in:
AdamOsiowy123 2022-05-04 18:57:18 +02:00
parent d59cbfab4b
commit 485e468a26
2 changed files with 8 additions and 2 deletions

View File

@ -5,7 +5,13 @@ node {
stage('Preparation') { stage('Preparation') {
properties([ properties([
parameters([ parameters([
gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'BRANCH', type:'PT_BRANCH', gitParameter(
branchFilter: 'origin/(.*)',
defaultValue: 'master',
description: 'Select branch',
name: 'BRANCH',
type: 'PT_BRANCH'
),
buildSelector( buildSelector(
defaultSelector: upstream(), defaultSelector: upstream(),
description: 'Which build to use for copying artifacts', description: 'Which build to use for copying artifacts',

View File

@ -41,7 +41,7 @@ def notifyBuild(String buildStatus = 'STARTED') {
def details = "Build nr: ${env.BUILD_NUMBER}, status: ${buildStatus} \n url: ${env.BUILD_URL} \n build params: ${params.TRAIN_PARAMS}" def details = "Build nr: ${env.BUILD_NUMBER}, status: ${buildStatus} \n url: ${env.BUILD_URL} \n build params: ${params.TRAIN_PARAMS}"
if (buildStatus == 'SUCCESS') { if (buildStatus == 'SUCCESS') {
build job: 's444452-evaluation/master', parameters: [string(name: "TEST_PARAMS", value: "${params.TRAIN_PARAMS}")], wait: false build job: 's444452-evaluation', parameters: [gitParameter(name: "BRANCH", value: "${env.BRANCH_NAME}"), string(name: "TEST_PARAMS", value: "${params.TRAIN_PARAMS}")], wait: false
} }
emailext ( emailext (