-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 2.332.3
Timestamper 1.17
The plugin shows correct timestamp when looking at the Console Output:
10:02:52 Started by user admin
10:02:52 [Pipeline] Start of Pipeline
10:02:53 [Pipeline] node
10:02:53 Running on Jenkins in C:\Program Files (x86)\Jenkins\workspace\test-timestamp
10:02:53 [Pipeline] {
10:02:53 [Pipeline] stage
10:02:53 [Pipeline]
10:02:53 [Pipeline] // stage
10:02:53 [Pipeline] }
10:02:53 [Pipeline] // node
10:02:53 [Pipeline] End of Pipeline
10:02:53 Finished: SUCCESS
But when looking at the same build instance using [View as plain text] the timestamp is wrong:
[2022-06-14T17:02:52.557Z] Started by user admin
[2022-06-14T17:02:52.739Z] [Pipeline] Start of Pipeline
[2022-06-14T17:02:53.245Z] [Pipeline] node
[2022-06-14T17:02:53.267Z] Running on Jenkins in C:\Program Files (x86)\Jenkins\workspace\test-timestamp
[2022-06-14T17:02:53.310Z] [Pipeline] {
[2022-06-14T17:02:53.367Z] [Pipeline] stage
[2022-06-14T17:02:53.375Z] [Pipeline]
[2022-06-14T17:02:53.554Z] [Pipeline] // stage
[2022-06-14T17:02:53.570Z] [Pipeline] }
[2022-06-14T17:02:53.690Z] [Pipeline] // node
[2022-06-14T17:02:53.726Z] [Pipeline] End of Pipeline
[2022-06-14T17:02:53.806Z] Finished: SUCCESS
How can this be fixed ?
Pipeline script is:
pipeline {
agent any
stages {
stage('Hello') {
steps {
echo 'Hello World'
}
}
}
}