feature/18688 #1
|
@ -224,6 +224,25 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('generate release notes') {
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
sh '''
|
||||||
|
ls -lrt ${AGENT_ROOT_FOLDER}/build_commits.csv
|
||||||
|
cat ${AGENT_ROOT_FOLDER}/build_commits.csv
|
||||||
|
'''
|
||||||
|
def report_text = sh(script: 'cat ${AGENT_ROOT_FOLDER}/build_commits.csv', returnStdout: true)?.trim()
|
||||||
|
|
||||||
|
def pjob = build(job: 'gCube-ReleaseNotes', wait: true, propagate: true,
|
||||||
|
parameters: [[$class: 'StringParameterValue', name: 'report', value: "${report_text}"],
|
||||||
|
[$class: 'StringParameterValue', name: 'report_number', value: "${env.BUILD_NUMBER}"],
|
||||||
|
[$class: 'StringParameterValue', name: 'gCube_release_version', value: "${params.gCube_release_version}"],
|
||||||
|
[$class: 'BooleanParameterValue', name: 'use_report_commits', value: true]]
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// post-build actions
|
// post-build actions
|
||||||
|
|
Loading…
Reference in New Issue