mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 09:48:21 +01:00
export dts to build dir
This commit is contained in:
parent
f466cf1200
commit
c377a80d0d
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -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
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user