java.io.IOException: Failed to pull Docker image libercobol:${OSVERSION}

Jenkins JIRA | hector CALDERON | 11 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    The plugin is broken when the image to use contains a $ variable. It worked fine up to Jenkins ver 2.2 and is broken since 2.3. We can reproduce the problem by switching from 2.2 to any version above without modifying anything else. The issue may be related to how the plugin loads the image. It used to do: $ docker exec --tty … env … And now it is doing: $ docker pull libercobol:${OSVERSION} Console Output ---------- Pull Docker image libercobol:${OSVERSION} from repository ... $ docker pull libercobol:${OSVERSION} Failed to pull Docker image libercobol:${OSVERSION} FATAL: Failed to pull Docker image libercobol:${OSVERSION} java.io.IOException: Failed to pull Docker image libercobol:${OSVERSION} at com.cloudbees.jenkins.plugins.docker_build_env.PullDockerImageSelector.prepareDockerImage(PullDockerImageSelector.java:34) at com.cloudbees.jenkins.plugins.docker_build_env.DockerBuildWrapper.setUp(DockerBuildWrapper.java:169) at hudson.model.Build$BuildExecution.doRun(Build.java:156) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:136) at hudson.model.Run.execute(Run.java:1741) at com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:73) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410)

    Jenkins JIRA | 11 months ago | hector CALDERON
    java.io.IOException: Failed to pull Docker image libercobol:${OSVERSION}
  2. 0

    The plugin is broken when the image to use contains a $ variable. It worked fine up to Jenkins ver 2.2 and is broken since 2.3. We can reproduce the problem by switching from 2.2 to any version above without modifying anything else. The issue may be related to how the plugin loads the image. It used to do: $ docker exec --tty … env … And now it is doing: $ docker pull libercobol:${OSVERSION} Console Output ---------- Pull Docker image libercobol:${OSVERSION} from repository ... $ docker pull libercobol:${OSVERSION} Failed to pull Docker image libercobol:${OSVERSION} FATAL: Failed to pull Docker image libercobol:${OSVERSION} java.io.IOException: Failed to pull Docker image libercobol:${OSVERSION} at com.cloudbees.jenkins.plugins.docker_build_env.PullDockerImageSelector.prepareDockerImage(PullDockerImageSelector.java:34) at com.cloudbees.jenkins.plugins.docker_build_env.DockerBuildWrapper.setUp(DockerBuildWrapper.java:169) at hudson.model.Build$BuildExecution.doRun(Build.java:156) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:136) at hudson.model.Run.execute(Run.java:1741) at com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:73) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410)

    Jenkins JIRA | 11 months ago | hector CALDERON
    java.io.IOException: Failed to pull Docker image libercobol:${OSVERSION}
  3. 0

    [JIRA] [docker-custom-build-environment-plugin] (JENKINS-34898) Parameter not resolved in image tag of plugin docker-custom-build-environment since 2.3

    Google Groups | 11 months ago | hector....@atos.net (JIRA)
    java.io.IOException: Failed to pull Docker image libercobol:${OSVERSION} <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0"> at com.cloudbees.jenkins.plugins.docker_build_env.PullDockerImageSelector.prepareDockerImage(PullDockerImageSelector.java:34)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JIRA] [docker-custom-build-environment-plugin] (JENKINS-33194) ECR plugin compatability

    Google Groups | 1 year ago | tom.duerr@gmail.com (JIRA)
    java.io.IOException: Failed to pull Docker image 810605503585.dkr.ecr.us-east-1.amazonaws.com/ss/java-master:latest
  6. 0

    How to use CloudBees Docker Custom Build Environment Plugin?

    Stack Overflow | 1 year ago | vimal prakash
    java.io.IOException: Failed to pull Docker image maven

    Root Cause Analysis

    1. java.io.IOException

      Failed to pull Docker image libercobol:${OSVERSION}

      at com.cloudbees.jenkins.plugins.docker_build_env.PullDockerImageSelector.prepareDockerImage()
    2. com.cloudbees.jenkins
      DockerBuildWrapper.setUp
      1. com.cloudbees.jenkins.plugins.docker_build_env.PullDockerImageSelector.prepareDockerImage(PullDockerImageSelector.java:34)
      2. com.cloudbees.jenkins.plugins.docker_build_env.DockerBuildWrapper.setUp(DockerBuildWrapper.java:169)
      2 frames
    3. Hudson
      AbstractBuild$AbstractBuildExecution.run
      1. hudson.model.Build$BuildExecution.doRun(Build.java:156)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      2 frames
    4. com.tikal.jenkins
      MultiJobBuild$MultiJobRunnerImpl.run
      1. com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:136)
      1 frame
    5. Hudson
      Run.execute
      1. hudson.model.Run.execute(Run.java:1741)
      1 frame
    6. com.tikal.jenkins
      MultiJobBuild.run
      1. com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:73)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:98)
      2. hudson.model.Executor.run(Executor.java:410)
      2 frames