Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
775 views
in Technique[技术] by (71.8m points)

Azure DevOps Pipelines "Waiting for console output from an agent..."

I require something from the output of a running release task in order for it to complete (an authenticate code). But the console is now not updating. All I get is "Waiting for console output from an agent..."

enter image description here

This happens on both our self-hosted agents (Linux or Windows) and on the Hosted Ubuntu 1604 agent.

The step in question is the standard Kubernetes task: https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks/KubernetesV1

This was not always happening.

question from:https://stackoverflow.com/questions/54004266/azure-devops-pipelines-waiting-for-console-output-from-an-agent

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

To rule out the possibility of kubectl awaiting console input (as has been discussed above), you could try

kubectl apply --dry-run=client [other args]

or

kubectl apply --dry-run=server [other args]

This could give you guidance as to how to proceed, perhaps with --force or --overwrite flags if needed.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...