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

Schedule Stage Independently

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: pipeline
    • Labels:
      None
    • Similar Issues:

      Description

      I don't know if this exists yet, but I'm looking for a way to build a stage within the pipeline independently daily. In this example down there, I want to be able to build the "scan" stage every 10 minutes separately and independently. Is this something that is possible?

       

      pipeline {    
          agent {
            label 'master'
          }
          
          triggers {
            cron('* * * * *')
          }    
          stages {
            stage('build') {
              steps {
                sh "building every day at midnight"
                }
              }
      
            stage('scan') 
              { 
                steps { 
                  sh "Scanning daily" 
                  } 
                }
          }
       }
      
      

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            taziamoma Taziamoma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: