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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              Created:
              Updated: