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

"Build step 'Execute shell' marked build as failure" happens, would the remaining process be going?

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • _unsorted
    • None
    • Ubuntu 16.0.4

      I have created a "freestyle" job in my Jenkins which is running on Ubuntu server. 

      The commands of that job is as such: 

      "...

      pip install behave
      pip install selenium
      pip install -r features/requirements.txt
      behave  ./features/group1/*.feature
      behave  ./features/group2/*.feature

      ...

      ", 

      In details, it is trying to execute BDD test cases from both group1 and group2 direction.  Dring the regular runtime,  sometimes, some test case may hit an intermittent failure, and one test case fails. In the Console Output,  I am see this type of message: 

      "

      0 features passed, 1 failed, 0 skipped
      0 scenarios passed, 1 failed, 0 skipped
      3 steps passed, 1 failed, 1 skipped, 0 undefined
      Took 2m48.770s
      Build step 'Execute shell' marked build as failure

      ". 

      As it tells me that "the current test case takes 2m48.770s to process, 3 passed and 1 fails".  And because of that, the remaining unexecuted tests are skipped as well. 

      But since all test test cases are independent of each other,  Is there a way I can have the rest still running ? 

       

      Thanks, 

      Jack

       

       

       

            Unassigned Unassigned
            chunji08 chun ji
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: