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

uploading files from jenkinsfile with artifactory spec

XMLWordPrintable

      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/" }

      ]
      }"""
      )

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

              Created:
              Updated:
              Resolved: