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

问题描述 投票:0回答:1

成功触发参数化远程作业但是,控制台说它已失败

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/

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

jenkins jenkins-plugins jenkins-pipeline
1个回答
1
投票

我变了

https://jenkins.mycompanycorp.com/view/Android%20mycompany%20CI/job/jp.mother.mycompany.android_mycompany-android_C_beta_for_monkey

https://jenkins.mycompanycorp.com/job/jp.mother.mycompany.android_mycompany-android_C_beta_for_monkey

它的工作原理。

谢谢

© www.soinside.com 2019 - 2024. All rights reserved.