export dts to build dir

This commit is contained in:
Dany LE 2022-09-16 12:44:02 +02:00 committed by GitHub
parent f466cf1200
commit c377a80d0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
Jenkinsfile vendored
View File

@ -54,11 +54,12 @@ pipeline{
[ -d "$buildir" ] && rm -rf "$buildir" [ -d "$buildir" ] && rm -rf "$buildir"
export BUILDDIR="$WORKSPACE/$buildir/opt/www/htdocs/os" export BUILDDIR="$WORKSPACE/$buildir/opt/www/htdocs/os"
make release make release
cp -rf d.ts "$WORKSPACE/$buildir"
''' '''
script { script {
// only useful for any master branch // only useful for any master branch
//if (env.BRANCH_NAME =~ /^master/) { //if (env.BRANCH_NAME =~ /^master/) {
archiveArtifacts artifacts: 'd.ts/, build/', fingerprint: true archiveArtifacts artifacts: 'build/', fingerprint: true
//} //}
} }
} }