Certain components are built from the same source repository so therefore their version numbers should not be incremented when they are imported into a build component using the same source repository
This commit is contained in:
parent
2a13d1635a
commit
4df4b0d568
3 changed files with 13 additions and 8 deletions
|
|
@ -9,11 +9,12 @@ def combineSubjobArtifacts(meta, subJobs) {
|
|||
if (subJobObject != null) {
|
||||
def subJobName = subJobObject.getProjectName()
|
||||
def subJobNumber = subJobObject.getNumber()
|
||||
destFolder = subJob[1]
|
||||
def destFolder = subJob[1]
|
||||
def boolean incrementversionnumber = subJob[2]
|
||||
dir(destFolder) {
|
||||
deleteDir()
|
||||
}
|
||||
importer.artifactimport(meta, subJobName, subJobNumber, destFolder)
|
||||
importer.artifactimport(meta, subJobName, subJobNumber, destFolder, incrementversionnumber)
|
||||
artifactFolders.add("${destFolder}/**")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue