Update ScriptSrvice.java

This commit is contained in:
string 2025-04-26 10:40:07 +05:30
parent ccb2156b34
commit 3a07d5a501

View File

@ -144,7 +144,7 @@ public class ScriptSrvice {
keys.add(value); keys.add(value);
if (key.equalsIgnoreCase("a_uri")) { if (key.equalsIgnoreCase("a_uri")) {
String full_url = value + "/" + prj_id + "/" + deployment_line_id + "/" + prj + "/" + "build_app"; String full_url = value + "/" + prj_id + "/" + deployment_line_id + "/" + prj + "/" + "Build_Site";
ArrayList<Object> jsonlist = call_url_byjson(full_url); ArrayList<Object> jsonlist = call_url_byjson(full_url);
String git_user = jsonlist.get(0).toString().replace("\"", ""); String git_user = jsonlist.get(0).toString().replace("\"", "");
@ -245,7 +245,7 @@ public class ScriptSrvice {
String file_text = null; String file_text = null;
if (!namelist.isEmpty()) { if (!namelist.isEmpty()) {
file_text = namelist.get(0).toString().replace("\"", "") + ".sh"; file_text = namelist.get(0).toString().replace("\"", "");
} else { } else {
file_text = "copy_exec" + ".sh"; file_text = "copy_exec" + ".sh";