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

Parameterized Remote Trigger Plugin

XMLWordPrintable

      My Jenkins version 2.116; remote Jenkins version 2.66.  At first I configured the remote job call in my jenkins master ( you can see on a screen JenkinsJob.png). After I wrote a function in pipeline: 

      void runIntegrationTests()

      { def handle = triggerRemoteJob(remoteJenkinsName: 'AFT_Desk', job: 'AFTDesk_RunTM_Allure_NDO', parameters: 'TESTMODEL_ID=46') }

      I have also configured remote jenkins job (screen RemoteJenkins1.png, RemoteJenkins2.png, RemoteJenkins3.png). 

      Then I run my jenkins pipeline and got this error:

       
      ################################################################################################################
      http://jenkins-rc.moscow.alfaintra.net:8080/blue/organizations/jenkins/cashrequest-ui/detail/feature%2FRCNDO-343/113/pipeline#step-58-log-2 Parameterized Remote Trigger Configuration:
       - job: AFTDesk_RunTM_Allure_NDO

       - remoteJenkinsName: AFT_Desk

       - parameters: [TESTMODEL_ID=46]

       - blockBuildUntilComplete: true

       - connectionRetryLimit: 5

       ################################################################################################################

        
      http://jenkins-rc.moscow.alfaintra.net:8080/blue/organizations/jenkins/cashrequest-ui/detail/feature%2FRCNDO-343/113/pipeline#step-58-log-9Connection to remote server failed , waiting for to retry - 10 seconds until next attempt. URL: http://ltjenkins:8080/job/MDMi_Pipeline/job/NDO/job/AFTDesk_RunTM_Allure_NDO/api/json, parameters:
      Retry attempt #1 out of 5

       

       
      http://jenkins-rc.moscow.alfaintra.net:8080/blue/organizations/jenkins/cashrequest-ui/detail/feature%2FRCNDO-343/113/pipeline#step-58-log-11Connection to remote server failed , waiting for to retry - 10 seconds until next attempt. URL: http://ltjenkins:8080/job/MDMi_Pipeline/job/NDO/job/AFTDesk_RunTM_Allure_NDO/api/json, parameters:
      Retry attempt #2 out of 5

       Connection to remote server failed , waiting for to retry - 10 seconds until next attempt. URL: http://ltjenkins:8080/job/MDMi_Pipeline/job/NDO/job/AFTDesk_RunTM_Allure_NDO/api/json, parameters:

       Retry attempt #3 out of 5

      Connection to remote server failed , waiting for to retry - 10 seconds until next attempt. URL: http://ltjenkins:8080/job/MDMi_Pipeline/job/NDO/job/AFTDesk_RunTM_Allure_NDO/api/json, parameters:

      Error: 

      org.jenkinsci.plugins.ParameterizedRemoteTrigger.exceptions.ExceedRetryLimitException: Max number of connection retries have been exeeded.

      Help me to find reason of this error..((

       

       

        1. JenkinsJob.png
          14 kB
          VIKTORIYA ULBUTOVA
        2. RemoteJenkins1.png
          40 kB
          VIKTORIYA ULBUTOVA
        3. RemoteJenkins2.png
          25 kB
          VIKTORIYA ULBUTOVA
        4. RemoteJenkins3.png
          22 kB
          VIKTORIYA ULBUTOVA

            cashlalala KaiHsiang Chang
            jenkinsalfa VIKTORIYA ULBUTOVA
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: