private void UpdateSource() { string branch = ListParser.Get("BRANCH=", _configs); string release = ListParser.Get("RELEASE=", _configs); string build = ListParser.Get("BUILD=", _configs); string deploymentSourcePath = ListParser.Get("SOURCE-PATH=", _configs); Source.Text = deploymentSourcePath + "\\" + branch + "\\" + release + "." + build; }
private void LoadSettings() { string websiteTargetPath = ListParser.Get("WEBSITE-TARGET-PATH=", _configs); string serviceTargetPath = ListParser.Get("SERVICE-TARGET-PATH=", _configs); string crmServiceTargetPath = ListParser.Get("CRM-SERVICE-TARGET-PATH=", _configs); string branch = ListParser.Get("BRANCH=", _configs); string release = ListParser.Get("RELEASE=", _configs); string build = ListParser.Get("BUILD=", _configs); string deploymentSourcePath = ListParser.Get("SOURCE-PATH=", _configs); _loading = true; Branch.Text = branch; Release.Text = release; Build.Text = build; ServiceWebsite.Text = serviceTargetPath; ClientWebsite.Text = websiteTargetPath; CrmWebsite.Text = crmServiceTargetPath; Source.Text = deploymentSourcePath + "\\" + branch + "\\" + release + "." + build; _loading = false; }