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

No such object: $JD_TO_RUN

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • docker-workflow-plugin
    • None
    • Jenkins 2.330 on Windows Server 2019
    • 1.28-r2

      The update 1.27 of the docker plugin seems to have introduced a blocking issue.

      When starting a container like so:

      docker.withServer(env.DOCKER_HOST, env.DOCKER_HOST_CREDS) {
        docker.image(imageId) {
          …
        }
      }
      

      I'm getting the follow message in the log when using 1.27:

      C:\Temp\jenkins_ws\…\15>docker inspect -f . "$JD_TO_RUN" 
      
      Error: No such object: $JD_TO_RUN
      

      After the downgrade to 1.26 im getting:

      C:\Temp\jenkins_ws\…\16>docker inspect -f . mcr.microsoft.com/powershell:lts-nanoserver-1809
      .
      

            viceice Michael Kriese
            nitram Martin Karing
            Votes:
            13 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: