Reputation: 12668
I found the following plugin that serves the purpose of publishing artifacts to a windows share (i.e., Samba) for "normal" Jenkins jobs.
But I couldn't find an equivalent for Jenkins Pipelines, something like
steps {
publishOverCIFS('sambaServerCredentials', 'files', ...)
}
Does such a Pipeline DSL extension exist?
Upvotes: 4
Views: 2560
Reputation: 3084
It seems that if there was no such plugin at the time of asking this question, it was developed as of now.
Link to plugin: https://plugins.jenkins.io/publish-over-cifs
Documentation: https://jenkins.io/doc/pipeline/steps/publish-over-cifs/#publish-over-cifs
Excerpt from documentation:
cifsPublisher: Send build artifacts to a windows share
Upvotes: 1