Closed jglick closed 5 years ago
this is a really annoying bug BTW! :) I tried to figure out the magic status check on the Pod
to spot then it's really initialising
and wait for a possible log - but so far have failed.
Anyone fancy taking a stab at it? :)
Confirmed working in 1.3.801. :tada:
Summary
jx get build log
fails when a Knative Build pod is still initializing, typically up to a minute after triggering the job, even if--wait
is supplied.Steps to reproduce the behavior
jx get build log -w -r whatever
in a
--prow
cluster.Jx version
The output of
jx version
is:Kubernetes cluster
GKE
Operating system / Environment
Ubuntu Cosmic
Expected behavior
The command would wait for the
jenkinsfile-runner
pod to start, and then begin printing its messages.Actual behavior
and the command exits. I need to keep on retrying the command until it starts to run: