mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-02-22 01:42:47 +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: '''
|
sshCommand remote: remote, command: '''
|
||||||
set -e
|
set -e
|
||||||
export WORKSPACE=$(realpath "./jenkins/workspace/antos")
|
export WORKSPACE=$(realpath "./jenkins/workspace/antos")
|
||||||
[ -d build ] && rm -rf build
|
|
||||||
mkdir -p build/opt/www/htdocs/os
|
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
npm install terser
|
npm install terser
|
||||||
npm install uglifycss
|
npm install uglifycss
|
||||||
@ -48,6 +46,7 @@ pipeline{
|
|||||||
set -e
|
set -e
|
||||||
export WORKSPACE=$(realpath "./jenkins/workspace/antos")
|
export WORKSPACE=$(realpath "./jenkins/workspace/antos")
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
|
[ -d build ] && rm -rf build
|
||||||
export BUILDDIR="$WORKSPACE/build/opt/www/htdocs/os"
|
export BUILDDIR="$WORKSPACE/build/opt/www/htdocs/os"
|
||||||
make release
|
make release
|
||||||
'''
|
'''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user