Skip to content

Link to CI build artefacts doesn't work when source and target branch is the same  #8

Description

@michalkleiner

It's not very common but can happen when community members don't use a new branch and open a PR from their fork within the same branch name.

Example PR — matomo-org/matomo#20969

Target branch: 5.x-dev
Source branch: 5.x-dev

The link to the assets from UI tests is missing the branch as it probably evaluated there's no branch, and therefore the link doesn't present anything (goes to 404).

Stretch goal: When looking into this, we could also address branches with slashes in them to work as expected, which might be a configuration within the builds webserver. Alternatively we can replace slashes with some filesystem-indifferent character.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions