Exemplo n.º 1
0
 public void SetProjectParameter(string projectName, string settingName, string settingValue)
 {
     _caller.PutFormat(settingValue, "/app/rest/projects/name:{0}/parameters/{1}", projectName, settingName);
 }
Exemplo n.º 2
0
 public void SetConfigurationSetting(BuildTypeLocator locator, string settingName, string settingValue)
 {
     _caller.PutFormat(settingValue, HttpContentTypes.TextPlain, "/app/rest/buildTypes/{0}/settings/{1}", locator, settingName);
 }
Exemplo n.º 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()));
 }