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

Add option to Fail the build if node label does not exist or if it cannot be provisioned within a timeout

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • plugin-proposals
    • None
    • Jenkins 1.642
      github-branch-source-plugin:1.7
      github-organization-folder-plugin:1.3

    Description

      Issue

      When a node label does not exists, the build hangs in the queue until a node is assigned to that label. In that case I would like my build to fail. It would be great to have such option and also the possibility to apply it with GitHub Organization.

      How to Reproduce

      node ('thislabeldoesnotexists') {
          echo "This could be improved"
      }
      

      This label does not exists in my Instance, the build hang in the queue and the console logs show:

      > There are no nodes with the label ‘thislabeldoesnotexists’

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              allan_burdajewicz Allan BURDAJEWICZ
              Votes:
              15 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated: