mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 01:38:21 +01:00
This commit is contained in:
parent
2620d2ccb6
commit
4e9806466a
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -26,16 +26,18 @@ pipeline{
|
|||||||
npm install uglifycss
|
npm install uglifycss
|
||||||
npm install typescript
|
npm install typescript
|
||||||
npm install @types/jquery
|
npm install @types/jquery
|
||||||
|
npm i typedoc@0.19.0
|
||||||
|
|
||||||
buildir="build"
|
buildir="build"
|
||||||
[ -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
|
||||||
|
make doc
|
||||||
'''
|
'''
|
||||||
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: 'd.ts/, build/, doc/', fingerprint: true
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user