Re: Git Publisher: EnvVar in tag name

2015-05-06 Thread Sverre Moe
Anyone has any idea how I can get my build environment variables over to the matrix parent? tirsdag 5. mai 2015 10.59.15 UTC+2 skrev Sverre Moe følgende: > > It seems there is an registered JIRA issue for this problem > https://issues.jenkins-ci.org/browse/JENKINS-15507 > > Its 3 years old, it ha

Re: Git Publisher: EnvVar in tag name

2015-05-05 Thread Sverre Moe
It seems there is an registered JIRA issue for this problem https://issues.jenkins-ci.org/browse/JENKINS-15507 Its 3 years old, it has not been fixed, nor updated for a year. tirsdag 5. mai 2015 09.16.23 UTC+2 skrev Sverre Moe følgende: > > I found the reason, but still not the solution. > > My p

Re: Git Publisher: EnvVar in tag name

2015-05-05 Thread Sverre Moe
I found the reason, but still not the solution. My projects are Multi-configuration jobs. My injected environment variables are available during both build and post-build, for each matrix axis, but not the matrix parent. The Git Publisher works on the matrix parent, and it seems like the enviro

Re: Git Publisher: EnvVar in tag name

2015-05-04 Thread Sverre Moe
Something strange: I am using Inject Environment Variables, "Inject environment variables to the following build steps and post-build actions". The variables injected from a "Properties File" are not accessible during the post-build phase, but those I declare within "Properties Content" are. tir

Re: Git Publisher: EnvVar in tag name

2015-05-04 Thread Sverre Moe
I can create a Git tag using other environment variables such as BUILD_TAG, but why isn't my own environment variables available during the publish stage. My own environment variables are available during the build stage. mandag 4. mai 2015 10.26.05 UTC+2 skrev Sverre Moe følgende: > > I am tryi

Git Publisher: EnvVar in tag name

2015-05-04 Thread Sverre Moe
I am trying to use Git Publisher to create a git tag, but I cannot get it to use an Environment variable in the tag name: Is it even possible to supply an Environment Variable as part of a Git tag name? > git tag -l v$VERSION # timeout=10 > git tag -a -f -m Jenkins Git plugin tagging with v$V