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