mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-11-07 22:18:29 +01:00
linux-worker: automatically set job pwd if it is not specified in job description
This commit is contained in:
parent
dd3aae50c9
commit
98335a2a51
@ -2,6 +2,7 @@
|
||||
AntOSDK: development API for AntOS based applications/projects
|
||||
|
||||
## Change logs
|
||||
- 0.0.13: allow linux-job handle to set defaut pwd if it is not specified in job description
|
||||
- 0.0.12: TS worker now allows user specific compile options (defined un build file)
|
||||
- 0.0.11: Update AntOS API v1.2.1
|
||||
- 0.0.10: fix binary readfile bug
|
||||
|
@ -2,6 +2,7 @@
|
||||
AntOSDK: development API for AntOS based applications/projects
|
||||
|
||||
## Change logs
|
||||
- 0.0.13: allow linux-job handle to set defaut pwd if it is not specified in job description
|
||||
- 0.0.12: TS worker now allows user specific compile options (defined un build file)
|
||||
- 0.0.11: Update AntOS API v1.2.1
|
||||
- 0.0.10: fix binary readfile bug
|
||||
|
@ -37,6 +37,10 @@ class LinuxJob extends AntOSDKBaseJob {
|
||||
this.result("Done");
|
||||
};
|
||||
socket.onopen = (e) => {
|
||||
if(!this.job.data.pwd)
|
||||
{
|
||||
this.job.data.pwd = this.job.root;
|
||||
}
|
||||
// send the command
|
||||
const cmd = {
|
||||
path: path,
|
||||
|
@ -7,7 +7,7 @@
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "mrsang@iohub.dev"
|
||||
},
|
||||
"version": "0.0.12-a",
|
||||
"version": "0.0.13-a",
|
||||
"category": "Development",
|
||||
"iconclass": "fa fa-cog",
|
||||
"mimes": [
|
||||
|
Binary file not shown.
@ -37,6 +37,10 @@ class LinuxJob extends AntOSDKBaseJob {
|
||||
this.result("Done");
|
||||
};
|
||||
socket.onopen = (e) => {
|
||||
if(!this.job.data.pwd)
|
||||
{
|
||||
this.job.data.pwd = this.job.root;
|
||||
}
|
||||
// send the command
|
||||
const cmd = {
|
||||
path: path,
|
||||
|
@ -7,7 +7,7 @@
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "mrsang@iohub.dev"
|
||||
},
|
||||
"version": "0.0.12-a",
|
||||
"version": "0.0.13-a",
|
||||
"category": "Development",
|
||||
"iconclass": "fa fa-cog",
|
||||
"mimes": [
|
||||
|
@ -205,7 +205,7 @@
|
||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/README.md",
|
||||
"category": "Development",
|
||||
"author": "Xuan Sang LE",
|
||||
"version": "0.0.12-a",
|
||||
"version": "0.0.13-a",
|
||||
"dependencies": [],
|
||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/build/release/libantosdk.zip"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user