Jenkins console output not in realtime

0 votes
When I run job (Build) on Jenkins I am triggering ruby command to execute my test script.

Problem is Jenkins is not displaying output in real time from console. Here is trigger log.

Building in workspace /var/lib/jenkins/workspace/foo_bar

No emails were triggered.

[foo_bar] $ /bin/sh -xe /tmp/hudson4042436272524123595.sh

+ ruby /var/lib/jenkins/test-script.rb
Aug 7, 2018 in Jenkins by lina
• 8,200 points
1,602 views

1 answer to this question.

0 votes
Make sure your script is flushing it stdout, stderr.

import sys

sys.stdout.flush()
answered Aug 7, 2018 by Nilesh
• 6,960 points

Related Questions In Jenkins

0 votes
1 answer

gulp serve & not working in jenkins

Try using nohup. It will creates nohup.out ...READ MORE

answered May 11, 2018 in Jenkins by DareDev
• 6,850 points
227 views
0 votes
2 answers

Subversion (SVNKIT) not working in Jenkins

Jenkins doesn't use the installed Subversion command ...READ MORE

answered Aug 8, 2018 in Jenkins by Kalgi
• 51,830 points
484 views
0 votes
1 answer
0 votes
1 answer

How can I create global macros and templates in jenkins job builder?

you can append the path to the ...READ MORE

answered Apr 2, 2018 in Jenkins by ajs3033
• 7,280 points
453 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,400 points
421 views
0 votes
1 answer
+1 vote
2 answers

What possible return values are there in Jenkins plugin “Sonarqube scanner”

Use Webhooks in SonarQube Administration setup to ...READ MORE

answered Aug 3, 2018 in Jenkins by Nilesh
• 6,960 points
2,262 views
0 votes
1 answer

HTML in job descriptions on jenkins

Follow these steps: Step 1- go to manage ...READ MORE

answered Aug 7, 2018 in Jenkins by Nilesh
• 6,960 points
2,072 views