Joe Hansche commented on Improvement JENKINS-21624

Roopendra Vishwakarma:

I believe the problem here is that you have checked the "Attach archived artifacts" option, but your job does not archive any artifacts... So, getArtifactsDir() returns null, because the job doesn't save anything.

Instead, uncheck that checkbox and add the Ant-syntax path to the file(s) that you want uploaded to Confluence into the "Other files to attach" box.

If you are not intending to upload attachments at all – and only want to edit the contents of the page itself – then you need to uncheck the checkbox AND leave the "other files to attach" field empty.

I'm recategorizing this as an improvement, because the error itself is caused by a misconfiguration; however, the plugin should detect that there are no artifacts and simply skip that step, instead of raising an error.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to