Jenkins ArtifactDeployer plugin - How to specify a local directory as a remote directory

I am trying to use the ArtifactDeployer plugin to copy artifacts from the JENKINS_HOME / jobs / directory to a directory on the same computer that is not under JENKINS_HOME. I am not sure how to use the Remote Directory parameter to specify the directory on the local computer. Here is a screenshot of how I am trying to specify a local directory.

enter image description here

I get the following errors:

[ArtifactDeployer] - [ERROR] - Failed to deploy. Can't create the directory '\\localhost\usr\local\scm_repo\cbo\artifacts\'
[ArtifactDeployer] - [ERROR] - Failed to mkdirs: \\localhost\usr\local\scm_repo\cbo\artifacts\

I also could not find a documentary. Any help would be appreciated (even if it means that I can use another plugin).

+4
source share
3 answers

. , , , . ,

/usr/local/scm_repo/cbo/artifacts/

. , "", .

+4

, . , -
cp ${JENKINS_HOME}/jobs/wokspace/<path_to_directory_in_which_artifacts_are_stored> <path to repository>


, :)

0

ArtifactDeployer . , '/nfs/build/repo'.

0

All Articles