-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.426.1
gradle-plugin 2.9
timestamper 1.26
The "Executed Gradle Tasks" side panel that comes from gradle console log annotations doesn't show up when looking at pipeline logs when the global timestamper setting is turned on.
Expected
The "Executed Gradle Tasks" side panel shows up on pipeline/multibranch pipelines when using the global timestamper option
Actual
The panel does not show up
Steps to Reproduce
Works:
1. Vanilla install of Jenkins LTS 2.426.1 with default plugins
2. Setup java
3. Run sample pipeline below
Doesn't work:
1. Vanilla install of Jenkins LTS 2.426.1 with default plugins
2. Setup java
3. Enable global timestamps (System > Timestamper > Enabled for all Pipeline builds)
4. Run sample pipeline below
build.gradle:
task task1 { doLast { Thread.sleep(1000) } } task task2 { doLast { Thread.sleep(1000) } } task task3 { doLast { Thread.sleep(1000) } }
multi-branch pipeline:
pipeline { agent any tools { jdk "openjdk17.0_latest" } stages { stage('Hello') { steps { withGradle { sh './gradlew task1 task2 task3' } } } } }
- relates to
-
JENKINS-44834 Gradle pipeline support: withGradle and ConsoleAnnotator
- Open