Redirect for view unprotected Jenkins Build Status for branch names with slashes
You want to automatically show badges in gitlab mr description templates with using environment %{source_branch}, but your braches has slashes. You cant's pass branches with slashes to jenkins, they must be escaped. So this redirect will do it for you.
https://jenkins-badge-redirect.geminixandroid.com
https://jenkins-badge-redirect.geminixandroid.com/icon?
- host - jenkins.domain.com
- job - pipeline-tests
- branch - bugfix/task-sample (slash here will be escaped for jenkins plugin)
- all other query params also will be passed
will be redirected to
npm install
npm start