触发参数化远程作业,但控制台表示失败
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了触发参数化远程作业,但控制台表示失败相关的知识,希望对你有一定的参考价值。
成功触发参数化远程作业但是,控制台说它已失败
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/
我想要做的是触发构建和检索工件。
答案
我变了
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
它的工作原理。
谢谢
以上是关于触发参数化远程作业,但控制台表示失败的主要内容,如果未能解决你的问题,请参考以下文章