This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      Shell commands hangs in declarative pipeline agent run in Docker container:

      pipeline {
        agent {
          docker {
            label 'slave'
            image 'mcr.microsoft.com/windows/servercore:ltsc2019' 
          }
        }
        options { 
          skipDefaultCheckout true
        }
        stages {
          stage('deadlocked') {
            steps {
              bat 'dir'
            }
          }
        }
      }
      
      Actual Result:
      [Pipeline] {
      [Pipeline] stage
      [Pipeline] { (deadlocked)
      [Pipeline] bat
      
      Never ends
      Steps to reproduce (files attached):
      1. run Make.ps1 to create test docker images (test/jenkins-master, test/jenkins-slave).
      2. run run.ps1 to launch test Jenkins environment
      3. Build deadlock-pipeline Jenkins job.

            Assignee:
            Unassigned
            Reporter:
            Sebők Márton László
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: