public  List<String> getSvnUrls() throws Exception{
		Properties pros = ReadPros.getJenkins();
		WebDriver driver = OldFirefoxInit.init();
		driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
		driver.get(pros.getProperty("url"));
		
		WebElement username = driver.findElement(By.xpath("//input[@id='j_username']"));
		username.clear();
		username.sendKeys(pros.getProperty("username"));
		
		WebElement password = driver.findElement(By.xpath("//input[@name='j_password']"));
		password.clear();
		password.sendKeys(pros.getProperty("password"));
		
		WebElement login = driver.findElement(By.xpath("//button[@id='yui-gen1-button']"));
		login.click();
		
		Thread.sleep(1000);
		
		//获取所有的工程名 :jobNameList
		String script = "var tbody = document.getElementById('projectstatus').firstElementChild;"
				+ "var trs = tbody.children;"
				+ "var list = [];"
				+ "for(var i=0;i<trs.length-1;i++){"
				+ "   list[i]=trs[i+1].id;"
				+ "}"
				+ "return list;";
		@SuppressWarnings("unchecked")
		List<String> strsId = (ArrayList<String>)((JavascriptExecutor)driver).executeScript(script);
		List<String> jobNameList = new ArrayList<String>();
		for(String each : strsId){
			jobNameList.add(each.substring(4));
		}
		
		Thread.sleep(1000);
		
		// 进行迭代操作
		int exceptionCount = 0;
		List<String> svnUrls = new ArrayList<String>(); //最后每个工程svn路径的集合
		for(int i=0;i<jobNameList.size()-1;i++){
			try {
				String url = ReadPros.getJenkins().getProperty("url");
				String configUrl = url.substring(0, url.lastIndexOf("/"))+"/job/"+jobNameList.get(i)+"/configure"; //最后 如:http://10.1.1.49:8080/pcgtest-jenkins
				driver.get(configUrl); // 获取每个job的配置页面url
				WebElement svnEle = driver.findElement(By.xpath("//input[@id='svn.remote.loc']"));
				svnUrls.add(svnEle.getAttribute("value"));
			} catch (Exception e) {
				e.printStackTrace();
				exceptionCount++;  // 记录异常次数
				continue;
			}
		}
		
		System.out.println("迭代时出现异常数 : "+exceptionCount);
	
		driver.close();
		return svnUrls;
	}