예제 #1
0
 public void SetProjectParameter(string projectName, string settingName, string settingValue)
 {
     _caller.PutFormat(settingValue, "/app/rest/projects/name:{0}/parameters/{1}", projectName, settingName);
 }
예제 #2
0
 public void SetConfigurationSetting(BuildTypeLocator locator, string settingName, string settingValue)
 {
     _caller.PutFormat(settingValue, HttpContentTypes.TextPlain, "/app/rest/buildTypes/{0}/settings/{1}", locator, settingName);
 }
예제 #3
0
 public void SetVcsRootField(VcsRoot vcsRoot, VcsRootField field, object value)
 {
     _caller.PutFormat(value, "/app/rest/vcs-roots/id:{0}/{1}", vcsRoot.Id, ToCamelCase(field.ToString()));
 }