调度中心跳转修改 #22
31
.drone.yml
31
.drone.yml
@ -81,18 +81,21 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
||||
script:
|
||||
|
||||
- echo "start copy"
|
||||
- scp -r /ludu/maven/build/yudao-gateway root@121.36.203.133:/ludu/maven/build
|
||||
- echo "gateway done"
|
||||
- scp -r /ludu/maven/build/yudao-module-system root@121.36.203.133:/ludu/maven/build
|
||||
- echo "system done"
|
||||
- scp -r /ludu/maven/build/ludu-module-ticketing root@121.36.203.133:/ludu/maven/build
|
||||
- echo "ticketing done"
|
||||
- scp -r /ludu/maven/build/ludu-module-parking root@121.36.203.133:/ludu/maven/build
|
||||
- echo "parking done"
|
||||
- scp -r /ludu/maven/build/yudao-module-infra root@121.36.203.133:/ludu/maven/build
|
||||
- echo "infra done"
|
||||
- scp -r /ludu/maven/build/ludu-job-admin root@121.36.203.133:/ludu/maven/build
|
||||
- echo "job done"
|
||||
- cd /ludu/maven
|
||||
- tar -cf ludu-build.tar ./build
|
||||
- scp ludu-build.tar root@121.36.203.133:/ludu/maven
|
||||
# - scp -r /ludu/maven/build/yudao-gateway root@121.36.203.133:/ludu/maven/build
|
||||
# - echo "gateway done"
|
||||
# - scp -r /ludu/maven/build/yudao-module-system root@121.36.203.133:/ludu/maven/build
|
||||
# - echo "system done"
|
||||
# - scp -r /ludu/maven/build/ludu-module-ticketing root@121.36.203.133:/ludu/maven/build
|
||||
# - echo "ticketing done"
|
||||
# - scp -r /ludu/maven/build/ludu-module-parking root@121.36.203.133:/ludu/maven/build
|
||||
# - echo "parking done"
|
||||
# - scp -r /ludu/maven/build/yudao-module-infra root@121.36.203.133:/ludu/maven/build
|
||||
# - echo "infra done"
|
||||
# - scp -r /ludu/maven/build/ludu-job-admin root@121.36.203.133:/ludu/maven/build
|
||||
# - echo "job done"
|
||||
# - scp -r /ludu/maven/build/ludu-module-datacenter root@120.46.37.243:/ludu/maven/build
|
||||
# - echo "system done"
|
||||
|
||||
@ -138,6 +141,10 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
||||
command_timeout: 20m # 远程执行命令超时时间
|
||||
|
||||
script:
|
||||
- cd /ludu/maven
|
||||
- rm -rf ./build
|
||||
- tar -xf ludu-build.tar -C ./
|
||||
|
||||
- cd /ludu/maven/build/yudao-gateway/
|
||||
- chmod +x ./run.sh # 更改为可执行脚本
|
||||
- ./run.sh || echo "ludu-module-ticketing build failed" # 运行脚本打包应用镜像并运行
|
||||
|
@ -69,9 +69,9 @@
|
||||
ssoLogin();
|
||||
} else {
|
||||
// 提交
|
||||
const redirectUri = 'http://127.0.0.1:9090/xxl-job-admin/toLogin'; // 需要修改成,你回调的地址,就是在 index.html 拼接的 redirectUri
|
||||
const redirectUri = 'https://mt.ptzykjgs.com/xxl-job-admin/toLogin'; // 需要修改成,你回调的地址,就是在 index.html 拼接的 redirectUri
|
||||
$.ajax({
|
||||
url: "http://127.0.0.1:9090/xxl-job-admin/auth/login-by-code?code=" + code
|
||||
url: "https://mt.ptzykjgs.com/xxl-job-admin/auth/login-by-code?code=" + code
|
||||
+ '&redirectUri=' + redirectUri,
|
||||
method: 'POST',
|
||||
success: function (result) {
|
||||
|
Loading…
Reference in New Issue
Block a user