Update ScriptSrvice.java
This commit is contained in:
		
							parent
							
								
									ab1237419c
								
							
						
					
					
						commit
						28468dea68
					
				@ -131,7 +131,7 @@ public class ScriptSrvice {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		ArrayList<Object> namelist = new ArrayList<>();
 | 
							ArrayList<Object> namelist = new ArrayList<>();
 | 
				
			||||||
		ArrayList<Object> filepath_list = new ArrayList<>();
 | 
							ArrayList<Object> filepath_list = new ArrayList<>();
 | 
				
			||||||
		String sureops_dir = projectPath + File.separator + prj_id + File.separator + "index";
 | 
							String path_dir = projectPath + File.separator + prj_id + File.separator + "index";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		StringBuilder scriptdata = new StringBuilder();
 | 
							StringBuilder scriptdata = new StringBuilder();
 | 
				
			||||||
//		StringBuilder scriptvalue = new StringBuilder();
 | 
					//		StringBuilder scriptvalue = new StringBuilder();
 | 
				
			||||||
@ -230,13 +230,12 @@ public class ScriptSrvice {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
						String replace9 = replace8.replace("<DOCKER_URL>", list.get(4).toString().replace("\"", ""));
 | 
											String replace9 = replace8.replace("<DOCKER_URL>", list.get(4).toString().replace("\"", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
						String replace10 = replace9.replace("<SUREOPS_FOLDER>", sureops_dir);
 | 
											String replace10 = replace9.replace("<SUREOPS_FOLDER>", path_dir);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
						String replace11 = replace10.replace("<PROTOCOL>", pROTOCOL);
 | 
											String replace11 = replace10.replace("<PROTOCOL>", pROTOCOL);
 | 
				
			||||||
 | 
											String replace12 = replace11.replace("<PRJ_NAME>", list.get(6).toString().replace("\"", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//								.replace("<GIT_PULL>", );
 | 
											String finalreplace_value = replace12.replace("<MSG>",
 | 
				
			||||||
 | 
					 | 
				
			||||||
						String finalreplace_value = replace11.replace("<MSG>",
 | 
					 | 
				
			||||||
								"\"" + list.get(7).toString().replace("\"", "") + "\"");
 | 
													"\"" + list.get(7).toString().replace("\"", "") + "\"");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
						// for testing
 | 
											// for testing
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user