-
-
Notifications
You must be signed in to change notification settings - Fork 637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stream_job_output set to true and job output does not appear in chef log #565
Comments
There doesn't appear to be a way to set the timeout at present and I'm betting most people that use this aren't using the |
I bumped my version to 4.2.1 and am still not seeing the output. This job runs all of the integration tests to validate that jenkins was installed and configured properly - when it errors, the errors are important for troubleshooting. That's my real feature request since adding "node.override[:jenkins][:executor][:timeout] = 1200" before the call to jenkins_job allows the job enough time to finish. For me, this is the last step in the recipe, so I didn't need to set it back. |
Is there a way to change the timeout when blocking for a build to complete? Also note that even 'though wait_for_completion and stream_job_output are set to true, I do not see job output in the opsworks chef log.
Cookbook version
2.5.0
Chef-client version
12
Platform Details
aws opsworks chef 12 linux ami
Scenario:
[What you are trying to achieve and you can't?]
Steps to Reproduce:
jenkins_job "unit_test" do # where unit_test is a job that runs longer than 60s
stream_job_output true
wait_for_completion true
action :build
end
Expected Result:
job completed
Actual Result:
job fails with error:
Mixlib::ShellOut::CommandTimeout
--------------------------------
Command timed out after 60s:
The text was updated successfully, but these errors were encountered: