-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
Windows XP, Red Hat Enterprise Linux 5
The global properties system is not working as (I) expected. Tried using the Hudson release plugin, Tasks plugin, Ant build, can't pass any property.
Steps:
1. Enter Manage Hudson -> Configure system -> Global properties.
2. Define a new global property: ABC, value 123.
3. Try to access it from a task, from the release plugin, from an Ant build (via command line), using the documented syntax:
$ABC or ${ABC}.
4. Result - no replacement.
This is pretty serious for us since we have lots of jobs. For example several plugins use system tools: Maven 2, SVN, ... We've already configured the paths to these tools, several versions even, in the global Hudson configuration.
However, because of this bug, we have to replicate them for every job. Error prone and added complexity.
- is related to
-
JENKINS-16316 global variable not updated
-
- Reopened
-
I have also tried this feature but does not work well.
I set up a global variable ("Manage Hudson" - "Configure System" - "Global Properties" - "Environment variables") for my subversion repository so that I can refer to in the jobs that I have.
Unfortunately, the variable is never set (tried $VARIABLE_NAME and ${VARIABLE_NAME} syntax).