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

Path as parameter #366

Open
tethasolutions opened this issue Mar 22, 2024 · 0 comments
Open

Path as parameter #366

tethasolutions opened this issue Mar 22, 2024 · 0 comments

Comments

@tethasolutions
Copy link

Hello,
I have set up a multi-repository pipeline where in one repo I have the DevOps scripts and in the other the project source code.
If I try to set the Path parameter of the Assembly-Info-NetCore@3 task with the value of a parameter using syntax ${{parameters.repoPath}}, the task fails because it seems to concatenate the value of the predefined Build.SourcesDirectory variable with the value of the parameter (e.g., 'C:\agent\_work\2\s\ C:\agent\_work\3\s\repoName').
I tried with absolute and relative path.
Setting the Path parameter manually using string value works perfectly.
Can anyone help me?
Thank you very much!
Mirko

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

1 participant