Archive / publish artifacts to a Samba share using Jenkins pipeline

Markus Weninger

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?

charlie_pl

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

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Archive the artifacts in Jenkins

Error while publishing the artifacts to Artifactory using Jenkins Pipeline Script

Azure DevOps - Maven Pipeline publish artifacts

jenkins archive artifacts - what's the format?

Jenkins cannot archive artifacts because of wrong directory

How can I publish NUnit test results using Jenkins Pipeline?

Jenkins Archive Downstream Multibranch Pipeline

Release pipeline - share Artifacts between docker stages

Jenkins Pipeline publish html report

S3 Copy artifacts with Jenkins pipeline

Deploy artifacts in lastsuccesful build jenkins pipeline

How to parameterize selector for copy artifacts in Jenkins pipeline

Upload Build artifacts from Jenkins Pipeline to Sharepoint

Jenkins : Copy artifacts from Multibranch pipeline

What is the best practice for archiving Jenkins pipeline artifacts

Get artifacts URL after rtUpload in Jenkins pipeline

Archive artifacts

Resolve artifacts using nexus in Jenkins

Unable to publish to File Share in Azure build pipeline

How to publish and download artifacts from multiple jobs into one location on pipeline?

what exactly does "archive artifacts" step do in Jenkins?

Jenkins Publish Over SSh pipeline parameterized

How to publish dotnet core tests with jenkins pipeline?

gradle artifactorypublish: jenkins pipeline does not publish properties

How to have Maven artifacts persist across runs in Jenkins pipeline?

How to Copy Artifacts from other Jenkins Job from a Pipeline?

Jenkins pipeline using anyof

Share local maven repository to agents in Jenkins Pipeline

Publish Jenkins Job build status to Gitlab commit with Jenkins Pipeline job