Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72127

uploading files from jenkinsfile with artifactory spec

      Failed to upload file
      [consumer_0] An exception occurred during execution:
      java.lang.RuntimeException: java.io.IOException: JFrog service failed. Received 404: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
      <html><head>
      <title>404 Not Found</title>
      </head><body>
      <h1>Not Found</h1>
      <p>The requested URL /artifactory/Deployments-releases/Review/2.0.0.war;vcs.revision=;build.timestamp=1696447638728;;build.number=165;vcs.branch=origin/master;vcs.url=.git was not found on this server.</p>
      </body></html>

      at org.jfrog.build.extractor.clientConfiguration.util.spec.SpecDeploymentConsumer.consumerRun(SpecDeploymentConsumer.java:44)
      at org.jfrog.build.extractor.producerConsumer.ConsumerRunnableBase.run(ConsumerRunnableBase.java:11)
      at java.base/java.lang.Thread.run(Thread.java:836)
      Caused by: java.io.IOException: JFrog service failed. Received 404: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
      <html><head>
      <title>404 Not Found</title>
      </head><body>
      <h1>Not Found</h1>
      <p>The requested URL /artifactory/Deployments-releases/2.0.0.war;vcs.revision=;build.timestamp=1696447638728;build.name=Review+::JUPerez::+,build.number=165;vcs.branch=origin/master;vcs.url=www.git.git was not found on this server.</p>
      </body></html>

      at org.jfrog.build.extractor.clientConfiguration.client.JFrogService.throwException(JFrogService.java:49)
      at org.jfrog.build.extractor.clientConfiguration.client.artifactory.services.Upload.handleUnsuccessfulResponse(Upload.java:59)
      at org.jfrog.build.extractor.clientConfiguration.client.JFrogService.execute(JFrogService.java:121)
      at org.jfrog.build.extractor.clientConfiguration.client.artifactory.services.Upload.execute(Upload.java:77)
      at org.jfrog.build.extractor.clientConfiguration.client.artifactory.ArtifactoryManager.upload(ArtifactoryManager.java:284)
      at org.jfrog.build.extractor.clientConfiguration.client.artifactory.ArtifactoryManager.upload(ArtifactoryManager.java:279)
      at org.jfrog.build.extractor.clientConfiguration.util.spec.SpecDeploymentConsumer.consumerRun(SpecDeploymentConsumer.java:39)
      ... 2 more[Pipeline] End of Pipelinejava.lang.Exception: Error occurred during operation, please refer to logs for more information.
      at org.jfrog.build.extractor.producerConsumer.ProducerConsumerExecutor.start(ProducerConsumerExecutor.java:85)
      at org.jfrog.build.extractor.clientConfiguration.util.spec.SpecsHelper.uploadArtifactsBySpec(SpecsHelper.java:101)
      at

      rtUpload (
      "serverId": "Artifact_server", <------ error
      "buildName": JOB_NAME,
      "buildNumber": BUILD_NUMBER,
      "spec": """{
      "files": [

      { "pattern": "*.zip", "target": "generic/myfolder/" }

      ]
      }"""
      )

          [JENKINS-72127] uploading files from jenkinsfile with artifactory spec

          Jesus created issue -
          Jesus made changes -
          Labels Original: plugin New: artifactory artifactory-plugin plugin

          Mark Waite added a comment -

          yisus this looks like a request for help to diagnose a configuration issue in your job rather than a bug report. We use the Jenkins issue tracker for bugs and enhancements. We use https://community.jenkins.io and https://www.jenkins.io/chat for question and answer. More people read those locations than read individual bug reports

          If you believe this is a bug, please provide enough details so that others can duplicate the issue. "How to report an issue" provides the list of details that are needed for a bug report.

          Mark Waite added a comment - yisus  this looks like a request for help to diagnose a configuration issue in your job rather than a bug report. We use the Jenkins issue tracker for bugs and enhancements. We use https://community.jenkins.io and https://www.jenkins.io/chat for question and answer. More people read those locations than read individual bug reports If you believe this is a bug, please provide enough details so that others can duplicate the issue. "How to report an issue" provides the list of details that are needed for a bug report.
          Mark Waite made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            eyalbe Eyal Ben Moshe
            yisus Jesus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: