Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GradleConsoleAnnotator when Timestamper is globally enabled #374

Merged
merged 5 commits into from
Dec 15, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add logs to debug Windows tests...
alextu committed Dec 11, 2023
commit f83270d1e7cbe170a10326b5e2eb5df3d77cc171
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@ import hudson.plugins.timestamper.TimestamperConfig
import hudson.slaves.DumbSlave
import org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition
import org.jenkinsci.plugins.workflow.job.WorkflowJob
import org.jvnet.hudson.test.JenkinsRule

class GradleConsoleAnnotatorIntegrationTest extends BaseGradleIntegrationTest {

@@ -42,6 +43,7 @@ class GradleConsoleAnnotatorIntegrationTest extends BaseGradleIntegrationTest {
def b = j.buildAndAssertSuccess(pipelineJob)

then:
println "logs: \n${JenkinsRule.getLog(b)}"
def client = j.createWebClient()
def html = client.goTo(b.getUrl() + "console")
html.getByXPath("//b[@class='gradle-task']")*.textContent*.toString() == [