Create a publishable artifact list; Create a checksum list
This commit is contained in:
parent
3122037d60
commit
24dfa23ce7
2 changed files with 3 additions and 2 deletions
|
|
@ -33,7 +33,6 @@ def generatelist(checksummable) {
|
|||
echo "Checksumming ${filepath}"
|
||||
def files = findFiles(glob: filepath)
|
||||
for (file in files) {
|
||||
echo "Checksumming ${file.path}"
|
||||
if (isUnix()) {
|
||||
sh """#!/bin/bash
|
||||
"${SHA256SUM}" "${file.path}" >> "${CHECKSUMFOLDER}/sha256sum_list"
|
||||
|
|
|
|||
|
|
@ -20,4 +20,6 @@ def generatelist(publishable) {
|
|||
def outJson = readJSON text: groovy.json.JsonOutput.toJson(filelist)
|
||||
def PUBLISHABLEFILE = "${PUBLISHABLEFOLDER}/list.json"
|
||||
writeJSON(file: PUBLISHABLEFILE, json: outJson, pretty: 4)
|
||||
}
|
||||
}
|
||||
|
||||
return this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue