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

Pipeline checkout scm fails silently when a slave has a connectivity issue

XMLWordPrintable

      In the following case, 

      • Jenkins multibranch pipeline job is configured to connect to SCM (git) using an SSH key
      • Jenkins master has HTTP(S) and SSH connectivity to SCM (git)
      • Swarm slave agent has HTTP(S) connectivity, but not SSH connectivity to SCM (git)

      The following happens:

      • Job initiates from master; Jenkinsfile is read,
      • Hand off to swarm agent occurs. Checkout SCM step fails (very little detail; job continues) 
      • The job fails further down the line with an error due to not picking up SCM

      Expected:

      • An output message showing that the agent was not able to checkout SCM.
      • (The job continuing is ok as you don't always need the SCM checkout files.)

            Unassigned Unassigned
            rocketeer125 Tom Bamford
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: