Create a meta folder seperate from other artifacts
This commit is contained in:
parent
24dfa23ce7
commit
44bc400632
3 changed files with 4 additions and 12 deletions
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
env.CHECKSUMARTIFACTS = "checksums/**"
|
||||
def metafolder = load("${autobuilder.commonscripts()}/meta/folder.groovy")
|
||||
env.CHECKSUMARTIFACTS = "${metafolder.METAFOLDERNAME}/checksums/**"
|
||||
|
||||
// SHA256SUM environment variable must be set to sha256sum utility
|
||||
// Generate a checksum file of from a list of files/directories relative to workspace
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
env.PUBLISHABLEARTIFACTS = "publishable/**"
|
||||
def metafolder = load("${autobuilder.commonscripts()}/meta/folder.groovy")
|
||||
env.PUBLISHABLEARTIFACTS = "${metafolder.METAFOLDERNAME}/publishable/**"
|
||||
|
||||
// Generate a list of artifact files that are publishable to outside parties
|
||||
def generatelist(publishable) {
|
||||
|
|
|
|||
|
|
@ -2,16 +2,6 @@
|
|||
def lineendings = load("${autobuilder.commonscripts()}/platform/lineendings.groovy")
|
||||
def fileutils = load("${autobuilder.commonscripts()}/file/utils.groovy")
|
||||
|
||||
def currentContents(file, newline = "\n", defaultContents = "") {
|
||||
if (fileExists("${file}")) {
|
||||
contents = readFile(file: "${file}").trim() + newline
|
||||
}
|
||||
else {
|
||||
contents = defaultContents
|
||||
}
|
||||
return contents
|
||||
}
|
||||
|
||||
def prefixline(rootpath, filepath) {
|
||||
def fileContents = readFile("${filepath}").trim()
|
||||
def fileContentsNormalized = fileContents.normalize()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue