jfrog / jenkins-artifactory-plugin

Jenkins artifactory plugin
http://jenkins-ci.org/
115 stars 186 forks source link

Fix NoSuchFileException in Jenkins agents #912

Closed yahavi closed 5 months ago

yahavi commented 5 months ago

Fix https://github.com/jfrog/jenkins-artifactory-plugin/issues/910

The following code runs on an agent environment:

Files.newOutputStream(new File(configuration.getPropertiesFile()).getCanonicalFile().toPath())

However, it can't be run remotely.