Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G GitlabMarkdownToPDF
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ifs
  • GitlabMarkdownToPDF
  • Issues
  • #1

Closed
Open
Created Sep 28, 2017 by Marcel Huber@m1huberOwner0 of 2 tasks completed0/2 tasks

Filter required to replace master branch name with actual branch in link refs

Links on gitlab do not support variables to reference the current branch we are on in links like [name](/../builds/artifacts/master/file/CheatSheet/CheatSheet.pdf?job=CheatSheet). When generating an output file on a feature branch, the link still points to the last stable version on the master branch.

A filter should be written to replace master with the correct CI_COMMIT_REF_NAME we are building on.

  • replace in /../builds/artifacts/master/ links
  • add section in documentation
Assignee
Assign to
Time tracking