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,220 points
2,311 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,980 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
310 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,950 points
724 views
0 votes
1 answer
0 votes
1 answer
+15 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,450 points
669 views
+2 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,980 points
2,747 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,980 points
3,074 views