-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Core 2.40 (jenkinsci/jenkins docker image)
Artifactory 2.8.2
Bellow is the Pipeline for reproducing the issue. All the time the upload is happening the logs show the fileExists step and when completed all the time is recorded towards the fileExists, which is the step right before the Artifactory upload.
node { deleteDir() def server = Artifactory.server "localhost-artifactory" stage('Build') { sh 'dd if=/dev/zero of=artifact.dat bs=1M count=1000' } stage('Release') { fileExists "artifact.dat" // Behold! Artifactory Upload server.upload """{ "files": [ { "pattern": "artifact.dat", "target": "simple-repo/my-artifact/artifact-${env.BUILD_NUMBER}.dat" } ] }""" } }
- links to
HAP-870 in JFrog JIRA might be a symptom of the same issue.