Using a self host windows runner, I am having difficulty creating a folder based off of a version stored in a variable. EG:
script:
- VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
- New-Item -Path "A\Path\" -ItemType "directory" -Name $VERSION
- xcopy target A\Path\\${ $VERSION }\ /E /H /C /I
I am not sure of the syntax to use and I come from a DevOps Pipeline background
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.