Update 'Jenkinsfile'
Some checks failed
gitea-sync/antos-appimage/pipeline/head There was a failure building this commit

This commit is contained in:
dany 2022-09-29 23:34:56 +02:00
parent f56d253b3b
commit 32571e2131

9
Jenkinsfile vendored
View File

@ -17,7 +17,12 @@ def generateStage(name) {
copyArtifacts(projectName: 'gitea-sync/antos/' + name, target: 'antos/frontend/' + name);
env.tag = name;
sh'''
echo "TAGGGGG IS $tag"
echo "Deploy antos webapps for version $tag"
set -e
set -x
cp -rfv webapps/build/opt/www/htdocs/silk antos/frontend/$tag/build/opt/www/htdocs
cp -rfv webapps/build/opt/www/htdocs/mimes.json antos/frontend/$tag/build/opt/www/htdocs
rm -rf antos/frontend/$tag/build/opt/www/htdocs/os/rst
'''
}
}
@ -56,6 +61,7 @@ pipeline{
[ -d antos ] && rm -rf antos
mkdir -p antos/frontend
mkdir -p antos/backend
mkdir -p antos/webapps
'''
copyArtifacts(projectName: 'gitea-sync/ant-http/master', target: 'antos/backend');
copyArtifacts(projectName: 'gitea-sync/antd-lua-plugin/master', target: 'antos/backend');
@ -64,6 +70,7 @@ pipeline{
copyArtifacts(projectName: 'gitea-sync/antd-tunnel-publishers/master', target: 'antos/backend');
copyArtifacts(projectName: 'luasocket', target: 'antos/backend');
copyArtifacts(projectName: 'luasec', target: 'antos/backend');
copyArtifacts(projectName: 'gitea-sync/antd-web-apps/master', target: 'antos/webapps');
script
{
parallel parallelStagesMap;