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

Force continue build execution on failure of previous build steps

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Not A Defect
    • Component/s: gradle-plugin
    • Labels:
      None
    • Environment:
      Android
    • Similar Issues:

      Description

      In my jenkins job i have three build steps. 1st one Execute shell, 2nd gradle script to run testcases, 3rd execute shell. When i run this job, if 2nd build step is failed, jenkins is skipping the 3rd build step execution and marking the build as failure. Is there any workaround to forcefully execute the 3d build step even if the previous builds steps fails. Please help.

        Attachments

          Activity

          nareshgunda Naresh Gunda created issue -
          nareshgunda Naresh Gunda made changes -
          Field Original Value New Value
          Description In my jenkins job i have three build steps. 1st Execute shell, 2nd gradle script to run testcases, 3rd executeshell. When i run this job, if any testcase is failed then the 2nd build step is marked as failed and jenkins is skipping the 3rd build step execution. Is there any workaround to forcefully execute the 3d build step even if the previous builds steps fails. Please help. In my jenkins job i have three build steps. 1st one Execute shell, 2nd gradle script to run testcases, 3rd executeshell. When i run this job, if any testcase is failed then the 2nd build step is marked as failed and jenkins is skipping the 3rd build step execution and marking the build as failure. Is there any workaround to forcefully execute the 3d build step even if the previous builds steps fails. Please help.
          nareshgunda Naresh Gunda made changes -
          Summary Force build execution on failure of previous build steps Force continue build execution on failure of previous build steps
          nareshgunda Naresh Gunda made changes -
          Description In my jenkins job i have three build steps. 1st one Execute shell, 2nd gradle script to run testcases, 3rd executeshell. When i run this job, if any testcase is failed then the 2nd build step is marked as failed and jenkins is skipping the 3rd build step execution and marking the build as failure. Is there any workaround to forcefully execute the 3d build step even if the previous builds steps fails. Please help. In my jenkins job i have three build steps. 1st one Execute shell, 2nd gradle script to run testcases, 3rd execute shell. When i run this job, if 2nd build step is failed, jenkins is skipping the 3rd build step execution and marking the build as failure. Is there any workaround to forcefully execute the 3d build step even if the previous builds steps fails. Please help.
          wolfs Stefan Wolf made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Closed [ 6 ]

            People

            Assignee:
            wolfs Stefan Wolf
            Reporter:
            nareshgunda Naresh Gunda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: