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

shell command "exit 0" will fail jenkins job on an ubuntu 20.04 node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • _unsorted
    • None

      the following shell command will fail jenkins job on an ubuntu 20.04 node

      #!/bin/bash -el
      exit 0

       

      error:

      Build step 'Execute shell' marked build as failure

            Unassigned Unassigned
            maksonlee Makson Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: