触发了参数化的远程作业,但控制台显示失败 [英] Parameterized remote job is triggered but console says failure

查看:304
本文介绍了触发了参数化的远程作业,但控制台显示失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Parameterized remote job is triggered successfully However, console says it has failed

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的代码.这是根本原因吗?

I cannot connect to causing 404. Is this a root cause?

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

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

What I want to do is triggering the build and retrieving artifacts.

推荐答案

我猜问题出在视图名称Android%20mycompany%20CI.

I guess the problem was from the view name Android%20mycompany%20CI.

我改变了

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

它有效.

谢谢

这篇关于触发了参数化的远程作业,但控制台显示失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆