RE: M2 Release Plugin configuration does NOT appear in my job
HI Eric, The plugin only works with the m2/3 job type - so this is expected[1]. Regards, /James [1] https://wiki.jenkins-ci.org/display/JENKINS/M2+Release+Plugin From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Eric Turley Sent: 08 April 2013 17:55 To: jenkinsci-users@googlegroups.com Subject: Re: M2 Release Plugin configuration does NOT appear in my job Update: Creating a new Job from the maven2/3 project template *DOES* provide the option. However, creating a new free-style job does not. More importantly, editing a job I currently have (which is building via maven as a build step) does *NOT* provide the option. On Monday, April 8, 2013 11:50:16 AM UTC-5, Eric Turley wrote: I've installed the plugin, and restarted Jenkins. But for both existing and new jobs, my Build Environment section does not contain the Maven release build option as indicated at https://wiki.jenkins-ci.org/display/JENKINS/M2+Release+Plugin What am I missing? Here's a pic of the job I'm trying to build. [Image removed by sender.]https://lh3.googleusercontent.com/-1grB4oAIJ0k/UWL08wzhcSI/BZw/NoPY0vmQ5TM/s1600/M2ReleasePlugin.JPG Thanks -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. inline: image001.jpg
Re: email-ext groovy script groovy-html.template does not display
i am receiving email on the same host as jenkins ALSO, the jelly script DOES work, with URL: IMG SRC=${rooturl}static/e59dfe28/images/32x32/red.gif / but not the Groovy script , with the same URL, for yellow.gif From: Alex Earl slide.o@gmail.com To: Kamal Ahmed kamalah...@yahoo.com; jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com Sent: Monday, April 8, 2013 8:22 PM Subject: RE: email-ext groovy script groovy-html.template does not display the yellow, red and blue buttons MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=942553102-1508715359-1365465321=:85628 --942553102-1508715359-1365465321=:85628 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Is Jenkins running on the machine you are receiving emails on? If not, you may want to set a better URL in the global config. Sent from my Windows Phone From: Kamal Ahmed Sent: 4/8/2013 16:55 To: jenkinsci-users@googlegroups.com Subject: Re: email-ext groovy script groovy-html.template does not display the yellow, red and blue buttons i can access the blue ball with http://localhost:9000/static/e59dfe28/image= s/32x32/blue.gif From: Slide slide.o@gmail.com To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com= =20 Sent: Monday, April 8, 2013 6:38 PM Subject: Re: email-ext groovy script groovy-html.template does not display= the yellow, red and blue buttons =20 Can you browse to the URL that is contained in the email body and have it = show the image? On Mon, Apr 8, 2013 at 3:19 PM, Kamal Ahmed kamalah...@yahoo.com wro= te: I tried with: TABLE =C2=A0 TRTD align=3DrightIMG SRC=3D${build.HUDSON_HOME}/images/32= x32/%=3D build.result.toString() =3D=3D 'SUCCESS' ? blue.png : build.res= ult.toString() =3D=3D 'FAILURE' ? 'red.png' : 'yellow.png' % / after moving the images folder to $JENKINS_HOME/images/ But in the email, i still dont see the buttons. originally, it was : TABLE =C2=A0 TRTD align=3DrightIMG SRC=3D${rooturl}static/e59dfe28/imag= es/32x32/%=3D build.result.toString() =3D=3D 'SUCCESS' ? blue.gif : buil= d.result.toString() =3D=3D 'FAILURE' ? 'red.gif' : 'yellow.gif' % / but those did not work wither. Any ideas ? Thanks, -Kamal. --=20 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. =C2=A0 =C2=A0 --=20 Website:=C2=A0http://earl-of-code.com=20 --=20 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. =C2=A0 =C2=A0 --=20 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 e= mail to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. --942553102-1508715359-1365465321=:85628 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable htmlbodyhtmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-e= quiv=3DContent-Type/headbodydivdiv style=3Dfont-family: Calibri,= sans-serif; font-size: 11pt;Is Jenkins running on the machine you are rec= eiving emails on? If not, you may want to set a better URL in the global co= nfig.brbrSent from my Windows Phonebr/div/divhrspan style=3Df= ont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;From: = /spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;Kama= l Ahmed/spanbrspan style=3Dfont-family: Tahoma,sans-serif; font-size:= 10pt; font-weight: bold;Sent: /spanspan style=3Dfont-family: Tahoma,= sans-serif; font-size: 10pt;4/8/2013 16:55/spanbrspan style=3Dfont-= family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;To: /span= span style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;jenkinsci-= us...@googlegroups.com/spanbrspan style=3Dfont-family: Tahoma,sans-se= rif; font-size: 10pt; font-weight: bold;Subject: /spanspan style=3Dfo= nt-family: Tahoma,sans-serif; font-size: 10pt;Re: email-ext groovy script= groovy-html.template does not display the yellow, red and blue buttons/sp= anbrbr/body/htmldiv style=3Dcolor:#000; background-color:#fff; f= ont-family:verdana, helvetica, sans-serif;font-size:10pti can access the = blue ball with http://localhost:9000/static/e59dfe28/images/32x32/blue.gif= brbrdivspanbr/span/divdivbrblockquote style=3Dborder-lef= t: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-l= eft: 5px; div style=3Dfont-family: verdana, helvetica, sans-serif; fon=
RE: email-ext groovy script groovy-html.template does not display
Double check the generated html. Sent from my Windows Phone -- From: Kamal Ahmed Sent: 4/9/2013 4:40 To: jenkinsci-users@googlegroups.com Subject: Re: email-ext groovy script groovy-html.template does not display i am receiving email on the same host as jenkins ALSO, the jelly script DOES work, with URL: IMG SRC=${rooturl}static/e59dfe28/images/32x32/red.gif / but not the Groovy script , with the same URL, for yellow.gif -- *From:* Alex Earl slide.o@gmail.com *To:* Kamal Ahmed kamalah...@yahoo.com; jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com *Sent:* Monday, April 8, 2013 8:22 PM *Subject:* RE: email-ext groovy script groovy-html.template does not display the yellow, red and blue buttons MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=942553102-1508715359-1365465321=:85628 --942553102-1508715359-1365465321=:85628 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Is Jenkins running on the machine you are receiving emails on? If not, you may want to set a better URL in the global config. Sent from my Windows Phone From: Kamal Ahmed Sent: 4/8/2013 16:55 To: jenkinsci-users@googlegroups.com Subject: Re: email-ext groovy script groovy-html.template does not display the yellow, red and blue buttons i can access the blue ball with http://localhost:9000/static/e59dfe28/image= s/32x32/blue.gif From: Slide slide.o@gmail.com To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com= =20 Sent: Monday, April 8, 2013 6:38 PM Subject: Re: email-ext groovy script groovy-html.template does not display= the yellow, red and blue buttons =20 Can you browse to the URL that is contained in the email body and have it = show the image? On Mon, Apr 8, 2013 at 3:19 PM, Kamal Ahmed kamalah...@yahoo.com wro= te: I tried with: TABLE =C2=A0 TRTD align=3DrightIMG SRC=3D${build.HUDSON_HOME}/images/32= x32/%=3D build.result.toString() =3D=3D 'SUCCESS' ? blue.png : build.res= ult.toString() =3D=3D 'FAILURE' ? 'red.png' : 'yellow.png' % / after moving the images folder to $JENKINS_HOME/images/ But in the email, i still dont see the buttons. originally, it was : TABLE =C2=A0 TRTD align=3DrightIMG SRC=3D${rooturl}static/e59dfe28/imag= es/32x32/%=3D build.result.toString() =3D=3D 'SUCCESS' ? blue.gif : buil= d.result.toString() =3D=3D 'FAILURE' ? 'red.gif' : 'yellow.gif' % / but those did not work wither. Any ideas ? Thanks, -Kamal. --=20 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. =C2=A0 =C2=A0 --=20 Website:=C2=A0http://earl-of-code.com=20 --=20 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. =C2=A0 =C2=A0 --=20 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 e= mail to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. --942553102-1508715359-1365465321=:85628 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable htmlbodyhtmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-e= quiv=3DContent-Type/headbodydivdiv style=3Dfont-family: Calibri,= sans-serif; font-size: 11pt;Is Jenkins running on the machine you are rec= eiving emails on? If not, you may want to set a better URL in the global co= nfig.brbrSent from my Windows Phonebr/div/divhrspan style=3Df= ont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;From: = /spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;Kama= l Ahmed/spanbrspan style=3Dfont-family: Tahoma,sans-serif; font-size:= 10pt; font-weight: bold;Sent: /spanspan style=3Dfont-family: Tahoma,= sans-serif; font-size: 10pt;4/8/2013 16:55/spanbrspan style=3Dfont-= family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;To: /span= span style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;jenkinsci-= us...@googlegroups.com/spanbrspan style=3Dfont-family: Tahoma,sans-se= rif; font-size: 10pt; font-weight: bold;Subject: /spanspan style=3Dfo= nt-family: Tahoma,sans-serif; font-size: 10pt;Re: email-ext groovy script= groovy-html.template does not display the yellow, red and blue buttons/sp= anbrbr/body/htmldiv style=3Dcolor:#000; background-color:#fff; f= ont-family:verdana, helvetica, sans-serif;font-size:10pti can access the = blue ball with
Re: Jenkins / Flexmojos 4.0-RC2 issue (Error: null)
spaces in the path (caused by spaces in the job name)? This is known to cause issues with some flaky maven mojos (although not used flexmojos...) and would be worthwhile ruling out. Writing configuration dump to C:\Jenkins\workspace\Common presentation - DEV\target\common-presentation-4.3-SNAPSHOT-configs.xml Error: null mojoFailed org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2(default-compile-swc) projectFailed be.vanhoecke.common:common-presentation:4.3-SNAPSHOT sessionEnded [INFO] [INFO] BUILD FAILURE [INFO] On Tuesday, 9 April 2013 14:03:47 UTC+1, Bert Vandamme wrote: Hi, This is probably not a Jenkins issue, but someone else might have run into a similar issue, hence this post... A couple of days ago one of the jobs on our buildserver started failing, which as odd because the same build on our local dev machines worked just fine. (both are build with the same maven script) As you can see in the attached log file, the build fails with a not very helpful exception (Error: null, line 4120 in the attached log file) after writing the configuration dump. The exact same project builds just fine when ran outside of the Jenkins workspace folder on that same server. Disabling the jenkins service (to prevent any folder locking) does not make a difference. So far I've updated the maven version (3.0.5), the java jdk (1.7) and jenkins (latest version) to rule out any problems on those domains, but had no success so far. The problem folder has all necessary rights as well... *System info (logfile extract):* Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100) Maven home: C:\Programs\Apache\Maven\3.0.5 Java version: 1.7.0_17, vendor: Oracle Corporation Java home: C:\Program Files\Java\jre7 Default locale: en_US, platform encoding: Cp1252 OS name: windows server 2008, version: 6.0, arch: x86, family: windows Does this kind of issue ring a bell for anyone? Any pointers? Thx! Bert -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Jenkins / Flexmojos 4.0-RC2 issue (Error: null)
Hi, Thanks for your quick reply, but I considered the spaces in the path and job name though. That doesn't seem to be the issue since the exact same project (and folder) built on a different location (e.g. C:\Jenkins\workspaze) works just fine, while building on the default location (C:\Jenkins\workspace) doesn't (tested both with jenkins not even running...) Cheers, Bert On Tuesday, 9 April 2013 15:27:12 UTC+2, teilo wrote: spaces in the path (caused by spaces in the job name)? This is known to cause issues with some flaky maven mojos (although not used flexmojos...) and would be worthwhile ruling out. Writing configuration dump to C:\Jenkins\workspace\Common presentation - DEV\target\common-presentation-4.3-SNAPSHOT-configs.xml Error: null mojoFailed org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2(default-compile-swc) projectFailed be.vanhoecke.common:common-presentation:4.3-SNAPSHOT sessionEnded [INFO] [INFO] BUILD FAILURE [INFO] On Tuesday, 9 April 2013 14:03:47 UTC+1, Bert Vandamme wrote: Hi, This is probably not a Jenkins issue, but someone else might have run into a similar issue, hence this post... A couple of days ago one of the jobs on our buildserver started failing, which as odd because the same build on our local dev machines worked just fine. (both are build with the same maven script) As you can see in the attached log file, the build fails with a not very helpful exception (Error: null, line 4120 in the attached log file) after writing the configuration dump. The exact same project builds just fine when ran outside of the Jenkins workspace folder on that same server. Disabling the jenkins service (to prevent any folder locking) does not make a difference. So far I've updated the maven version (3.0.5), the java jdk (1.7) and jenkins (latest version) to rule out any problems on those domains, but had no success so far. The problem folder has all necessary rights as well... *System info (logfile extract):* Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100) Maven home: C:\Programs\Apache\Maven\3.0.5 Java version: 1.7.0_17, vendor: Oracle Corporation Java home: C:\Program Files\Java\jre7 Default locale: en_US, platform encoding: Cp1252 OS name: windows server 2008, version: 6.0, arch: x86, family: windows Does this kind of issue ring a bell for anyone? Any pointers? Thx! Bert -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: email-ext groovy script groovy-html.template does not display
Alex, I am not sure where i can check the html, that is generated from the groovy, or jelly script. Could you give me a hint perhaps ? Thanks, -Kamal. From: Alex Earl slide.o@gmail.com To: Kamal Ahmed kamalah...@yahoo.com; jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com Sent: Tuesday, April 9, 2013 9:12 AM Subject: RE: email-ext groovy script groovy-html.template does not display Double check the generated html. Sent from my Windows Phone From: Kamal Ahmed Sent: 4/9/2013 4:40 To: jenkinsci-users@googlegroups.com Subject: Re: email-ext groovy script groovy-html.template does not display i am receiving email on the same host as jenkins ALSO, the jelly script DOES work, with URL: IMG SRC=${rooturl}static/e59dfe28/images/32x32/red.gif / but not the Groovy script , with the same URL, for yellow.gif From: Alex Earl slide.o@gmail.com To: Kamal Ahmed kamalah...@yahoo.com; jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com Sent: Monday, April 8, 2013 8:22 PM Subject: RE: email-ext groovy script groovy-html.template does not display the yellow, red and blue buttons MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=942553102-1508715359-1365465321=:85628 --942553102-1508715359-1365465321=:85628 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Is Jenkins running on the machine you are receiving emails on? If not, you may want to set a better URL in the global config. Sent from my Windows Phone From: Kamal Ahmed Sent: 4/8/2013 16:55 To: jenkinsci-users@googlegroups.com Subject: Re: email-ext groovy script groovy-html.template does not display the yellow, red and blue buttons i can access the blue ball with http://localhost:9000/static/e59dfe28/image= s/32x32/blue.gif From: Slide slide.o@gmail.com To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com= =20 Sent: Monday, April 8, 2013 6:38 PM Subject: Re: email-ext groovy script groovy-html.template does not display= the yellow, red and blue buttons =20 Can you browse to the URL that is contained in the email body and have it = show the image? On Mon, Apr 8, 2013 at 3:19 PM, Kamal Ahmed kamalah...@yahoo.com wro= te: I tried with: TABLE =C2=A0 TRTD align=3DrightIMG SRC=3D${build.HUDSON_HOME}/images/32= x32/%=3D build.result.toString() =3D=3D 'SUCCESS' ? blue.png : build.res= ult.toString() =3D=3D 'FAILURE' ? 'red.png' : 'yellow.png' % / after moving the images folder to $JENKINS_HOME/images/ But in the email, i still dont see the buttons. originally, it was : TABLE =C2=A0 TRTD align=3DrightIMG SRC=3D${rooturl}static/e59dfe28/imag= es/32x32/%=3D build.result.toString() =3D=3D 'SUCCESS' ? blue.gif : buil= d.result.toString() =3D=3D 'FAILURE' ? 'red.gif' : 'yellow.gif' % / but those did not work wither. Any ideas ? Thanks, -Kamal. --=20 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. =C2=A0 =C2=A0 --=20 Website:=C2=A0http://earl-of-code.com=20 --=20 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. =C2=A0 =C2=A0 --=20 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 e= mail to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. --942553102-1508715359-1365465321=:85628 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable htmlbodyhtmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-e= quiv=3DContent-Type/headbodydivdiv style=3Dfont-family: Calibri,= sans-serif; font-size: 11pt;Is Jenkins running on the machine you are rec= eiving emails on? If not, you may want to set a better URL in the global co= nfig.brbrSent from my Windows Phonebr/div/divhrspan style=3Df= ont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;From: = /spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;Kama= l Ahmed/spanbrspan style=3Dfont-family: Tahoma,sans-serif; font-size:= 10pt; font-weight: bold;Sent: /spanspan style=3Dfont-family: Tahoma,= sans-serif; font-size: 10pt;4/8/2013 16:55/spanbrspan style=3Dfont-= family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;To: /span= span style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;jenkinsci-=
Re: Jenkins / Flexmojos 4.0-RC2 issue (Error: null)
Update: I was able to fix the issue by renaming the problem folder/job from C:\Jenkins\workspace\Common presentation - DEV to C:\Jenkins\workspace\Common *P*resentation - DEV If any can demystify this for me, that would be greatly appreciated... Cheers, Bert On Tuesday, 9 April 2013 15:42:12 UTC+2, Bert Vandamme wrote: Hi, Thanks for your quick reply, but I considered the spaces in the path and job name though. That doesn't seem to be the issue since the exact same project (and folder) built on a different location (e.g. C:\Jenkins\workspaze) works just fine, while building on the default location (C:\Jenkins\workspace) doesn't (tested both with jenkins not even running...) Cheers, Bert On Tuesday, 9 April 2013 15:27:12 UTC+2, teilo wrote: spaces in the path (caused by spaces in the job name)? This is known to cause issues with some flaky maven mojos (although not used flexmojos...) and would be worthwhile ruling out. Writing configuration dump to C:\Jenkins\workspace\Common presentation - DEV\target\common-presentation-4.3-SNAPSHOT-configs.xml Error: null mojoFailed org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2(default-compile-swc) projectFailed be.vanhoecke.common:common-presentation:4.3-SNAPSHOT sessionEnded [INFO] [INFO] BUILD FAILURE [INFO] On Tuesday, 9 April 2013 14:03:47 UTC+1, Bert Vandamme wrote: Hi, This is probably not a Jenkins issue, but someone else might have run into a similar issue, hence this post... A couple of days ago one of the jobs on our buildserver started failing, which as odd because the same build on our local dev machines worked just fine. (both are build with the same maven script) As you can see in the attached log file, the build fails with a not very helpful exception (Error: null, line 4120 in the attached log file) after writing the configuration dump. The exact same project builds just fine when ran outside of the Jenkins workspace folder on that same server. Disabling the jenkins service (to prevent any folder locking) does not make a difference. So far I've updated the maven version (3.0.5), the java jdk (1.7) and jenkins (latest version) to rule out any problems on those domains, but had no success so far. The problem folder has all necessary rights as well... *System info (logfile extract):* Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100) Maven home: C:\Programs\Apache\Maven\3.0.5 Java version: 1.7.0_17, vendor: Oracle Corporation Java home: C:\Program Files\Java\jre7 Default locale: en_US, platform encoding: Cp1252 OS name: windows server 2008, version: 6.0, arch: x86, family: windows Does this kind of issue ring a bell for anyone? Any pointers? Thx! Bert -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to order plugins
You can change the ordinal: @Extension(ordinal = 100) See JavaDoc of Extension for details. BTW: Please use the dev list for such questions… Ulli Am 09.04.2013 um 14:48 schrieb Bharathi Ramalingam ramalingam.bhara...@gmail.com: Hi All, I'm developing a build wrapper plugin which depends on the Builds user var plugin https://wiki.jenkins-ci.org/display/JENKINS/Build+User+Vars+Plugin to set few environment variables for the build. I have installed the plugin and when a job runs, My plugin is being executed first and then Builds user vars plugin, and its obviously results in failure. How do I make sure the order of build wrappers? Thanks, -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Jenkins Build Failure
I am running Jenkins (v1.435) on CentOS and am running into the following issue while attempting to build one of my projects: Executing Maven: -B -f /var/lib/jenkins/jobs/NewProject/workspace/pom.xml install [INFO] Scanning for projects... [INFO] [INFO] Building Unnamed - com.NewProject:jar:0.0.1-SNAPSHOT [INFO]task-segment: [install] [INFO] [INFO] *[cxf-codegen:wsdl2java {execution: generate-sources}]* log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter). log4j:WARN Please initialize the log4j system properly. [INFO] *[resources:resources {execution: default-resources}]*[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 24 resources [INFO] *[compiler:compile {execution: default-compile}]*[INFO] Compiling 41 source files to /var/lib/jenkins/jobs/NewProject/workspace/target/classes [JENKINS] Archiving /var/lib/jenkins/jobs/NewProject/workspace/pom.xml to /var/lib/jenkins/jobs/NewProject/modules/com/NewProject/builds/2013-04-09_13-18-25/archive/com/NewProject/0.0.1-SNAPSHOT/NewProject-0.0.1-SNAPSHOT.pom [INFO] [ERROR] BUILD FAILURE[INFO] [INFO] Compilation failure Unable to locate the Javac Compiler in: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/tools.jar Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 19 seconds [INFO] Finished at: Tue Apr 09 13:18:52 EDT 2013 [INFO] Final Memory: 29M/69M [INFO] Waiting for Jenkins to finish collecting data channel stopped Finished: FAILURE I am not sure why this build is failing. I have installed OpenJDK as specified here https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+RedHat+distributions which created the the following symbolic links: [root@dtis-jenkins ~]# ls -lah /usr/bin/java lrwxrwxrwx. 1 root root 22 Apr 9 13:17 /usr/bin/java - /etc/alternatives/java [root@dtis-jenkins ~]# ls -lah /etc/alternatives/java lrwxrwxrwx. 1 root root 46 Apr 9 13:17 /etc/alternatives/java - /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java Does anyone have any idea what is going on here? Thanks in advance! -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
RE: Jenkins Build Failure
Could the problem be you installed jre-1.6.0 and its looking for jdk-1.6.0? From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Scott Hoenigman Sent: Tuesday, April 09, 2013 2:53 PM To: jenkinsci-users@googlegroups.com Subject: Jenkins Build Failure I am running Jenkins (v1.435) on CentOS and am running into the following issue while attempting to build one of my projects: Executing Maven: -B -f /var/lib/jenkins/jobs/NewProject/workspace/pom.xml install [INFO] Scanning for projects... [INFO] [INFO] Building Unnamed - com.NewProject:jar:0.0.1-SNAPSHOT [INFO]task-segment: [install] [INFO] [INFO] [cxf-codegen:wsdl2java {execution: generate-sources}] log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter). log4j:WARN Please initialize the log4j system properly. [INFO] [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 24 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 41 source files to /var/lib/jenkins/jobs/NewProject/workspace/target/classes [JENKINS] Archiving /var/lib/jenkins/jobs/NewProject/workspace/pom.xml to /var/lib/jenkins/jobs/NewProject/modules/com/NewProject/builds/2013-04-09_13-18-25/archive/com/NewProject/0.0.1-SNAPSHOT/NewProject-0.0.1-SNAPSHOT.pom [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure Unable to locate the Javac Compiler in: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/tools.jar Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 19 seconds [INFO] Finished at: Tue Apr 09 13:18:52 EDT 2013 [INFO] Final Memory: 29M/69M [INFO] Waiting for Jenkins to finish collecting data channel stopped Finished: FAILURE I am not sure why this build is failing. I have installed OpenJDK as specified herehttps://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+RedHat+distributions which created the the following symbolic links: [root@dtis-jenkins ~]# ls -lah /usr/bin/java lrwxrwxrwx. 1 root root 22 Apr 9 13:17 /usr/bin/java - /etc/alternatives/java [root@dtis-jenkins ~]# ls -lah /etc/alternatives/java lrwxrwxrwx. 1 root root 46 Apr 9 13:17 /etc/alternatives/java - /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java Does anyone have any idea what is going on here? Thanks in advance! -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Want to create Jenkins user login, but name already exists
Problem: I want to add a user to the Jenkins user list to give him job control in Jenkins, but Jenkins tells me the user already exists. The login ID I want to create is not in the list shown in the Manage Users page. Background: Using Jenkins 1.492 on Windows with Perforce (version control) plugin. The user in question has been submitting Perforce change lists for awhile and they have been included in CI job runs, When I saw the error message, I had the feeling that the user account name I was trying to create may already exist because the ID is the same as that user's Perforce login ID. I clicked on the People link on the main page, but after 10 minutes or so, the page shows Aborted in the progress bar. Tried several times with same result. If the display of people ever finished, what would I do then to create the desired Jenkins login ID? Thanks! Richard -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Jenkins Build Failure
Yes... it seems that when you install OpenJDK as specified on https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+RedHat+distributionshttp://wiki.jenkinsit for some reason installs only the JRE. I had to do the following to get it to work: yum remove java then yum install java-1.6.0-openjdk-devel.x86_64 and now my builds do not fail anymore... Nice! On Tuesday, April 9, 2013 3:00:42 PM UTC-4, Stanley, Jason wrote: Could the problem be you installed jre-1.6.0 and its looking for jdk-1.6.0? *From:* jenkins...@googlegroups.com javascript: [mailto: jenkins...@googlegroups.com javascript:] *On Behalf Of *Scott Hoenigman *Sent:* Tuesday, April 09, 2013 2:53 PM *To:* jenkins...@googlegroups.com javascript: *Subject:* Jenkins Build Failure I am running Jenkins (v1.435) on CentOS and am running into the following issue while attempting to build one of my projects: Executing Maven: -B -f /var/lib/jenkins/jobs/NewProject/workspace/pom.xml install [INFO] Scanning for projects... [INFO] [INFO] Building Unnamed - com.NewProject:jar:0.0.1-SNAPSHOT [INFO]task-segment: [install] [INFO] [INFO] *[cxf-codegen:wsdl2java {execution: generate-sources}]* log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter). log4j:WARN Please initialize the log4j system properly. [INFO] *[resources:resources {execution: default-resources}]* [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 24 resources [INFO] *[compiler:compile {execution: default-compile}]* [INFO] Compiling 41 source files to /var/lib/jenkins/jobs/NewProject/workspace/target/classes [JENKINS] Archiving /var/lib/jenkins/jobs/NewProject/workspace/pom.xml to /var/lib/jenkins/jobs/NewProject/modules/com/NewProject/builds/2013-04-09_13-18-25/archive/com/NewProject/0.0.1-SNAPSHOT/NewProject-0.0.1-SNAPSHOT.pom [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure Unable to locate the Javac Compiler in: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/tools.jar Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 19 seconds [INFO] Finished at: Tue Apr 09 13:18:52 EDT 2013 [INFO] Final Memory: 29M/69M [INFO] Waiting for Jenkins to finish collecting data channel stopped Finished: FAILURE I am not sure why this build is failing. I have installed OpenJDK as specified here https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+RedHat+distributions which created the the following symbolic links: [root@dtis-jenkins ~]# ls -lah /usr/bin/java lrwxrwxrwx. 1 root root 22 Apr 9 13:17 /usr/bin/java - /etc/alternatives/java [root@dtis-jenkins ~]# ls -lah /etc/alternatives/java lrwxrwxrwx. 1 root root 46 Apr 9 13:17 /etc/alternatives/java - /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java Does anyone have any idea what is going on here? Thanks in advance! -- 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 jenkinsci-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: java.lang.NullPointerException when loading folders
Cheers for the info Vincent. Appreciate it. Josh On Monday, 8 April 2013 16:10:58 UTC+1, Vincent Latombe wrote: Hello, it's a regression that happened in 1.507 in core. I believe it has been fixed in master but to be released in 1.511. Also, I know that cloudbees did a 3.6 release of Folder plugin to fix the issue as well, it should appear soon on update center. Vincent 2013/4/8 Joshua Sinfield joshuas...@googlemail.com javascript: I've just upgraded our jenkins to 1.509 and am also experience this issue. I've tried version 3.4 3.5 of the Folder plugin. Both versions work with 1.504. Josh On Thursday, 4 April 2013 23:26:58 UTC+1, Laurent Nicolas wrote: After upgrading to 1.509 and also upgrading a bunch of plugins, I'm seeing: Apr 4, 2013 3:16:02 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job stats at com.cloudbees.hudson.plugins.**folder.Folder.getItem(Folder.* *java:465) at com.cloudbees.hudson.plugins.**folder.Folder.getItem(Folder.* *java:90) at hudson.model.AbstractProject.**onLoad(AbstractProject.java:** 291) at hudson.model.Project.onLoad(**Project.java:83) at hudson.model.Items.load(Items.**java:221) at hudson.model.ItemGroupMixIn.**loadChildren(ItemGroupMixIn.** java:99) at com.cloudbees.hudson.plugins.**folder.Folder.onLoad(Folder.** java:189) at hudson.model.Items.load(Items.**java:221) at jenkins.model.Jenkins$17.run(**Jenkins.java:2553) at org.jvnet.hudson.reactor.**TaskGraphBuilder$TaskImpl.run(** TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.**Reactor.runTask(Reactor.java:** 259) at jenkins.model.Jenkins$7.**runTask(Jenkins.java:887) at org.jvnet.hudson.reactor.**Reactor$2.run(Reactor.java:**187) at org.jvnet.hudson.reactor.**Reactor$Node.run(Reactor.java:** 94) at java.util.concurrent.**ThreadPoolExecutor.runWorker(** ThreadPoolExecutor.java:1110) at java.util.concurrent.**ThreadPoolExecutor$Worker.run(** ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.**java:636) stats is a folder here. Any idea what could go wrong, and if I can manually fix the error. I tried downgrading the folder plugin, but it does not help. -- 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 jenkinsci-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Store build meta data in a db
Problem: I want to store build metadata in a db, things like Job and its build history details like The build number, time it started, time it ended, whether it succeeded, where the artiifacts are stored, wheather it has been promoted, its svn tag details, etc... Other tools like our automated testing framework will feed off these data in the DB and run their tests and update their corresponding table (which will be linked to the build history table by foreign key) with the results. Please let me know how i can achieve this in Jenkins. Thanks Ipoo Doh -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to order plugins
Thanks a lot Ulli. That helps. On Tuesday, April 9, 2013 8:33:22 PM UTC+5:30, Ullrich Hafner wrote: You can change the ordinal: @Extension(ordinal = 100) See JavaDoc of Extension for details. BTW: Please use the dev list for such questions… Ulli Am 09.04.2013 um 14:48 schrieb Bharathi Ramalingam ramalinga...@gmail.comjavascript: : Hi All, I'm developing a build wrapper plugin which depends on the Builds user var plugin https://wiki.jenkins-ci.org/display/JENKINS/Build+User+Vars+Plugin to set few environment variables for the build. I have installed the plugin and when a job runs, My plugin is being executed first and then Builds user vars plugin, and its obviously results in failure. How do I make sure the order of build wrappers? Thanks, -- 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 jenkinsci-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.