mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-11-08 05:58:22 +01:00
Update Jenkinsfile
This commit is contained in:
parent
b6c90e56cd
commit
a0ee2d1090
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -32,8 +32,6 @@ pipeline{
|
||||
sshCommand remote: remote, command: '''
|
||||
set -e
|
||||
export WORKSPACE=$(realpath "./jenkins/workspace/antos")
|
||||
[ -d build ] && rm -rf build
|
||||
mkdir -p build/opt/www/htdocs/os
|
||||
cd $WORKSPACE
|
||||
npm install terser
|
||||
npm install uglifycss
|
||||
@ -48,6 +46,7 @@ pipeline{
|
||||
set -e
|
||||
export WORKSPACE=$(realpath "./jenkins/workspace/antos")
|
||||
cd $WORKSPACE
|
||||
[ -d build ] && rm -rf build
|
||||
export BUILDDIR="$WORKSPACE/build/opt/www/htdocs/os"
|
||||
make release
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user