bug/22468 #2
|
@ -59,6 +59,11 @@ pipeline {
|
||||||
defaultValue: true,
|
defaultValue: true,
|
||||||
description: 'Use the commits on the report or the latest is on master?')
|
description: 'Use the commits on the report or the latest is on master?')
|
||||||
|
|
||||||
|
booleanParam(name: 'add_maven_parent',
|
||||||
|
defaultValue: false,
|
||||||
|
description: 'Set to true only if the maven-parent must be added to the notes')
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
@ -76,10 +81,12 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
for (int i = 0; i < components.size(); i++) {
|
for (int i = 0; i < components.size(); i++) {
|
||||||
stage(components[i]['name']) {
|
if((components[i]['name'] != 'maven-parent') || (params.add_maven_parent)){
|
||||||
appendHeading(components[i]['name'], components[i]['version'],components[i]['gitRepo'], components[i]['commitID'])
|
stage(components[i]['name']) {
|
||||||
createNotes(components[i]['name'], components[i]['gitRepo'],
|
appendHeading(components[i]['name'], components[i]['version'],components[i]['gitRepo'], components[i]['commitID'])
|
||||||
|
createNotes(components[i]['name'], components[i]['gitRepo'],
|
||||||
params.use_report_commits? components[i]['commitID']:null, components[i]['version'], gCube_release_version)
|
params.use_report_commits? components[i]['commitID']:null, components[i]['version'], gCube_release_version)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
appendFooter()
|
appendFooter()
|
||||||
|
|
Loading…
Reference in New Issue