Skip to content

Commit aca276a

Browse files
authored
Quick fix for empty logs folders
1 parent 5746a8e commit aca276a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ pipeline {
8585
sh 'ls -lh utils/'
8686
sh 's3cmd -c $S3CMD_CFG --acl-public --mime-type=plain/text --cf-invalidate put utils/MANIFEST.yaml s3://kg-hub-public-data/ '
8787
sh 's3cmd -c $S3CMD_CFG --acl-public --mime-type=plain/text --cf-invalidate put utils/manifest.log s3://kg-hub-public-data/ '
88-
sh 'touch utils/logs/placeholder' //We want a logs folder, whether we have new logs or not
88+
sh 'mkdir -p utils/logs/ && touch utils/logs/placeholder' //We want a logs folder, whether we have new logs or not
8989
sh 's3cmd -c $S3CMD_CFG --acl-public --mime-type=plain/text --cf-invalidate put -r utils/logs/ s3://kg-hub-public-data/ '
9090
}
9191
} else { // 'make_kg_manifest.py' failed.

0 commit comments

Comments
 (0)