Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-549

User defined property not picking up Jenkins properties

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 2.2.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I'm using the Gradle-Artifactory Integration option in my Jenkins job and trying to set some Deployment properties using the following:

      svn.url=${SVN_URL};svn.revision=${SVN_REVISION}

      The help for this setting states:

      Semicolon-separated list of properties to attach to all deployed 
      artifacts in addition to the default ones (build.name, build.number, 
      vcs.revision, etc.).
      Property values can take environment variables.
      For example: p4.cl=${P4_CHANGELIST};buildStatus=RC;
      platforms=win386,win64,osx,debian
      

      In artifactory the metadata for my artifact ends up with:

      <?xml version='1.0' encoding='UTF-8'?>
      <properties>
        <svn.url>${SVN_URL}</svn.url>
        <build.name>SmartViewer-Commit</build.name>
        <build.timestamp>1418246623434</build.timestamp>
        <svn.revision>${SVN_REVISION}</svn.revision>
        <build.number>546</build.number>
      </properties>
      

      Note that there is no vcs.revision as per the documentation and the two properties I have included have not been decoded.

      We're running Artifactory OSS 2.6.6

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aviads Aviad Shikloshi (Inactive)
                Reporter:
                asumner Andrew Sumner
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: