Hello,
I would like to put a variable ${TAG_NAME} in the “Release” field of the
CollabNet File Release form.
I have tried to put ${TAG_NAME} in several other fields on the job in
Jenkins (File Patterns to Upload, subversion URL) and it works for all
these fields exception to the Release Field that give me the following
error in the log:
CollabNet FileRelease: Critical Error: releaseId cannot be found for
${TAG_NAME}. Setting build status to UNSTABLE (or worse).
ERROR: Publisher hudson.plugins.collabnet.filerelease.CNFileRelease aborted due
to exception
java.lang.NullPointerException
<http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerException>
at
hudson.plugins.collabnet.filerelease.CNFileRelease.createAction(CNFileRelease.java:195)
<http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.collabnet.filerelease.CNFileRelease.createAction&entity=method>
at
hudson.plugins.collabnet.filerelease.CNFileRelease.perform(CNFileRelease.java:177)
<http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.collabnet.filerelease.CNFileRelease.perform&entity=method>
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$3.perform&entity=method>
at
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:780)
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.perform&entity=method>
at
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752)
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps&entity=method>
at
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1009)
<http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2&entity=method>
at
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:705)
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.post&entity=method>
at hudson.model.Run.execute(Run.java:1617)
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method>
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:508)
<http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.run&entity=method>
at hudson.model.ResourceController.execute(ResourceController.java:88)
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method>
at hudson.model.Executor.run(Executor.java:237)
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method>
Does anyone evr tried to put a variable in this field?
Jenkins job seems to accept variables for some fields and not for others.
Is it true?
Best regards,
Amine
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.