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

Add "pin build at label" to Preview Check Only populate options

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • p4-plugin
    • None

      When choosing the Preview Check Only populate option allow for setting of the "Pin build at Perforce Label". Right now Pinning is available on the other options, just not the Preview Check.

          [JENKINS-42029] Add "pin build at label" to Preview Check Only populate options

          Karl Wirth added a comment - - edited

          Recent usage example:

          Normal workspace sync is multi GB. For this project we use Jenkins to figure out that a build is broken then Perforce to determine who made the changes that broke the build.

             emailext body: 'My test email', recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']], subject: 'Test Email', to: 'AprojectOwnersEmailAddress'

          Use 'Preview check only' allows the email to be generated with all  recent changes without syncing many GB to workspace but we need to be able to specify a specific label.

           

          At the moment we don't use Pipline so there is no workaround.

           

          Karl Wirth added a comment - - edited Recent usage example: Normal workspace sync is multi GB. For this project we use Jenkins to figure out that a build is broken then Perforce to determine who made the changes that broke the build.    emailext body: 'My test email', recipientProviders: [ [$class: 'DevelopersRecipientProvider'] , [$class: 'RequesterRecipientProvider'] ], subject: 'Test Email', to: 'AprojectOwnersEmailAddress' Use 'Preview check only' allows the email to be generated with all  recent changes without syncing many GB to workspace but we need to be able to specify a specific label.   At the moment we don't use Pipline so there is no workaround.  

          hit tab and the ticket got assigned to me - sorry about that.

          Anyway, I have noticed that the functionality to set `pin` from jobDSL exists, but it doesn't appear in the Jenkins UI.

          I am not sure if it wasn't intended to show up in populate -> previewonly or if it is meant to show up in the UI.

          peter anderson added a comment - hit tab and the ticket got assigned to me - sorry about that. Anyway, I have noticed that the functionality to set `pin` from jobDSL exists, but it doesn't appear in the Jenkins UI. I am not sure if it wasn't intended to show up in populate -> previewonly or if it is meant to show up in the UI.

            Unassigned Unassigned
            joel_brown Joel Brown
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: