触发了参数化的远程作业,但控制台显示失败

时间:2018-12-28 03:35:41

标签: jenkins jenkins-plugins jenkins-pipeline

已成功触发参数化的远程作业 但是,控制台表示失败了

Started by user XXX
Running in Durability level: MAX_SURVIVABILITY
[pipeline] node
Running on Ubuntu in /home/set/jenkins/workspace/android_monkey_builder_pipeline
[pipeline] {
[pipeline] stage
[pipeline] { (Building apk)
[pipeline] script
[pipeline] {
[pipeline] triggerRemoteJob
################################################################################################################
 Parameterized Remote Trigger Configuration:
 - job: https://jenkins.mycompanycorp.com/view/Android%20mycompany%20CI/job/jp.mother.mycompany.android_mycompany-android_C_beta_for_monkey 
 - remoteJenkinsName: mycompanyJenkinsForEveryone
 - auth: 'Token Authentication' as user 'XXX'
 - parameters: [BRANCH=release_9.0]
 - blockBuildUntilComplete: true
 - connectionRetryLimit: 5
################################################################################################################
Triggering parameterized remote job 'https://jenkins.mycompanycorp.com/view/Android%20mycompany%20CI/job/jp.mother.mycompany.android_mycompany-android_C_beta_for_monkey'
 Using job-level defined 'Token Authentication' as user 'XXX'
Triggering remote job now.
CSRF protection is disabled on the remote server.
Connection to remote server failed , waiting for to retry - 10 seconds until next attempt. URL: https://jenkins.mycompanycorp.com/view/Android%20mycompany%20CI/job/jp.mother.mycompany.android_mycompany-android_C_beta_for_monkey/buildWithParameters, parameters: BRANCH=master
Retry attempt #1 out of 5
reuse cached crumb: jenkins.mycompanycorp.com
Connection to remote server failed [404], waiting for to retry - 10 seconds until next attempt. URL: https://jenkins.mycompanycorp.com/view/Android%20mycompany%20CI/queue/item/2522124/api/json/, parameters: 
Retry attempt #1 out of 5
Connection to remote server failed [404], waiting for to retry - 10 seconds until next attempt. URL: https://jenkins.mycompanycorp.com/view/Android%20mycompany%20CI/queue/item/2522124/api/json/, parameters: 
Retry attempt #2 out of 5
Connection to remote server failed [404], waiting for to retry - 10 seconds until next attempt. URL: https://jenkins.mycompanycorp.com/view/Android%20mycompany%20CI/queue/item/2522124/api/json/, parameters: 
Retry attempt #3 out of 5
Connection to remote server failed [404], waiting for to retry - 10 seconds until next attempt. URL: https://jenkins.mycompanycorp.com/view/Android%20mycompany%20CI/queue/item/2522124/api/json/, parameters: 
Retry attempt #4 out of 5
Connection to remote server failed [404], waiting for to retry - 10 seconds until next attempt. URL: https://jenkins.mycompanycorp.com/view/Android%20mycompany%20CI/queue/item/2522124/api/json/, parameters: 
Retry attempt #5 out of 5
ERROR: Remote build failed with 'ExceedRetryLimitException' for the following reason: 'Max number of connection retries have been exeeded.'.
[pipeline] }
[pipeline] // script
[pipeline] }
[pipeline] // stage
[pipeline] }
[pipeline] // node
[pipeline] End of pipeline
ERROR: ExceedRetryLimitException: Max number of connection retries have been exeeded.
Finished: FAILURE

我无法连接到引起404的代码。这是根本原因吗?

  

https://jenkins.mycompanycorp.com/view/Android%20mycompany%20CI/queue/item/2522124/api/json/

我想要做的是触发构建并检索工件。

0 个答案:

没有答案