use of jenkins.plugins.nodejs.VerifyEnvVariableBuilder.FileVerifier in project nodejs-plugin by jenkinsci.
the class NodeJSBuildWrapperTest method test_creation_of_config.
@Test
public void test_creation_of_config() throws Exception {
FreeStyleProject job = j.createFreeStyleProject("free");
final Config config = createSetting("my-config-id", "email=foo@acme.com", null);
NodeJSInstallation installation = mockInstaller();
NodeJSBuildWrapper bw = mockWrapper(installation, config);
job.getBuildWrappersList().add(bw);
job.getBuildersList().add(new FileVerifier());
j.assertBuildStatusSuccess(job.scheduleBuild2(0));
}
Aggregations