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

Force continue build execution on failure of previous build steps

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • gradle-plugin
    • None
    • Android

      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.

          [JENKINS-43027] Force continue build execution on failure of previous build steps

          Naresh Gunda created issue -
          Naresh Gunda made changes -
          Description Original: 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. New: 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.
          Naresh Gunda made changes -
          Summary Original: Force build execution on failure of previous build steps New: Force continue build execution on failure of previous build steps
          Naresh Gunda made changes -
          Description Original: 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. New: 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.
          Stefan Wolf made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: