Skip to content

Conversation

@turboBasic
Copy link
Owner

Downgrade Spock to v1 to fix error that Jenkins Test Harness cannot create instance of Jenkins

This is required because Jenkins Test Harness cannot instantiate
Jenkins when using Spock 2.

In turn, Groovy version should also be downgraded to meet requirements
of Spock.

JeninsPipelineUnit seems working even with v1.19 but produces
many warnings, for safety reasons its version also downgraded.
With downgrade of Spock broken tests started to work
@turboBasic turboBasic added the bug Something isn't working label Jan 4, 2024
@turboBasic turboBasic added this to the v1.1 milestone Jan 4, 2024
@turboBasic turboBasic self-assigned this Jan 4, 2024
@turboBasic turboBasic linked an issue Jan 4, 2024 that may be closed by this pull request
@turboBasic
Copy link
Owner Author

Override failed Gradle job on Github runner which seems to have corrupted .lock files - local tests and tests in Jenkins are passing flawlessly

@turboBasic turboBasic merged commit 3f7fb92 into main Jan 4, 2024
@turboBasic turboBasic deleted the fix/spock1 branch January 4, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] Jenkins Test Harness cannot instantiate Jenkins

1 participant