@Override
    public void afterEach(ExtensionContext context) throws Exception {
        final JenkinsConfiguredWithCodeRule rule =
                context.getStore(NAMESPACE).remove(KEY, JenkinsConfiguredWithCodeRule.class);
        if (rule == null) {
            return;
        }
        rule.after();
    }
JUnit 5 extension providing {@link JenkinsConfiguredWithCodeRule} integration.

@see WithJenkinsConfiguredWithCode
test-harness/src/main/java/io/jenkins/plugins/casc/misc/junit/jupiter/JenkinsConfiguredWithCodeExtension.java