create the directory before syncingit
Gitea Bucky/url-shortener/pipeline/head This commit looks good Details

master
Adam Townsend 2023-12-18 18:38:18 -08:00
parent 0a3f6c5fab
commit 2c7a18c374
1 changed files with 1 additions and 0 deletions

1
Jenkinsfile vendored
View File

@ -133,6 +133,7 @@ pipeline {
BRANCH=${BRANCH_NAME}
ZIP_FILE="url-shortener_${BRANCH_NAME}_$(cat VERSION | cut -d"'" -f2).tgz"
sha256 $ZIP_FILE >> SHA256.sig
ssh artifactor@10.0.0.9 mkdir -p projects/url-shortener/$BRANCH/$VERSION/$UUID
rsync SHA256.sig artifactor@10.0.0.9:projects/url-shortener/$BRANCH/$VERSION/$UUID/
rsync $ZIP_FILE artifactor@10.0.0.9:projects/url-shortener/$BRANCH/$VERSION/$UUID/
'''