• 
      

    Always replace {branch} and replace / with _

    Review Request #11758 — Created July 29, 2021 and submitted

    Information

    rbintegrations
    release-2.0.x

    Reviewers

    {branch} shouldn't be a Git-only variable. Any version system
    can use this.

    If a repository name contains / we need to convert it into
    another character because Jenkins do not allow / as a job name.
    So let's use _ as a replacement.

    Configured a jenkins integration with job name {branch}_{repository}.
    The repository name contains multiple /. Started a review request
    and saw that it correctly started a job with replaced names.

    Summary ID
    Always replace {branch} and replace / with _
    {branch} shouldn't be a Git-only variable. Any version system can use this. If a repository name contains / we need to convert it into another character because Jenkins do not allow / as a job name. So let's use _ as a replacement.
    1269e9c6316f5ecd154dff675cca74d820f41ada
    david
    1. Ship It!
    2. 
        
    misery
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-2.0.x (b52a06f)