create version file
Some checks failed
gitea-sync/antos-appimage/pipeline/head There was a failure building this commit

This commit is contained in:
dany 2023-05-30 13:37:41 +02:00
parent a3e3a9aba4
commit 661ef1b485

2
Jenkinsfile vendored
View File

@ -37,6 +37,7 @@ def generateStage(name) {
# release antos sdk # release antos sdk
[ -d "/home/dany/public/antos-release/sdk/$tag" ] && rm -rf /home/dany/public/antos-release/sdk/$tag || true [ -d "/home/dany/public/antos-release/sdk/$tag" ] && rm -rf /home/dany/public/antos-release/sdk/$tag || true
[ -d "antos/frontend/$tag/d.ts" ] && cp -rf antos/frontend/$tag/d.ts /home/dany/public/antos-release/sdk/$tag || true [ -d "antos/frontend/$tag/d.ts" ] && cp -rf antos/frontend/$tag/d.ts /home/dany/public/antos-release/sdk/$tag || true
echo $tag >> /home/dany/public/antos-release/sdk/versions.txt
''' '''
} }
} }
@ -89,6 +90,7 @@ pipeline{
copyArtifacts(projectName: 'gitea-sync/antos-backend/master', target: 'antos/webapps'); copyArtifacts(projectName: 'gitea-sync/antos-backend/master', target: 'antos/webapps');
script script
{ {
cat /dev/null > /home/dany/public/antos-release/sdk/versions.txt
parallel parallelStagesMap; parallel parallelStagesMap;
} }
sh''' sh'''