Fix fileview status incorrect, add more build stage to Jenkinsfile

This commit is contained in:
Dany LE 2022-08-04 13:40:02 +02:00
parent e76a3f4ef1
commit 1cf718117f
3 changed files with 8000 additions and 7979 deletions

22
Jenkinsfile vendored
View File

@ -27,7 +27,7 @@ pipeline{
}
stages
{
stage('Build') {
stage('Prebuild build') {
steps {
sshCommand remote: remote, command: '''
set -e
@ -39,6 +39,26 @@ pipeline{
npm install uglifycss
npm install typescript
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"
make release
'''

15955
d.ts/antos.d.ts vendored

File diff suppressed because it is too large Load Diff

View File

@ -720,7 +720,7 @@ namespace OS {
grid.onrowselect = (e) => {
this.fileselect(
($(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);
};