|
||||||||
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
[JIRA] (JENKINS-13119) How can I set an environment variable based on value of user passed parameter?
anup_ach...@hotmail.com (JIRA) Fri, 27 Jul 2012 06:59:27 -0700
- [JIRA] (JENKINS-13119) How can I set an... anup_ach...@hotmail.com (JIRA)
- [JIRA] (JENKINS-13119) How can I s... anup_ach...@hotmail.com (JIRA)
- [JIRA] (JENKINS-13119) How can I s... gregory.boissi...@gmail.com (JIRA)
- [JIRA] (JENKINS-13119) How can I s... anup_ach...@hotmail.com (JIRA)
- [JIRA] (JENKINS-13119) How can I s... anup_ach...@hotmail.com (JIRA)
- [JIRA] (JENKINS-13119) How can I s... gregory.boissi...@gmail.com (JIRA)
Gregory, First let me just thank you for such a prompt response. Honestly speaking I am not a big fan of open source mainly because of support. But my view is already changing.
Having said that, I did what you request me and the issue persists. complete details follow:
Started by user Anup Singh
[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Adding build parameters as variables.
[EnvInject] - Evaluation the following Groovy script content:
if ("Trunk".equals(BUILD_TYPE)) { def map = [SVN_REPO_PATH: "trunk/ConfigManagement"]; return map }
if ("Branches".equals(BUILD_TYPE)) {
def map = [SVN_REPO_PATH: "branches/${SVN_BRANCH}"]; return map
}
if ("Tags".equals(BUILD_TYPE)) {
def map = [SVN_REPO_PATH: "branches/${SVN_TAG}"]; return map
}
[EnvInject] - [ERROR] - SEVERE ERROR occurs: No such property: BUILD_TYPE for class: Script1
Finished: FAILURE