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

java.lang.InterruptedException at console output at step "script" at declarative pipeline

XMLWordPrintable

      Reproducible scenario

       

      pipeline {
      agent {node {label 'linux'}}

      stages {
      stage ('Build') {steps {script

      { def content = sh ( script: "head -c 1G </dev/urandom >bigfile && cat bigfile", returnStdout: true ) def list = content.split(' ') }

      }}}}

       

      Visible result

       
      [pipeline_sandbox] Running shell script
      + head -c 1G
      + cat bigfile
      Cannot contact sandbox-node: java.io.IOException: java.lang.InterruptedException

            Unassigned Unassigned
            btk3000 Ilya Evseenkov
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: