Access the jenkins.log or folder when using jenkinsrule

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Access the jenkins.log or folder when using jenkinsrule

Charles Moulliard

Is it possible to access to the jenkins.log or the folder containing the files as I got this error when I run a junit test case ?

Legacy code started this job.  No cause information is available
Running as SYSTEM
Building in workspace /var/folders/t2/jwchtqkn5y76hrfrws7dqtqm0000gn/T/j h2639828161785432376/workspace/test0
Processing DSL script mavenProject/mavenJob.groovy
ERROR: Unable to read /var/folders/t2/jwchtqkn5y76hrfrws7dqtqm0000gn/T/j h2639828161785432376/jobs/mvn-spring-boot-rest-http/config.xml
Finished: FAILURE

Example of code:

    public JenkinsRule j = new JenkinsRule();

    public void useMavenDSLGroovyFileAsJob() throws Exception {
        FreeStyleProject p = j.createFreeStyleProject();
        p.scheduleBuild2(0).get(); // run a build to create a workspace

        ExecuteDslScripts e = new ExecuteDslScripts();

        // Assert if build succeeded, if the Script executed includes the echo message
        FreeStyleBuild b = j.assertBuildStatusSuccess(p.scheduleBuild2(0).get());



You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit