• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • rundeck-plugin
    • None
    • software

      I'm trying to use rundeck to promote builds from Jenkins.

      I'm using Jenkins version 1.452 and rundeck plugin version 2.11

      To make the promotion seamless I'm trying to use the artifact variables to grab the name of the last artifact built but I get no options back.

      I've tried both via the build url:

      http://JENKINS:8080/plugin/rundeck/options/artifact?project=<jenkins project name>
      

      And by passing the options from jenkins:
      warname=$ARTIFACT_NAME

      {.*\.war}

      The url returns an empty array:

      []

      Passing the options returns:

      %7B.*.war%7D
      

      Let me know if there is any extra information required.

      Thanks,
      Pierre

          [JENKINS-12964] Rundeck plugin returns no artifacts

          Pierre Larsson created issue -

          The problem has been resolved. We were storing our artifacts in a nexus repository. Enabling the project to store the artifacts locally has meant they are now showing up as options.

          Perhaps there could be an added feature to select artifacts from an external repository?

          Pierre Larsson added a comment - The problem has been resolved. We were storing our artifacts in a nexus repository. Enabling the project to store the artifacts locally has meant they are now showing up as options. Perhaps there could be an added feature to select artifacts from an external repository?

          Vincent Behar added a comment -

          Hi,

          I'm glad you solved your problem.
          If you want to retrieve artifacts from Nexus, there is a plugin here : https://github.com/vbehar/nexus-rundeck-plugin

          Vincent

          Vincent Behar added a comment - Hi, I'm glad you solved your problem. If you want to retrieve artifacts from Nexus, there is a plugin here : https://github.com/vbehar/nexus-rundeck-plugin Vincent
          Vincent Behar made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 143424 ] New: JNJira + In-Review [ 205712 ]

            vbehar Vincent Behar
            pjelar Pierre Larsson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: