Re: Jenkins, SonarQube, and PHP
Hi. You have not said what platform you have installed it on, but it does not matter as much. If you use the Jenkins plugin then the runner is not important, as there is two ways to configure SonarQube integration. You just install the Jenkins and configure plugin, add to either a build stop or post build step to your Jenkins build and your done. That's all we had to do with our linux build slaves as they came with Maven and most stuff required out of the box. Windows we use the runner, as its windows so comes with nothing. Been using SonarQube with Jenkins for 3 to 4 years with no real issues. -- 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/d/optout.
CI Policy
I'm trying to setup policies for developers and build and release engineer to follow. I don't know how to start and what are main things to include. If you guys can give me any suggestions or if you have any samples, i will really appreciate that. Thank you -- 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/d/optout.
Re: Dependencies of classes between two subversion checkouts (MsBuild)
The Jenkins subversion plugin allows you to checkout more than one repository folder into multiple workspace locations. Obviously they should not overlap because subversion will not like that at all. On 10 October 2014 16:51, Menos II wrote: > Hello again. > > I am glad to say I managed to fix the previous issue I had with the help > of this usergroup. Sadly I ran into a new issue. > > Our development enviroment had dependencies between two subversion folders > (MX and Shared), one of which has shared classes. While running MsBuild, > Jenkins is trying to compile a class that uses a shared class. at the > current stage it only has a checkout of the MX. It has compiled Shared > before, but apparently has switched to MX to start building with MsBuild. > In our standard development enviroment we have the two folders, shared and > MX, side by side in a dev folder (C:\Dev\MX and C:\Dev\Shared) inthe IDE we > have set the library path of MX to ..\..\Shared so MX can use bits of the > shared classes. While this works perfectly fine in the IDE and when > building from inside the IDE. Jenkins tries to do this aswell. Only the > result is it tries to find this in the workspace folder. Which is > completely logical. I only have no clue how to get either a double checkout > or something to get it to look it the right place. I have thought about > making the library path a hard path C:\Dev\Shared instead of ..\..\Shared. > but my superiors have told me not to do this. (I am only an intern). > > I hope someone here can help me. > > -- > 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/d/optout. > -- 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/d/optout.
Dependencies of classes between two subversion checkouts (MsBuild)
Hello again. I am glad to say I managed to fix the previous issue I had with the help of this usergroup. Sadly I ran into a new issue. Our development enviroment had dependencies between two subversion folders (MX and Shared), one of which has shared classes. While running MsBuild, Jenkins is trying to compile a class that uses a shared class. at the current stage it only has a checkout of the MX. It has compiled Shared before, but apparently has switched to MX to start building with MsBuild. In our standard development enviroment we have the two folders, shared and MX, side by side in a dev folder (C:\Dev\MX and C:\Dev\Shared) inthe IDE we have set the library path of MX to ..\..\Shared so MX can use bits of the shared classes. While this works perfectly fine in the IDE and when building from inside the IDE. Jenkins tries to do this aswell. Only the result is it tries to find this in the workspace folder. Which is completely logical. I only have no clue how to get either a double checkout or something to get it to look it the right place. I have thought about making the library path a hard path C:\Dev\Shared instead of ..\..\Shared. but my superiors have told me not to do this. (I am only an intern). I hope someone here can help me. -- 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/d/optout.
Re: batch file is not an internal or external is not recognized as internal or external command
I got it to work, I switched the two subversion folders in my configuration and that seemed to solve it. I run into different issues now but I will make a new post for that. Thanks for the help! Op vrijdag 10 oktober 2014 14:39:32 UTC+2 schreef LesMikesell: > > On Fri, Oct 10, 2014 at 3:10 AM, Menos II > wrote: > > The batch files are not in a subdirectory no. I did check the working > > directory when the error fires and the batch files it needs to run do > not > > appear there. almost seems like the subversion folder is not being > checked > > out correctly. I double checked everything and the build step "Execute > > Windows batch command" has the right batch file in it, I also checked > the > > spelling. the subversion folder it checks out also has the batch file in > it. > > I will still try the direct call with full file path (does not hurt to > try > > right). > > > > Normally everything in the workspace would come from the jenkins > subversion checkout and appear the same as if you had done a manual > checkout. If the contents of the workspace are not what you expect, > you need to fix that first. > > -- > Les Mikesell > lesmi...@gmail.com > -- 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/d/optout.
Not able to setup PVCS based project on jenkins
Hi , I have initiated Jenkins deployment activity and want setup and build a project which is PVCS based . Till now I have installed jenkins on my ubuntu machine . Also have installed PVCS_SCM plugin . Can u provide me any link or document where it has a details explaination on how to setup a PVCS project . Because I am not getting how to configure it,how to set the enviornment variables ,what is the project resource etc . I have referred to link https://wiki.jenkins-ci.org/display/JENKINS/PVCS+SCM but what will be the values for project root,archive root,modules etc. Please any of you can help me to setup my PVCS based project. Thanks Choshing -- 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/d/optout.
Re: batch file is not an internal or external is not recognized as internal or external command
On Fri, Oct 10, 2014 at 3:10 AM, Menos II wrote: > The batch files are not in a subdirectory no. I did check the working > directory when the error fires and the batch files it needs to run do not > appear there. almost seems like the subversion folder is not being checked > out correctly. I double checked everything and the build step "Execute > Windows batch command" has the right batch file in it, I also checked the > spelling. the subversion folder it checks out also has the batch file in it. > I will still try the direct call with full file path (does not hurt to try > right). > Normally everything in the workspace would come from the jenkins subversion checkout and appear the same as if you had done a manual checkout. If the contents of the workspace are not what you expect, you need to fix that first. -- Les Mikesell lesmikes...@gmail.com -- 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/d/optout.
Error getting the SSL context object
After updating the renewed SSL cert into java keystore for HTTPS auth, Jenkins startup failed with below error. Still it works with the old expired SSL cert. I have verified the verified the java keystore and key cert password, I was able to list the keystore content and view the content of the .pfx used in the keystore using the passwords. Please assist to fix this error. svmftadm 19916 1 99 05:49 pts/000:00:09 /opt/mft/shared/software/jdk/jdk1.7.0_51/bin/java -Djavax.net.ssl.trustStore=/opt/mft/admin/certs/ldapTrustStore -Djavax.net.ssl.keyStore=/opt/mft/admin/certs/ldapTrustStore -Djavax.net.ssl.keyStorePassword=xyz -jar /opt/mft/jenkins/jenkins.war --httpPort=-1 --httpsPort=9443 --httpsKeyStore=/opt/mft/jenkins/jenkins.jks --httpsKeyStorePassword=xyz lx0001[/opt/mft/jenkins]> cat jenkins.log Running from: /apps/mft/jenkins/jenkins.war webroot: EnvVars.masterEnvVars.get("JENKINS_HOME") Oct 10, 2014 5:36:02 AM winstone.Logger logInternal INFO: Beginning extraction from war file Oct 10, 2014 5:36:02 AM winstone.Logger logInternal INFO: Winstone shutdown successfully Oct 10, 2014 5:36:02 AM winstone.Logger logInternal SEVERE: Container startup failed java.io.IOException: Failed to start a listener: winstone.HttpsConnectorFactory at winstone.Launcher.spawnListener(Launcher.java:209) at winstone.Launcher.(Launcher.java:149) at winstone.Launcher.main(Launcher.java:354) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at Main._main(Main.java:293) at Main.main(Main.java:98) Caused by: winstone.WinstoneException: Error getting the SSL context object at winstone.HttpsConnectorFactory.getSSLContext(HttpsConnectorFactory.java:218) at winstone.HttpsConnectorFactory.createConnector(HttpsConnectorFactory.java:127) at winstone.HttpsConnectorFactory.start(HttpsConnectorFactory.java:116) at winstone.Launcher.spawnListener(Launcher.java:207) ... 8 more Regards, Sudhakar -- 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/d/optout.
Re: batch file is not an internal or external is not recognized as internal or external command
I did try the direct call with full path, I did not work, as I expected. A little more info. I am not using a slave, just a Windows 8.1 Virtual Machine (which will later become a remote desktop on a server.) Op vrijdag 10 oktober 2014 10:10:49 UTC+2 schreef Menos II: > > The batch files are not in a subdirectory no. I did check the working > directory when the error fires and the batch files it needs to run do not > appear there. almost seems like the subversion folder is not being checked > out correctly. I double checked everything and the build step "Execute > Windows batch command" has the right batch file in it, I also checked the > spelling. the subversion folder it checks out also has the batch file in > it. I will still try the direct call with full file path (does not hurt to > try right). > > I also remember that Windows 8.1 does need cmd to run as admin for certain > things to work. could this be the same issue here? If so, is there a way to > let Jenkins run cmd as admin? > > I am sorry if I am providing the wrong information here. This is my first > time working with Jenkins and subversion. (I am a student intern at our > company) > > Op donderdag 9 oktober 2014 18:06:08 UTC+2 schreef LesMikesell: >> >> On Thu, Oct 9, 2014 at 10:34 AM, Menos II wrote: >> > Thanks for the quick reply! >> > >> > I set the path in system variables. I did not try calling it explicitly >> > within the command. I'll try that first thing in the morning and update >> this >> > thread with it's result. >> > So if I am correct I will need to call C:\Program >> > Files(x86)\Jenkins\workspace\[buildname] batchfile.bat? Right now I >> only >> > call the batch file without a path. >> >> I thought you said the batch files would check out into a >> subdirectory. Unless you explicitly change directories in the calling >> build script, your working directory should be the (buildname). Using >> a path relative to that would continue to work if you run it on a >> slave with a different remote FS root location. >> >> -- >>Les Mikesell >> lesmi...@gmail.com >> > -- 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/d/optout.
Re: Config File Provider Plugin: Is it possible to automatically create a new configuration file?
Hi! Is there sombedy that uses Config File Provider Plugin? I a new context I am still interested on this two questions: 1. Is it possible to automatically/programmatically (e.g. using an API) add/load/create a configuration file into the Config File Management? 2. Additionally I would like to know where all the files which are managed by the Config File Provider Plugin are persisted, so that I could make some configuration changes automatically? Regards! Am Mittwoch, 28. Mai 2014 13:43:22 UTC+2 schrieb mr: > > Hi everybody! > > I have three questions about the Config File Provider Plugin: > > 1. Is it possible to automatically/programmatically (e.g. using an API) > add/load/create a configuration file into the Config File Management? > > 2. Additionally I would like to know where all the files which are managed > by the Config File Provider Plugin are persisted? > > 3. Finally, are there some objections against handling of MySQL dump files > with Config File Provider Plugin? > > Regards! > -- 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/d/optout.
Subversion Merge Plugin - Can I create branch automatically?
Hi everybody! Is it possible to create an SVN branch automatically with the help of the Subversion Merge Plugins??? Regards -- 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/d/optout.
Re: batch file is not an internal or external is not recognized as internal or external command
The batch files are not in a subdirectory no. I did check the working directory when the error fires and the batch files it needs to run do not appear there. almost seems like the subversion folder is not being checked out correctly. I double checked everything and the build step "Execute Windows batch command" has the right batch file in it, I also checked the spelling. the subversion folder it checks out also has the batch file in it. I will still try the direct call with full file path (does not hurt to try right). I also remember that Windows 8.1 does need cmd to run as admin for certain things to work. could this be the same issue here? If so, is there a way to let Jenkins run cmd as admin? I am sorry if I am providing the wrong information here. This is my first time working with Jenkins and subversion. (I am a student intern at our company) Op donderdag 9 oktober 2014 18:06:08 UTC+2 schreef LesMikesell: > > On Thu, Oct 9, 2014 at 10:34 AM, Menos II > wrote: > > Thanks for the quick reply! > > > > I set the path in system variables. I did not try calling it explicitly > > within the command. I'll try that first thing in the morning and update > this > > thread with it's result. > > So if I am correct I will need to call C:\Program > > Files(x86)\Jenkins\workspace\[buildname] batchfile.bat? Right now I only > > call the batch file without a path. > > I thought you said the batch files would check out into a > subdirectory. Unless you explicitly change directories in the calling > build script, your working directory should be the (buildname). Using > a path relative to that would continue to work if you run it on a > slave with a different remote FS root location. > > -- >Les Mikesell > lesmi...@gmail.com > -- 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/d/optout.
Can we print Master name in slave machine
Hi All, Is there a way, where I can print Master name in slave machine. Since Two master projects will trigger one slave project. Please help me on this. Regards, Rajashekar P -- 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/d/optout.