Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to replace/encode the branch names #46

Open
st-schilling opened this issue Mar 24, 2023 · 2 comments
Open

Add option to replace/encode the branch names #46

st-schilling opened this issue Mar 24, 2023 · 2 comments

Comments

@st-schilling
Copy link

Hello,

our branches (aka. %headbranch%) are called using pattern "feature/XXX". This name is then supposed to be used to create a Sonarqube link, using this Github action.
Problem: the name, we get using %headbranch% stays e.g. "feature/XXX", but we need it encoded, such that the link still works. So the Jira link would be something like "https://HOST/PROJECT?branch=feature%2FXXX".

Any chance, this might be a possible result variable, e.g. "headbranchencoded%?

Thanks in advance and please do not hesitate to contact me, if any question arises.

Stefan

@SetupCoding
Copy link

+1 I would also like to be able to modify the %headbranch% variable with sed or something similar.

@xmak
Copy link

xmak commented Oct 16, 2024

+1 for this
we need to remove "fix/" and "feature/" from our branch name in order to create a link to the JIRA issue

any chance this will be implemented soon?

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

No branches or pull requests

3 participants