[JIRA] [confluence-publisher] (JENKINS-19028) ERROR: Publisher com.myyearbook.hudson.plugins.confluence.ConfluencePublisher aborted due to exception
Sean Moloney created JENKINS-19028 ERROR: Publisher com.myyearbook.hudson.plugins.confluence.ConfluencePublisher aborted due to exception Issue Type: Bug Assignee: Joe Hansche Components: confluence-publisher Created: 01/Aug/13 9:51 AM Description: Jenkins 1.518 Plugin information Confluence Publisher 1.8 Objective: To publish build artifact to confluence. Note: If I untick "Attach archived artifacts to page" the build is successful. Console output Started by user anonymous Building in workspace C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace Parsing POMs [workspace] $ C:\webui-dev.x64\jdk6/bin/java -cp "C:\Program Files (x86)\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-agent-1.2.jar;C:\webui-dev.x64\maven3\boot\plexus-classworlds-2.4.jar" org.jvnet.hudson.maven3.agent.Maven3Main C:\webui-dev.x64\maven3 "C:\Program Files (x86)\Jenkins\war\WEB-INF\lib\remoting-2.23.jar" "C:\Program Files (x86)\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-1.2.jar" 50864 ===[JENKINS REMOTING CAPACITY]===channel started log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter). log4j:WARN Please initialize the log4j system properly. Executing Maven: -B -f C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace\pom.xml install [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building MySel20Proj 1.0 [INFO] [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ MySel20Proj --- [debug] execute contextualize [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace\src\main\resources [INFO] No sources to compile [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ MySel20Proj --- [debug] execute contextualize [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace\src\test\resources [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ MySel20Proj --- [INFO] No sources to compile [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ MySel20Proj --- [INFO] [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ MySel20Proj --- [INFO] No tests to run. [INFO] Surefire report directory: C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace\target\surefire-reports --- T E S T S --- Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ MySel20Proj --- [INFO] [INFO] Installing C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace\target\MySel20Proj-1.0.jar to C:\.m2\repository\MySel20Proj\MySel20Proj\1.0\MySel20Proj-1.0.jar [INFO] Installing C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace\pom.xml to C:\.m2\repository\MySel20Proj\MySel20Proj\1.0\MySel20Proj-1.0.pom [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ MySel20Proj --- [INFO] [INFO] BUILD SUCCESS [INFO] [INFO] Total time: 11.703s [INFO] Finished at: Thu Aug 01 10:43:26 BST 2013 [INFO] Final Memory: 8M/139M [INFO] [JENKINS] Archiving C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace\pom.xml to C:\Program Files
[JIRA] [confluence-publisher] (JENKINS-19028) ERROR: Publisher com.myyearbook.hudson.plugins.confluence.ConfluencePublisher aborted due to exception
Joe Hansche commented on JENKINS-19028 ERROR: Publisher com.myyearbook.hudson.plugins.confluence.ConfluencePublisher aborted due to exception I wonder if this is specific to Maven artifacts? Do you have the "archive the artifacts" option checked on the job configuration? Typically Maven jobs do not require that option, because they automatically archive the build artifacts based on what the Maven POM decides should be archived (usually the POM and .jar). I don't know when I'll be able to get around to fixing this, but I have a feeling that is probably the reason. I had not tested the plugin with a Maven project. Perhaps trying to enable that option might fix it as a workaround? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [confluence-publisher] (JENKINS-19028) ERROR: Publisher com.myyearbook.hudson.plugins.confluence.ConfluencePublisher aborted due to exception
Sean Moloney commented on JENKINS-19028 ERROR: Publisher com.myyearbook.hudson.plugins.confluence.ConfluencePublisher aborted due to exception Hi joe It was actually a configuration problem on my part. I had nothing set for "Files to archive". When I addressed this I was able to attach artifacts to the confluence page. You may close this JIRA if you agree. Thanks Sean This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [confluence-publisher] (JENKINS-19028) ERROR: Publisher com.myyearbook.hudson.plugins.confluence.ConfluencePublisher aborted due to exception
Joe Hansche resolved JENKINS-19028 as Postponed ERROR: Publisher com.myyearbook.hudson.plugins.confluence.ConfluencePublisher aborted due to exception I'd like to address this just to avoid the NPE error, and give a more meaningful message in the console. Change By: Joe Hansche (01/Aug/13 6:00 PM) Status: Open Resolved Resolution: Postponed This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.