Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5312

Global properties not being replaced

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • core
    • 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.

            ccaraivan Costin Caraivan
            ccaraivan Costin Caraivan
            Votes:
            13 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: