Merged by openshift-bot
OpenShift Bot authored on 2017/01/05 06:18:07... | ... |
@@ -227,7 +227,7 @@ func (j *JenkinsRef) WaitForContent(verificationRegEx string, verificationStatus |
227 | 227 |
// CreateItem submits XML to create a named item on the Jenkins server. |
228 | 228 |
func (j *JenkinsRef) CreateItem(name string, itemDefXML string) { |
229 | 229 |
g.By(fmt.Sprintf("Creating new jenkins item: %s", name)) |
230 |
- _, status, err := j.PostXML(bytes.NewBufferString(itemDefXML), "CreateItem?name=%s", name) |
|
230 |
+ _, status, err := j.PostXML(bytes.NewBufferString(itemDefXML), "createItem?name=%s", name) |
|
231 | 231 |
o.ExpectWithOffset(1, err).NotTo(o.HaveOccurred()) |
232 | 232 |
o.ExpectWithOffset(1, status).To(o.Equal(200)) |
233 | 233 |
} |