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

Terminates the running jobs running from same instance using concurrent builds via pipline

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: pipeline
    • Labels:
    • Environment:
      OS: Ubuntu
    • Similar Issues:
    • Sprint:
      Blue Ocean - Candidates
    • Released As:
       URL to the release notes is preferred.

      Description

      Example:

      1. Build [*jenkins_job_1*]: calls an test.py python script with job build  ID 1
      2. Build [*jenkins_job_1*]: calls an test.py python script with job build ID 2
      3. repeat as necessary
      4. each instance of the job runs simultaneously, rather than through a queue.
      5. when any one of the job is terminated, say job build 2, the job build 1 also gets terminate

       

      node("test") {

      stage('Hello') {

      echo 'Hello World'
      dir('/home/')

      { def exec = sh label: 'test',returnStatus: true, script: """python test.py""" }

      }

      }

       

      Below is

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              prabhu088 prabhu goud
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: