create version file
Some checks failed
gitea-sync/antos-appimage/pipeline/head There was a failure building this commit
Some checks failed
gitea-sync/antos-appimage/pipeline/head There was a failure building this commit
This commit is contained in:
parent
a3e3a9aba4
commit
661ef1b485
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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'''
|
||||||
|
Loading…
Reference in New Issue
Block a user