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

Jenkins is trying to build remotely when want master

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Labels:
      None
    • Environment:
      Jenkins version 2.204.1 on Windows Server 2012 R2
    • Similar Issues:

      Description

      I have a job whose source code is in git. I have run this job previously and always stated at the beginning of log "Building on master in workspace D:\jenkins\workspace\CCI_MDM_BUILD1". All of a sudden it now says "Building remotely on 2-MTC-MDM-PRD-IMĀ in workspace /export/local/mdmadmin/jenkins/workspace/CCI_MDM_BUILD1" How do i get it to build on master ONLY?

        Attachments

          Activity

          Hide
          markewaite Mark Waite added a comment - - edited

          Please don't use issues for question and answer. The chat systems and mailing lists are much better suited to question and answer.

          To restrict a job to run only on master, PIpeline jobs can require the label 'master'. Freestyle jobs can use the "Restrict where this job can run" setting to limit the job to run on master.

          Show
          markewaite Mark Waite added a comment - - edited Please don't use issues for question and answer. The chat systems and mailing lists are much better suited to question and answer. To restrict a job to run only on master, PIpeline jobs can require the label 'master'. Freestyle jobs can use the "Restrict where this job can run" setting to limit the job to run on master.

            People

            • Assignee:
              markewaite Mark Waite
              Reporter:
              ssanders Sholom Sanders
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: