Merge commit 'dcdf1d3dc3'
This commit is contained in:
commit
ce4a4d470c
1 changed files with 2 additions and 7 deletions
|
|
@ -85,13 +85,8 @@ def combineSubjobVersions(versionLabelPrefix, versionFolderList, outputFolder =
|
|||
totalrevision += intrevision
|
||||
}
|
||||
echo "Accumulated revision is: ${totalrevision}"
|
||||
if (versionLabelPrefix.endsWith(".")) {
|
||||
writeFile file: "${outputFolder}/metaversion.txt", text: versionLabelPrefix + totalrevision
|
||||
}
|
||||
else {
|
||||
writeFile file: "${outputFolder}/metaversion.txt", text: versionLabelPrefix + "." + totalrevision
|
||||
}
|
||||
writeFile(file: "${outputFolder}/revision.txt", text: totalrevision)
|
||||
writeFile file: "${outputFolder}/metaversion.txt", text: versionLabelPrefix + ((versionLabelPrefix.endsWith(".")) ? "" : ".") + totalrevision.toString()
|
||||
writeFile(file: "${outputFolder}/revision.txt", text: totalrevision.toString())
|
||||
}
|
||||
|
||||
return this;
|
||||
Loading…
Add table
Add a link
Reference in a new issue