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

Continue with Jenkins Pipeline after checking the status of Standalone jenkins Job

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • job-dsl-plugin, pipeline
    • None
    • Dev

      I am running a Jenkins Pipeline, after some steps, In the same pipeline, I want to check the Status (Last Build status) of some other Standalone job.

      If the status is successful, then continue with the Pipeline, Otherwise Exit the pipeline.

      I want to do this in the Groovy Job DSL file and inside shell.

            jamietanna Jamie Tanna
            amangupta24 Aman Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: