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

REST End point to Restart pipeline from a Stage

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Critical Critical
    • pipeline
    • None

      Please provide REST End point to Restart pipeline from a Stage,

      I am doing an automation where I invoke Jenkins pipeline from my application,
       
      curl -X POST JENKINS_URL/job/JOB_NAME/buildWithParameters --user USERNAME:TOKEN --data-urlencode json='{"parameter": [

      {"name":"id", "value":"123"}

      , {"name":"verbosity", "value":"high"}]}'
      whenever this job fails I want to correct it and restart from stage it has failed 

      but I am not getting any curl command to restart from stage for Jenkins so can you please provide one. 

       

            Unassigned Unassigned
            praveenkumar127 Praveen VB
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: