-
New Feature
-
Resolution: Unresolved
-
Major
-
Jenkins 1.625
I would like to use token macros for the assembly version as follows:
${PROPFILE,file="gitversion.properties",property="GitVersion_NuGetVersionV2"}b${BUILD_NUMBER}
- is related to
-
JENKINS-33316 Can't use environment variables
-
- In Progress
-
-
JENKINS-37239 Add support for Token macros in RegexPattern and ReplacementPattern
-
- Open
-
[JENKINS-37004] Can't use token macro variables
Priority | Original: Critical [ 2 ] | New: Major [ 3 ] |
Description |
Original:
Can't use environment variables in the FileName box. This force me to change this line in every project. For example I would like to change all AssemblyInfo.cs in a directory called like $JOB_NAME. So I want to write: $JOB_NAME\**\Properties\AssemblyInfo.cs but that's not working. |
New:
I would like to use token macros for the assembly version as follows: ${PROPFILE,file="gitversion.properties",property="GitVersion_NuGetVersionV2"}b${BUILD_NUMBER} |
Description |
Original:
I would like to use token macros for the assembly version as follows: ${PROPFILE,file="gitversion.properties",property="GitVersion_NuGetVersionV2"}b${BUILD_NUMBER} |
New:
I would like to use token macros for the assembly version as follows: {noformat} ${PROPFILE,file="gitversion.properties",property="GitVersion_NuGetVersionV2"}b${BUILD_NUMBER} {noformat} |
Environment |
Original:
Jenkins 1.651 change-assembly-version-plugin 1.5.1 |
New: Jenkins 1.625 |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Assignee | Original: Leonardo Kobus [ lkobuss ] | New: Michael Fowler [ mdkf ] |
Link | New: This issue is related to JENKINS-33316 [ JENKINS-33316 ] |
Link | New: This issue is related to JENKINS-37239 [ JENKINS-37239 ] |
Fixed in PR https://github.com/jenkinsci/change-assembly-version-plugin/pull/9