mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-11-08 06:28:29 +01:00
add jenkinsfile
All checks were successful
gitea-sync/antosdk-apps/pipeline/head This commit looks good
All checks were successful
gitea-sync/antosdk-apps/pipeline/head This commit looks good
This commit is contained in:
parent
a628b57109
commit
8153ca6f9d
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user