Skip to content

Conversation

@ns-cn
Copy link

@ns-cn ns-cn commented Dec 29, 2022

expecting jobURL = "job/JOB1", but I got a jobURL = "job/JOB1/", jobURL ends with "/" and then got a Build URL="job/JOB1//1", request returns 404;

if strings.HasSuffix(jobURL, "/") {
	jobURL = jobURL[:len(jobURL)-1]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant