[ 
https://issues.jenkins-ci.org/browse/JENKINS-12964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159855#comment-159855
 ] 

Pierre Larsson commented on JENKINS-12964:
------------------------------------------

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?
                
> Rundeck plugin returns no artifacts
> -----------------------------------
>
>                 Key: JENKINS-12964
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12964
>             Project: Jenkins
>          Issue Type: Bug
>          Components: rundeck
>         Environment: software
>            Reporter: Pierre Larsson
>            Assignee: Vincent Behar
>
> 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:
> {code}
> http://JENKINS:8080/plugin/rundeck/options/artifact?project=<jenkins project 
> name>
> {code}
> And by passing the options from jenkins:
> warname=$ARTIFACT_NAME{.*\.war}
> The url returns an empty array: 
> {code}[]{code}
> Passing the options returns:
> {code}
> %7B.*.war%7D
> {code}
> Let me know if there is any extra information required.
> Thanks,
> Pierre

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to