[JIRA] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-20 Thread slide.o....@gmail.com (JIRA)















































Alex Earl
 closed  JENKINS-17838 as Cannot Reproduce


full build log not in content of email
















Change By:


Alex Earl
(20/May/13 12:53 PM)




Status:


Resolved
Closed



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-16 Thread slide.o....@gmail.com (JIRA)















































Alex Earl
 resolved  JENKINS-17838 as Cannot Reproduce


full build log not in content of email
















Change By:


Alex Earl
(16/May/13 3:57 PM)




Status:


Open
Resolved





Resolution:


CannotReproduce



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-15 Thread slide.o....@gmail.com (JIRA)














































Alex Earl
 commented on  JENKINS-17838


full build log not in content of email















I just tried this again, it looks like because I am running under the Netbeans debugger it causes an issue with running the Maven. When I just run (without the debugger) I am still not able to reproduce this issue with the Maven job. I get the following output in the email that is sent to me. 


Started by user anonymous
Building in workspace /home/USER/Projects/email-ext-plugin/work/workspace/JENKINS-17838
No emails were triggered.
Parsing POMs
[JENKINS-17838] $ java -cp /home/USER/Projects/email-ext-plugin/./work/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.2.jar:/home/USER/Projects/email-ext-plugin/work/tools/hudson.tasks.Maven_MavenInstallation/Default/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /home/USER/Projects/email-ext-plugin/work/tools/hudson.tasks.Maven_MavenInstallation/Default /home/USER/Projects/email-ext-plugin/target/work/webapp/WEB-INF/lib/remoting-2.23.jar /home/USER/Projects/email-ext-plugin/./work/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.2.jar 47250
===[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 /home/USER/Projects/email-ext-plugin/work/workspace/JENKINS-17838/pom.xml test
[INFO] Scanning for projects...
[INFO]
[INFO] 
[INFO] Building foo 1.0
[INFO] 
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ foo ---
[debug] execute contextualize
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/USER/Projects/email-ext-plugin/work/workspace/JENKINS-17838/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ foo ---
[INFO] No sources to compile
[INFO] [debug] execute contextualize
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/USER/Projects/email-ext-plugin/work/workspace/JENKINS-17838/src/test/resources

[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ foo ---
[INFO] [INFO] No sources to compile

[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ foo ---
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ foo ---
[INFO] No tests to run.
[INFO] Surefire report directory: /home/USER/Projects/email-ext-plugin/work/workspace/JENKINS-17838/target/surefire-reports

---
 T E S T S
---

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 7.681s
[INFO] Finished at: Wed May 15 04:37:41 MST 2013
[INFO] Final Memory: 8M/59M
[INFO] 
[JENKINS] Archiving /home/USER/Projects/email-ext-plugin/work/workspace/JENKINS-17838/pom.xml to /home/USER/Projects/email-ext-plugin/work/jobs/JENKINS-17838/modules/foo$foo/builds/2013-05-15_04-37-27/archive/foo/foo/1.0/foo-1.0.pom
Waiting for Jenkins to finish collecting data
channel stopped
Email was triggered for: Success
Sending email for trigger: Success

All done success!




























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 

[JIRA] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-15 Thread gray...@gmail.com (JIRA)














































Alex Gray
 commented on  JENKINS-17838


full build log not in content of email















OK. It looks like you've done your due diligence on this, and if you're OK we can probably close this out. The workaround of attaching the log is more than acceptable.  I noticed that Cloudbees is not using the latest and greatest version of the mail-ext plugin (2.2.8, not 2.2.9), so there may be other issues going on.  Thank you so much for looking into this.  I'll continue trying out some things and if I make any progress I'll update this Jira.  Thanks!



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-09 Thread gray...@gmail.com (JIRA)














































Alex Gray
 commented on  JENKINS-17838


full build log not in content of email















Weird.  I just tried this on a clean windows machine.  I installed Jenkins, created a dummy maven job, and pointed it to the pom that I attached. I didn't even indicate a target.
The only thing I can suggest is to make sure that Manage Jenkins, you specify a Maven Install (I attached a screenshot called mavenInstallation.png which shows a screenshot of my maven configuration.



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-09 Thread gray...@gmail.com (JIRA)














































Alex Gray
 updated  JENKINS-17838


full build log not in content of email
















Change By:


Alex Gray
(09/May/13 7:59 PM)




Attachment:


mavenInstallation.png



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-09 Thread gray...@gmail.com (JIRA)












































 
Alex Gray
 edited a comment on  JENKINS-17838


full build log not in content of email
















Weird.  I just tried this on a clean windows machine.  I installed Jenkins, created a dummy maven job, and pointed it to the pom that I attached. I didn't even indicate a maven target.
The only thing I can suggest is to make sure that under Manage Jenkins, you specify a Maven Install (I attached a screenshot called mavenInstallation.png which shows a screenshot of my maven configuration.)



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-08 Thread gray...@gmail.com (JIRA)














































Alex Gray
 updated  JENKINS-17838


full build log not in content of email
















Change By:


Alex Gray
(08/May/13 8:23 PM)




Attachment:


pom.xml



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-08 Thread gray...@gmail.com (JIRA)














































Alex Gray
 updated  JENKINS-17838


full build log not in content of email
















Change By:


Alex Gray
(08/May/13 8:31 PM)




Attachment:


mavenConfigure.png





Attachment:


mavenProject..png



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-08 Thread gray...@gmail.com (JIRA)














































Alex Gray
 commented on  JENKINS-17838


full build log not in content of email















I added a dummy pom.xml to this jar. In Jenkins create a new "Maven project" (I attached a screenshot of creating this type of project).  I don't know if you need a plugin to create a Maven project, or if it comes out-of-the-box-Jenkins.

In the configuration of the job, point it to the pom.xml and select "test" as the target (I've attached a screenshot of this too).

The build will fail, since there are no sources, but it doesn't have to pass to reproduce this problem.

When you build it, the text on the console will have something like:
==
blah blah blah
blah ===JENKINS REMOTING CAPACITY===
blah blah blah
Failure
==
The message body will only contain stuff above the "Jenkins Remoting Capacity" text.

On a side note, I'm also going to try to get rid of one other variable: Cloudbees.  I'm going to install Jenkins locally on my machine and try to reproduce this.  I'm more and more convinced that it has to do with how Jenkins Cloudbees handles the console text.  The reason I say this is because if I just try to echo out the contents of the console text, it works fine.

I will let you know my results.



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-08 Thread slide.o....@gmail.com (JIRA)














































Alex Earl
 commented on  JENKINS-17838


full build log not in content of email















I am getting the following: 

Started by user anonymous
Building in workspace /home/user/Projects/email-ext-plugin/work/workspace/JENKINS-17838
No emails were triggered.
Parsing POMs
JENKINS-17838 $ java -Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=47661 -cp /home/user/Projects/email-ext-plugin/./work/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.2.jar:/home/user/bin/apache-maven-3.0.5/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /home/user/bin/apache-maven-3.0.5 /home/user/Projects/email-ext-plugin/target/work/webapp/WEB-INF/lib/remoting-2.23.jar /home/user/Projects/email-ext-plugin/./work/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.2.jar 40854
ERROR: transport error 202: connect failed: Connection refused
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized ../../../src/share/back/debugInit.c:741
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)

Not sure what the issue is...



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-07 Thread gray...@gmail.com (JIRA)














































Alex Gray
 commented on  JENKINS-17838


full build log not in content of email















I looked at the raw source of the email and the content is not there.
Also, I did a free style build (instead of a maven build), and the entire contents of the log gets displayed in the body of the email.
In other words, this works for free style projects: ${BUILD_LOG, maxLines=, escapeHtml=false}
But not for maven builds.

Hope this helps.



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-07 Thread slide.o....@gmail.com (JIRA)














































Alex Earl
 commented on  JENKINS-17838


full build log not in content of email















Hmmm, I have very little experience with Maven projects, so I don't know how they are different if at all. Do you know the class of the Maven project, I can look if it does log stuff differently.



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-07 Thread gray...@gmail.com (JIRA)














































Alex Gray
 commented on  JENKINS-17838


full build log not in content of email















No problem!  When I get to work tomorrow I'll create some detailed steps to reproduce this problem.
One other piece to the puzzle is that I'm using Cloudbees Jenkins, which means that the slaves are dynamically provisioned to run a build.
I don't know if that bit of information is useful or not, but I thought I'd let you know.



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-06 Thread slide.o....@gmail.com (JIRA)














































Alex Earl
 commented on  JENKINS-17838


full build log not in content of email















Can you view the source of the email? I'm wondering if the content is there, but there are   in the content which is causing it to be read as HTML. This would explain also why the content you have after is not showing up.



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-02 Thread gray...@gmail.com (JIRA)














































Alex Gray
 created  JENKINS-17838


full build log not in content of email















Issue Type:


Bug



Assignee:


Alex Earl



Attachments:


email-ext.png



Components:


email-ext



Created:


02/May/13 3:26 PM



Description:


I am using email-ext 2.28.
In my default content section I add:
${BUILD_LOG, maxLines=, escapeHtml=false}
All done default!

And in my Success Trigger I have:
${BUILD_LOG, maxLines=, escapeHtml=false}
All done success!

When I run the maven build I get an email with the following contents:
===
Started by user Alex Gray
Building remotely on s-9aedb7d1 in workspace /scratch/jenkins/workspace/foo
Checkout:foo / /scratch/jenkins/workspace/foo - hudson.remoting.Channel@18eddc0a:s-9aedb7d1
Using strategy: Default
Last Built Revision: Revision d68fcab0bd077e2e4969819195c163863635ae80 (origin/master) Wiping out workspace first.
Cloning the remote Git repository
Cloning repository g...@bitbucket.org:foo/foo.git
git --version
git version 1.7.11.7
Fetching upstream changes from origin
Commencing build of Revision d68fcab0bd077e2e4969819195c163863635ae80 (origin/master) Checking out Revision d68fcab0bd077e2e4969819195c163863635ae80 (origin/master) No emails were triggered.
Parsing POMs
vxmlGen $ /opt/jdk/jdk1.7.latest/bin/java -cp /scratch/jenkins/maven3-agent.jar:/opt/maven/apache-maven-3.0.3/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /opt/maven/apache-maven-3.0.3 /scratch/jenkins/slave.jar /scratch/jenkins/maven3-interceptor.jar 56024 ===JENKINS REMOTING CAPACITY===
===

Notice the following:
1) The email does not have the entire log output.  It looks like the email-ext plugin things the log file ends at "JENKINS REMOTING CAPACITY".
2) Notice that the text "All done default!" or "All done success!" is not in the message body.

I've attached a screenshot of all the options I am using for the email-ext plugin.

Is there a workaround? Maybe use the regex to include .* as the build?

Thanks!




Project:


Jenkins



Priority:


Major



Reporter:


Alex Gray

























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-02 Thread slide.o....@gmail.com (JIRA)














































Alex Earl
 commented on  JENKINS-17838


full build log not in content of email















Why not just attach the build log?



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-02 Thread gray...@gmail.com (JIRA)














































Alex Gray
 commented on  JENKINS-17838


full build log not in content of email















My sentiments exactly.  That's how I had it working originally, but the developer wanted it in the message body, which is why I tried to do it.
If it was up to me, I would attach it.  I can push back on his request if needed.



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-02 Thread slide.o....@gmail.com (JIRA)














































Alex Earl
 commented on  JENKINS-17838


full build log not in content of email















Is anything written to the Jenkins log? 



























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] [email-ext] (JENKINS-17838) full build log not in content of email

2013-05-02 Thread gray...@gmail.com (JIRA)














































Alex Gray
 commented on  JENKINS-17838


full build log not in content of email















Unfortunately I don't see anything suspicious in the logs. (ie no exceptions, no errors, no info) related to this.
This leads me to believe it's "working", but not in the way I would expect it to.
I'm also going to try free-style project, to see if it's just something weird with maven projects.



























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.