巴林闲侠
2 years ago
9 changed files with 134 additions and 70 deletions
@ -1,46 +1,46 @@ |
|||||
{ |
{ |
||||
// 使用 IntelliSense 了解相关属性。 |
// 使用 IntelliSense 了解相关属性。 |
||||
// 悬停以查看现有属性的描述。 |
// 悬停以查看现有属性的描述。 |
||||
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 |
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 |
||||
"version": "0.2.0", |
"version": "0.2.0", |
||||
"configurations": [ |
"configurations": [ |
||||
{ |
{ |
||||
"type": "node", |
"type": "node", |
||||
"request": "launch", |
"request": "launch", |
||||
"name": "启动API", |
"name": "启动API", |
||||
"program": "${workspaceRoot}/server.js", |
"program": "${workspaceRoot}/server.js", |
||||
"env": { |
"env": { |
||||
"NODE_ENV": "development" |
"NODE_ENV": "development" |
||||
}, |
}, |
||||
"args": [ |
"args": [ |
||||
"-p 4000", |
"-p 4000", |
||||
"-f http://localhost:4000", |
"-f http://localhost:4000", |
||||
"-g postgres://postgres:123@10.8.30.32:5432/video_access", |
"-g postgres://postgres:123@10.8.30.32:5432/video_access", |
||||
"--redisHost 127.0.0.1", |
"--redisHost 127.0.0.1", |
||||
"--redisPort 6379", |
"--redisPort 6379", |
||||
"--axyApiUrl http://127.0.0.1:4100", |
"--axyApiUrl http://127.0.0.1:4100", |
||||
"--iotAuthApi http://127.0.0.1:4200", |
"--iotAuthApi http://127.0.0.1:4200", |
||||
"--iotVideoServerUrl http://221.230.55.27:8081", |
"--iotVideoServerUrl http://221.230.55.27:8081", |
||||
"--godUrl https://restapi.amap.com/v3", |
"--godUrl https://restapi.amap.com/v3", |
||||
"--godKey 21c2d970e1646bb9a795900dd00093ce", |
"--godKey 21c2d970e1646bb9a795900dd00093ce", |
||||
"--mqttVideoServer mqtt://127.0.0.1" |
"--mqttVideoServer tcp://tee2b1be.cn.emqx.cloud:12847" |
||||
] |
] |
||||
}, |
}, |
||||
{ |
{ |
||||
"type": "node", |
"type": "node", |
||||
"request": "launch", |
"request": "launch", |
||||
"name": "run mocha", |
"name": "run mocha", |
||||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", |
||||
"stopOnEntry": false, |
"stopOnEntry": false, |
||||
"args": [ |
"args": [ |
||||
"app/test/*.test.js", |
"app/test/*.test.js", |
||||
"--no-timeouts" |
"--no-timeouts" |
||||
], |
], |
||||
"cwd": "${workspaceRoot}", |
"cwd": "${workspaceRoot}", |
||||
"runtimeExecutable": null, |
"runtimeExecutable": null, |
||||
"env": { |
"env": { |
||||
"NODE_ENV": "development" |
"NODE_ENV": "development" |
||||
} |
} |
||||
} |
} |
||||
] |
] |
||||
} |
} |
@ -0,0 +1,19 @@ |
|||||
|
pipeline { |
||||
|
agent { |
||||
|
node{ |
||||
|
label 'jnlp-slave' |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
stages { |
||||
|
stage('Testing vcmp ......') { |
||||
|
steps { |
||||
|
sh 'switch-auth.sh vcmp' |
||||
|
buildName "#${BUILD_NUMBER} ~/fs-cloud/${JOB_NAME}:${IMAGE_VERSION}" |
||||
|
buildDescription "registry.cn-hangzhou.aliyuncs.com/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION}" |
||||
|
sh 'docker build -t registry.cn-hangzhou.aliyuncs.com/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION} .' |
||||
|
sh 'docker push registry.cn-hangzhou.aliyuncs.com/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION}' |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
@ -0,0 +1,19 @@ |
|||||
|
pipeline { |
||||
|
agent { |
||||
|
node{ |
||||
|
label 'jnlp-slave' |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
stages { |
||||
|
stage('Testing vcmp ......') { |
||||
|
steps { |
||||
|
sh 'switch-auth.sh vcmp' |
||||
|
buildName "#${BUILD_NUMBER} ~/fs-cloud/${JOB_NAME}:${IMAGE_VERSION}" |
||||
|
buildDescription "registry.cn-hangzhou.aliyuncs.com/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION}" |
||||
|
sh 'docker build -t registry.cn-hangzhou.aliyuncs.com/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION} .' |
||||
|
sh 'docker push registry.cn-hangzhou.aliyuncs.com/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION}' |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue