-
Bug
-
Resolution: Fixed
-
Minor
-
jenkins 1.609.2
workflow 1.10-beta1
timestamper 1.7.2
Consider the workflow that is stored in an SCM
node('master') { wrap([$class: 'TimestamperBuildWrapper']) { sh 'echo I woz here' } }
if you view ${JOB_URL}/${BUILD_ID}/console
then you will see timestamps for the echo step but not the SCM checkout.
However if you view the logs for the individual step ${JOB_URL}/${BUILD_ID}/execution/node/3/log/ then the output is shown without any timestamps. This means that to check performance of an individual step you need to look at all of the logs which is a performance issue - and not user friendly.
[JENKINS-30143] logs for individual workflow steps do not contain timestamps
Assignee | Original: Steven G Brown [ stevengbrown ] |
Attachment | New: screenshot-1.png [ 30589 ] |
Attachment | New: screenshot-2.png [ 30590 ] |
For a script stored in SCM, the checkout happens before you run the wrap step.
Please check this again, it should be amending the log of the individual step, so long as it is within wrap.