bndr/gojenkins

BuildJob does not support Extended Choice Parameter

Opened this issue · 0 comments

func (j *Jenkins) BuildJob(ctx context.Context, name string, params map[string]string) (int64, error) {
job := Job{Jenkins: j, Raw: new(JobResponse), Base: "/job/" + name}
return job.InvokeSimple(ctx, params)
}

I think params's type should be map[string][]string