mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 09:48:21 +01:00
Fix fileview status incorrect, add more build stage to Jenkinsfile
This commit is contained in:
parent
e76a3f4ef1
commit
1cf718117f
22
Jenkinsfile
vendored
22
Jenkinsfile
vendored
@ -27,7 +27,7 @@ pipeline{
|
|||||||
}
|
}
|
||||||
stages
|
stages
|
||||||
{
|
{
|
||||||
stage('Build') {
|
stage('Prebuild build') {
|
||||||
steps {
|
steps {
|
||||||
sshCommand remote: remote, command: '''
|
sshCommand remote: remote, command: '''
|
||||||
set -e
|
set -e
|
||||||
@ -39,6 +39,26 @@ pipeline{
|
|||||||
npm install uglifycss
|
npm install uglifycss
|
||||||
npm install typescript
|
npm install typescript
|
||||||
npm install @types/jquery
|
npm install @types/jquery
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Build demo') {
|
||||||
|
steps {
|
||||||
|
sshCommand remote: remote, command: '''
|
||||||
|
set -e
|
||||||
|
export WORKSPACE=$(realpath "./jenkins/workspace/antos")
|
||||||
|
cd $WORKSPACE
|
||||||
|
export BUILDDIR="BUILDDIR=/home/dany/docker/antos/htdocs/os"
|
||||||
|
make
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Build release') {
|
||||||
|
steps {
|
||||||
|
sshCommand remote: remote, command: '''
|
||||||
|
set -e
|
||||||
|
export WORKSPACE=$(realpath "./jenkins/workspace/antos")
|
||||||
|
cd $WORKSPACE
|
||||||
export BUILDDIR="$WORKSPACE/build/opt/www/htdocs/os"
|
export BUILDDIR="$WORKSPACE/build/opt/www/htdocs/os"
|
||||||
make release
|
make release
|
||||||
'''
|
'''
|
||||||
|
15955
d.ts/antos.d.ts
vendored
15955
d.ts/antos.d.ts
vendored
File diff suppressed because it is too large
Load Diff
@ -720,7 +720,7 @@ namespace OS {
|
|||||||
grid.onrowselect = (e) => {
|
grid.onrowselect = (e) => {
|
||||||
this.fileselect(
|
this.fileselect(
|
||||||
($(e.data.item).children()[0] as GridCellPrototype)
|
($(e.data.item).children()[0] as GridCellPrototype)
|
||||||
.data as API.FileInfoType
|
.data.data as API.FileInfoType
|
||||||
);
|
);
|
||||||
this._selectedFiles = e.data.items.map( x => ($(x).children()[0] as GridCellPrototype).data.data as API.FileInfoType);
|
this._selectedFiles = e.data.items.map( x => ($(x).children()[0] as GridCellPrototype).data.data as API.FileInfoType);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user