fix
s444452-evaluation/pipeline/head There was a failure building this commit Details
s444452-training/pipeline/head There was a failure building this commit Details

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') {
properties([
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(
defaultSelector: upstream(),
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}"
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 (