fix
This commit is contained in:
parent
d59cbfab4b
commit
485e468a26
@ -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',
|
||||
|
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user