We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1285873 commit b090058Copy full SHA for b090058
cli/jenkinsctl/jenkins/jenkins.go
@@ -385,7 +385,7 @@ func (j *Jenkins) GetLastFailedBuild(jobName string) error {
385
// AddJobToView will add a specific job to a view
386
func (j *Jenkins) AddJobToView(viewName string, jobName string) error {
387
388
- view, _ := j.Instance.GetView(j.Context, "test_list_view")
+ view, _ := j.Instance.GetView(j.Context, viewName)
389
_, err := view.AddJob(j.Context, jobName)
390
if err != nil {
391
return err
0 commit comments