add jenkinsfile
All checks were successful
gitea-sync/antosdk-apps/pipeline/head This commit looks good

This commit is contained in:
DanyLE 2023-06-01 17:07:38 +02:00
parent a628b57109
commit 8153ca6f9d

5
Jenkinsfile vendored
View File

@ -22,7 +22,10 @@ pipeline{
steps { steps {
sh''' sh'''
printenv printenv
echo "archiving release" echo "publishing release"
tag="$GIT_BRANCH"
[ -d "/home/dany/public/antos-release/packages/$tag" ] && rm -rf /home/dany/public/antos-release/packages/$tag || true
cp -rfv release /home/dany/public/antos-release/packages/$tag
''' '''
script { script {
// only useful for any master branch // only useful for any master branch