Skip to content

Conversation

@basil
Copy link
Member

@basil basil commented Mar 30, 2022

Downstream of #322. Upstream of jenkinsci/jenkins-test-harness#400. Still in draft state pending the resolution of apache/netbeans#3743. Tested in Java 17 with mvn clean verify -Dtest=org.jenkinsci.plugins.workflow.libs.LibraryMemoryTest -Djenkins.version=2.341 -Dhpi-plugin.version=3.27-SNAPSHOT.

@basil basil marked this pull request as ready for review March 31, 2022 18:03
@basil
Copy link
Member Author

basil commented Mar 31, 2022

Ready, tested with Java 17 and my other PRs with mvn clean verify -Dtest=org.jenkinsci.plugins.workflow.libs.LibraryMemoryTest -Djenkins.version=2.341 -Dhpi-plugin.version=3.27-SNAPSHOT

Needs a change to the test harness to actually start bundling the hook, and upgrade insane, and get the integration tests to pass. I am preparing that PR next.

@basil basil requested a review from jglick March 31, 2022 18:05
@basil
Copy link
Member Author

basil commented Mar 31, 2022

I am preparing that PR next.

Done in jenkinsci/jenkins-test-harness#416

Copy link
Member

@jglick jglick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions but looks good.

* @author Basil Crow
*/
@Mojo(name = "initialize", defaultPhase = LifecyclePhase.INITIALIZE)
@Mojo(name = "initialize", requiresDependencyResolution = ResolutionScope.TEST, defaultPhase = LifecyclePhase.INITIALIZE)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would make more sense to do this in a test preparation phase if we can?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. I might split this out into a different mojo soonish in some separate PR.

@basil basil merged commit 66cc913 into jenkinsci:master Mar 31, 2022
@basil basil deleted the JENKINS-67974 branch March 31, 2022 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants