Re: Unable to run flashplayer under Jenkins
Hi, Thanks for testing this. But how come it can work if I start flashplayer manually from the command line into Xvnc ? Is it possible to only run 1 maven child project in a multi-module project on a different slave ? regards, Wim 2014/1/8 Dirk Heinrichs d...@recommind.com Am 07.01.2014 15:11, schrieb Wim Deblauwe: I am using Ubuntu 13.10 with vnc4server I could reproduce the problem. However, I didn't find a solution. Looks like both Xvnc and Xvfb don't have proper OpenGL support. Maybe you could setup a Windows slave (VM) for running flashplayer. HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com *Skype*: dirk.heinrichs.recommind www.recommind.com -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/1e0FGxYHs_Y/unsubscribe. To unsubscribe from this group and all its topics, 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. Logo.gif
Releaseprocess for multicomponent, multideliverable software
Hi all, We are having a little trouble with our release process and I was hoping for some insightful ideas how to ease our struggle. I'm sending this to the Jenkins list, because I think Jenkins is the tool, who can help with this. We develop 5 different web applications (war files in ear files) which depends on a 20-such components. All those parts are different Maven projects in different Git repositories which have the same parent pom (although on different versions, which is another issue). The 5 web applications do not have the same release schedule and should be releasable any time. Whenever we adjust one of the applications and need changes in the underlying components, we update the version in the pom to the latest SNAPSHOT version and develop on both (or more) of the parts. Now we want a one press release, which should work its way down the dependency tree and release each snapshot, updating the versions in the pom along the way, until it reaches the deployable unit. I have been looking at the Maven Cascade Release Plugin [1] but that seems to need an aggregator project in which all the other projects are present. Could you provide some comments or insights about our situation and maybe give some hints how to ease our process? [1] https://wiki.jenkins-ci.org/display/JENKINS/Maven+Cascade+Release+Plugin With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell -- 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.
trigger local jenkins with github
Hello, general is it possible to trigger a local jenkins job, when a push to github repositorie was made? Since about one month I work on this problem. At the moment I use the following plugins: git github github oauth I tried a lot of things out, but nothing worked :-( I need help. PLEASE :-) Best regards Stefan -- 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: trigger local jenkins with github
On Wed, Jan 08, 2014 at 01:06:16AM -0800, Stefan Bauer wrote: general is it possible to trigger a local jenkins job, when a push to github repositorie was made? Yes. You have two options: 1. Dumb and simple: enable polling 2. Smart and efficient but more complicated: enable the GitHub plugin, register a web hook, make sure the GitHub plugin endpoint of your local Jenkins is accessible from the internet without authentication, oh and disable CSRF protection until https://issues.jenkins-ci.org/browse/JENKINS-20140 gets fixed. Since about one month I work on this problem. At the moment I use the following plugins: git github github oauth I tried a lot of things out, but nothing worked :-( I need help. PLEASE :-) If you tell us precisely what you tried, maybe we can spot what went wrong. Maybe. Marius Gedminas -- I know dealing with upstream is always a pain and feels like twice as much work as just hacking around their problems in your own code, but generally pays off long-term. -- Martin (gzlist) signature.asc Description: Digital signature
Attaching extra informations to tests for display
Hi, I am trying to understand if this is possible to attach arbitrary information to a test and then submit this to jenkins. In my case, I use googletest to store information from a test: https://code.google.com/p/googletest/wiki/AdvancedGuide#Logging_Additional_Information This is not clear whether or not I will be able to: - submit this information to jenkins, - be able to sort based on those extra fields 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.
Supress windows gui/output via Jenkins job
Hi I'm working with our Siebel development team with the aim of automating some of their build/release practices; currently they use a utility siebdev.exe, which provides a facility to compile/export/import data between Siebel databases. The problem appears to be that running it via Jenkins blows a fuse throwing an application error in the windows event log I suspect that this is something to do with the utility flashing up a gui while it performs some of its tasks in the background. It would appear that the utility doesn't have a silent option. I had a look at the Xvfb plugin and that would be ideal; if only it worked for windows So, the question finally is; is there any way to supress/redirect the gui output via Jenkins on a windows slave? dD This e-mail and any attachments are confidential and intended solely for the addressee and may also be privileged or exempt from disclosure under applicable law. If you are not the addressee, or have received this e-mail in error, please notify the sender immediately, delete it from your system and do not copy, disclose or otherwise act upon any part of this e-mail or its attachments. Internet communications are not guaranteed to be secure or virus-free. The Barclays Group does not accept responsibility for any loss arising from unauthorised access to, or interference with, any Internet communications by any third party, or from the transmission of any viruses. Replies to this e-mail may be monitored by the Barclays Group for operational or business reasons. Any opinion or other information in this e-mail or its attachments that does not relate to the business of the Barclays Group is personal to the sender and is not given or endorsed by the Barclays Group. Barclays Bank PLC. Registered in England and Wales (registered no. 1026167). Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom. Barclays Bank PLC is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and the Prudential Regulation Authority (Financial Services Register No. 122702). -- 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: shared workspace
For this then you should be able to use the Copy artifact plugin . - Original Message - From: Liora Milbaum li...@lmb.co.il To: jenkinsci-users@googlegroups.com Sent: Wednesday, January 8, 2014 1:01:17 AM Subject: Re: shared workspace Thanks for the input. The symbolic link option is not available as some of my build servers are Windows XP. The reason I need a shared workspace is for sharing build artifacts, like dlls (generated by multiple jobs on multiple slaves). Are there other options implementing such a build schema? Liora On Tuesday, January 7, 2014 1:00:35 PM UTC+2, Liora Milbaum wrote: I am using Jenkins on Windows. Trying to implement a MultiJob project which executes on few nodes. How can I share the same workspace for all jobs in the MultiJob Project? Thanks, Liora -- 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.
Re: shared workspace
Right, the solution to this problem is not to share the workspace, but instead to archive the important artifacts from each job (onto the Jenkins master) and then configure downstream jobs to retrieve them. This is a far more reliable solution as well, as it allows job to be re-run, and for jobs to run in parallel without fear of corrupting the workspace. - Original Message - From: jenkinsci-users@googlegroups.com To: jenkinsci-users@googlegroups.com At: Jan 8 2014 08:25:57 For this then you should be able to use the Copy artifact plugin. From: Liora Milbaum li...@lmb.co.il To: jenkinsci-users@googlegroups.com Sent: Wednesday, January 8, 2014 1:01:17 AM Subject: Re: shared workspace Thanks for the input. The symbolic link option is not available as some of my build servers are Windows XP. The reason I need a shared workspace is for sharing build artifacts, like dlls (generated by multiple jobs on multiple slaves). Are there other options implementing such a build schema? Liora On Tuesday, January 7, 2014 1:00:35 PM UTC+2, Liora Milbaum wrote: I am using Jenkins on Windows. Trying to implement a MultiJob project which executes on few nodes. How can I share the same workspace for all jobs in the MultiJob Project? Thanks, Liora -- 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. -- 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 in non internet connected environment
These DNS queries are not harming anything, they are coming from background processes in Jenkins checking for things like documentation (for plugins, from the wiki) and core/plugin updates (from the Update Center). If you don't want them to hit your DNS server, you can put entries into an /etc/hosts files on the machine where Jenkins is running that map these specific DNS names into some blackhole IP address (even 127.0.0.1 would be fine). - Original Message - From: jenkinsci-users@googlegroups.com To: jenkinsci-users@googlegroups.com At: Jan 7 2014 21:26:25 I am currently trying to deploy Jenkins in an environment that will never have a connection to the internet. We have a DNS server on the network that handles all the internal traffic. After installing Jenkins I have noticed that this DNS server is bombarded with requests for resolving things like wiki.jenkins-ci.org and updates.jenkins-ci.org. Additionally I have to manually install plugins which each add another layer of requests seen. These request happen whenever an action is preformed in the web application or upon page refresh. And from what I can tell they are all being received by the DNS server on port 53. I don't think that configuring a HTTP Proxy is the solution in this case, as the internet will never be accessible. Is there some way to stop these requests from Jenkins internally? Or should I be looking at some other solution, like adding a rule to the firewall somewhere? All the machines on the network are running various versions of CentOS. I am using Jenkins version 1.545. I have to admit that I am a newbie to Jenkins and if this answer exists somewhere else I have not seen it. Any help would be greatly appreciated. If I need to provide more information please let me know. John-- 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.
User e-mail display and LDAP
Hello, Jenkins imported users from LDAP directory. Everything seems to work perfectly, even e-mail notification. The only interrogation I have is why e-mail address of my user isn't displayed here: https://cell-jenkins.no-ip.org/user/my_username/configurehttps://cell-jenkins.no-ip.org/user/tresi02/configure . UPDATE: It seems to be displayed properly now but only after one notification has been sent from jenkins. Simon -- 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: User e-mail display and LDAP
That's correct, the MailAddressResolver will get called by the notification mechanism and update the user account with the Mailer.UserProperty so that the email address shows up. This is expected. On Wed, Jan 8, 2014 at 8:47 AM, Simon Tremblay tremblaysi...@gmail.comwrote: Hello, Jenkins imported users from LDAP directory. Everything seems to work perfectly, even e-mail notification. The only interrogation I have is why e-mail address of my user isn't displayed here: https://cell-jenkins.no-ip.org/user/my_username/configurehttps://cell-jenkins.no-ip.org/user/tresi02/configure . UPDATE: It seems to be displayed properly now but only after one notification has been sent from jenkins. Simon -- 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. -- Website: http://earl-of-code.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/groups/opt_out.
How to use Artifact Diff Plugin?
Hi, I installed the plug-in in my Jenkins but I don’t know how to use it! Can someone provide an example of how this plug-in works? I have a Maven project on my Jenkins and want to compare the jar files in different builds. Regards, -Amin -- 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: Supress windows gui/output via Jenkins job
On Wednesday, January 8, 2014 6:49:13 AM UTC-5, david@barclays.com wrote: So, the question finally is; is there any way to supress/redirect the gui output via Jenkins on a windows slave? I don't use Jenkins on Windows but I'm going to go out on a limb and say that I'm pretty sure Jenkins doesn't have any Windows-specific way of dealing with GUI programs. You're probably going to have to run Jenkins as a user with permission to interact with the desktop, whether that's the single regular desktop or a remote desktop session. -- 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: Attaching extra informations to tests for display
On Wednesday, January 8, 2014 6:46:55 AM UTC-5, Mathieu Malaterre wrote: Hi, I am trying to understand if this is possible to attach arbitrary information to a test and then submit this to jenkins. In my case, I use googletest to store information from a test: https://code.google.com/p/googletest/wiki/AdvancedGuide#Logging_Additional_Information This is not clear whether or not I will be able to: - submit this information to jenkins, - be able to sort based on those extra fields It sounds like you probably want a Parameterized Build: URL:https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Build -- 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: Unable to run flashplayer under Jenkins
On Wednesday, January 8, 2014 3:10:22 AM UTC-5, Wim Deblauwe wrote: Hi, Thanks for testing this. But how come it can work if I start flashplayer manually from the command line into Xvnc ? I haven't tried running flashplayer under Wine connected to a vncserver so I can't say if it's reasonable to expect it to work. However, any difference in behavior you're seeing is most likely the result of differences in the environment, whether DISPLAY or some other variable. I had a number of difficult to understand problems with my Jenkins builds until I made a concerted effort to set up the same environment in an interactive login and Jenkins job run. Since OpenGL is involved, I'd look at variables which affect shared library loading. It's even possible that when you run flashplayer in an interactive shell, it's using the OpenGL library of real hardware while displaying in a vncserver. -- 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: shared workspace
On Wed, Jan 8, 2014 at 1:01 AM, Liora Milbaum li...@lmb.co.il wrote: Thanks for the input. The symbolic link option is not available as some of my build servers are Windows XP. The reason I need a shared workspace is for sharing build artifacts, like dlls (generated by multiple jobs on multiple slaves). Are there other options implementing such a build schema? The 'copy artifact' plugin can retrieve things built in other jobs. Or there are ways to publish results in various ways, all of which may be tricky to manage if you want to reuse the artifact versions currently being built in the same matrix job run. We use subversion and generally split the libraries out to their own project levels so you can separately control the revisions pulled into the consuming projects with svn externals. This doesn't take any specific jenkins support and will work the same with manual checkouts and builds. -- 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/groups/opt_out.
Re: Jenkins in non internet connected environment
On Tuesday, January 7, 2014 9:26:06 PM UTC-5, John Gornowich wrote: I am currently trying to deploy Jenkins in an environment that will never have a connection to the internet. We have a DNS server on the network that handles all the internal traffic. After installing Jenkins I have noticed that this DNS server is bombarded with requests for resolving things like wiki.jenkins-ci.org and updates.jenkins-ci.org. Additionally I have to manually install plugins which each add another layer of requests seen. These request happen whenever an action is preformed in the web application or upon page refresh. And from what I can tell they are all being received by the DNS server on port 53. I don't think that configuring a HTTP Proxy is the solution in this case, as the internet will never be accessible. Is there some way to stop these requests from Jenkins internally? Or should I be looking at some other solution, like adding a rule to the firewall somewhere? All the machines on the network are running various versions of CentOS. I am using Jenkins version 1.545. I have to admit that I am a newbie to Jenkins and if this answer exists somewhere else I have not seen it. Any help would be greatly appreciated. If I need to provide more information please let me know. What exactly is the problem you're trying to solve? Is something in Jenkins not working as expected? Is the DNS server dying because it's overloaded? If the problem is just that logs are noisy, it doesn't seem worth a lot of effort to change. -- 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.
Git-Jenkins Issue
I'm having a hell of a time getting Jenkins to work with Git. I'm on Ubuntu 10.04, Jenkins 1.545, Git 1.7.9.5. I've installed the Jenkins Git Client 1.6, Jenkins Git 2.0 plugins as well as a few others that I use for ANT and SVN integrations I've tried setting up jobs to pull from both a local and remote Git repos using both Git and Stash Git repos. I've tried all kinds of different security set-up...including public access, access using no security at all. The problem is that every time I try to run a job I get an error saying stderr: error: unknown option `progress' The complete Console Output follows. Can anyone explain whats going on here and why I'm seeing this error? Console Output: Started by user AG Building in workspace /var/lib/jenkins/jobs/Info_test_Git-Test_Devgit2/workspace Fetching changes from the remote Git repository Fetching upstream changes from file:///home/homer/gitrepo/infotest/infotest.git FATAL: Failed to fetch from file:///home/homer/gitrepo/infotest/infotest.git hudson.plugins.git.GitException: Failed to fetch from file:///home/homer/gitrepo/infotest/infotest.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at hudson.model.AbstractProject.checkout(AbstractProject.java:1414) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) at hudson.model.Run.execute(Run.java:1678) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.plugins.git.GitException: Command git fetch --tags --progress file:///home/homer/gitrepo/infotest/infotest.git +refs/heads/*:refs/remotes/origin/* returned status code 129: stdout: stderr: error: unknown option `progress' usage: git fetch [options] [repository refspec...] or: git fetch [options] group or: git fetch --multiple [options] [repository | group]... or: git fetch --all [options] -v, --verbose be more verbose -q, --quiet be more quiet --all fetch from all remotes -a, --append append to .git/FETCH_HEAD instead of overwriting --upload-pack PATH path to upload pack on remote end -f, --force force overwrite of local branch -m, --multiplefetch from multiple remotes -t, --tagsfetch all tags and associated objects -ndo not fetch all tags (--no-tags) -p, --prune prune tracking branches no longer on remote --dry-run dry run -k, --keepkeep downloaded pack -u, --update-head-ok allow updating of HEAD ref --depth DEPTH deepen history of shallow clone at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1099) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:985) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:69) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:218) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:224) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610) ... 10 more -- 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: Git-Jenkins Issue
This is just a guess, but your Git version looks pretty old, so perhaps it doesn't support the --progress option at all. On Wed, Jan 8, 2014 at 1:21 PM, Aaron Golub oldbatt...@gmail.com wrote: I'm having a hell of a time getting Jenkins to work with Git. I'm on Ubuntu 10.04, Jenkins 1.545, Git 1.7.9.5. I've installed the Jenkins Git Client 1.6, Jenkins Git 2.0 plugins as well as a few others that I use for ANT and SVN integrations I've tried setting up jobs to pull from both a local and remote Git repos using both Git and Stash Git repos. I've tried all kinds of different security set-up...including public access, access using no security at all. The problem is that every time I try to run a job I get an error saying stderr: error: unknown option `progress' The complete Console Output follows. Can anyone explain whats going on here and why I'm seeing this error? Console Output: Started by user AG Building in workspace /var/lib/jenkins/jobs/Info_test_Git-Test_Devgit2/workspace Fetching changes from the remote Git repository Fetching upstream changes from file:///home/homer/gitrepo/infotest/infotest.git FATAL: Failed to fetch from file:///home/homer/gitrepo/infotest/infotest.git hudson.plugins.git.GitException: Failed to fetch from file:///home/homer/gitrepo/infotest/infotest.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at hudson.model.AbstractProject.checkout(AbstractProject.java:1414) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) at hudson.model.Run.execute(Run.java:1678) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.plugins.git.GitException: Command git fetch --tags --progress file:///home/homer/gitrepo/infotest/infotest.git +refs/heads/*:refs/remotes/origin/* returned status code 129: stdout: stderr: error: unknown option `progress' usage: git fetch [options] [repository refspec...] or: git fetch [options] group or: git fetch --multiple [options] [repository | group]... or: git fetch --all [options] -v, --verbose be more verbose -q, --quiet be more quiet --all fetch from all remotes -a, --append append to .git/FETCH_HEAD instead of overwriting --upload-pack PATH path to upload pack on remote end -f, --force force overwrite of local branch -m, --multiplefetch from multiple remotes -t, --tagsfetch all tags and associated objects -ndo not fetch all tags (--no-tags) -p, --prune prune tracking branches no longer on remote --dry-run dry run -k, --keepkeep downloaded pack -u, --update-head-ok allow updating of HEAD ref --depth DEPTH deepen history of shallow clone at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1099) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:985) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:69) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:218) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:224) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610) ... 10 more -- 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. -- Website: http://earl-of-code.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/groups/opt_out.
Re: Jenkins in non internet connected environment
Jenkins does preform as expected as far as I can tell, but I have not been using it that long. The DNS is certainly getting bursts of requests, which appear to overload it but not to the point of it dying. I can't pinpoint an exact problem elsewhere on the network that is having problems, but my fear is that if we do use it full scale that it will start to cause problems with other services on the network. So as of right now its mostly just a logging issue. We have a requirement to maintain log information on the network for administrative purposes and I see the logging daemon reporting the imuxsock is dropping hundreds of messages while Jenkins is being operated. Maybe the answer is nothing can be done about it, but I want to be able to say I tried. On Wednesday, January 8, 2014 1:11:05 PM UTC-5, JonathanRRogers wrote: On Tuesday, January 7, 2014 9:26:06 PM UTC-5, John Gornowich wrote: I am currently trying to deploy Jenkins in an environment that will never have a connection to the internet. We have a DNS server on the network that handles all the internal traffic. After installing Jenkins I have noticed that this DNS server is bombarded with requests for resolving things like wiki.jenkins-ci.org and updates.jenkins-ci.org. Additionally I have to manually install plugins which each add another layer of requests seen. These request happen whenever an action is preformed in the web application or upon page refresh. And from what I can tell they are all being received by the DNS server on port 53. I don't think that configuring a HTTP Proxy is the solution in this case, as the internet will never be accessible. Is there some way to stop these requests from Jenkins internally? Or should I be looking at some other solution, like adding a rule to the firewall somewhere? All the machines on the network are running various versions of CentOS. I am using Jenkins version 1.545. I have to admit that I am a newbie to Jenkins and if this answer exists somewhere else I have not seen it. Any help would be greatly appreciated. If I need to provide more information please let me know. What exactly is the problem you're trying to solve? Is something in Jenkins not working as expected? Is the DNS server dying because it's overloaded? If the problem is just that logs are noisy, it doesn't seem worth a lot of effort to change. -- 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 in non internet connected environment
On 08.01.2014, at 03:26, John Gornowich softwarejo...@gmail.com wrote: updates.jenkins-ci.org. For a start, try setting -Dhudson.model.UpdateCenter.never=true Documentation: https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties If it's only these two hosts accessed from Jenkins, I'd consider looking into creating a custom SocketImplFactory like described here: http://stackoverflow.com/questions/4893129/disable-network-connection (Of course, there's the question of cost/benefit ratio…) But, AFAICT, at least some of the requests are sent by the client (update center populates even when the necessary proxy is not configured in Jenkins, for example), so it'd be interesting to investigate which requests are sent by the Jenkins server, and which are sent by client web browsers. Maybe it's as simple as defining custom Adblock rules... -- 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.
Groovy Plugin VS Build Flow Plugin
I have installed the Build Flow Plugin: https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin making the Build Flow Job Type available. But this jobtype does not have the *Build Environment *configuration like the other jobtypes (freestyle, maven, etc.) which I need. I have also installed the Groovy plugin: https://wiki.jenkins-ci.org/display/JENKINS/Groovy+plugin which I can enable in e.g a freestyle project as a build step. It seems that you can more or less do the same with the Groovy Plugin (in e.g a freestyle project) as with the Build Flow plugin + you have access to the Build Environment configuration. Is there anything that the build flow plugin gives besides some wrapped groovy methods like : parallel, ignore etc. that I cannot do with the Groovy Plugin? In short what are the most significant differences between the Groovy plugin and the Build Flow plugin when it comes to functionality? -- 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: Git-Jenkins Issue
That is correct. Configure another git in Jenkins, using jgit, and sewer of that will work in your case without changing your installed git. Mark Waite On Jan 8, 2014 1:23 PM, Slide slide.o@gmail.com wrote: This is just a guess, but your Git version looks pretty old, so perhaps it doesn't support the --progress option at all. On Wed, Jan 8, 2014 at 1:21 PM, Aaron Golub oldbatt...@gmail.com wrote: I'm having a hell of a time getting Jenkins to work with Git. I'm on Ubuntu 10.04, Jenkins 1.545, Git 1.7.9.5. I've installed the Jenkins Git Client 1.6, Jenkins Git 2.0 plugins as well as a few others that I use for ANT and SVN integrations I've tried setting up jobs to pull from both a local and remote Git repos using both Git and Stash Git repos. I've tried all kinds of different security set-up...including public access, access using no security at all. The problem is that every time I try to run a job I get an error saying stderr: error: unknown option `progress' The complete Console Output follows. Can anyone explain whats going on here and why I'm seeing this error? Console Output: Started by user AG Building in workspace /var/lib/jenkins/jobs/Info_test_Git-Test_Devgit2/workspace Fetching changes from the remote Git repository Fetching upstream changes from file:///home/homer/gitrepo/infotest/infotest.git FATAL: Failed to fetch from file:///home/homer/gitrepo/infotest/infotest.git hudson.plugins.git.GitException: Failed to fetch from file:///home/homer/gitrepo/infotest/infotest.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at hudson.model.AbstractProject.checkout(AbstractProject.java:1414) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) at hudson.model.Run.execute(Run.java:1678) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.plugins.git.GitException: Command git fetch --tags --progress file:///home/homer/gitrepo/infotest/infotest.git +refs/heads/*:refs/remotes/origin/* returned status code 129: stdout: stderr: error: unknown option `progress' usage: git fetch [options] [repository refspec...] or: git fetch [options] group or: git fetch --multiple [options] [repository | group]... or: git fetch --all [options] -v, --verbose be more verbose -q, --quiet be more quiet --all fetch from all remotes -a, --append append to .git/FETCH_HEAD instead of overwriting --upload-pack PATH path to upload pack on remote end -f, --force force overwrite of local branch -m, --multiplefetch from multiple remotes -t, --tagsfetch all tags and associated objects -ndo not fetch all tags (--no-tags) -p, --prune prune tracking branches no longer on remote --dry-run dry run -k, --keepkeep downloaded pack -u, --update-head-ok allow updating of HEAD ref --depth DEPTH deepen history of shallow clone at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1099) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:985) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:69) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:218) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:224) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610) ... 10 more -- 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. -- Website: http://earl-of-code.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/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.
Securely obtain the Jenkins package and public key
Hello all, I work with a tech company where we're trying to establish a pristine build environment for all of our products. As part of this, we are looking to create a Jenkins CI server from scratch using the most secure methods possible. This would be on an underlying CentOS 6.2 machine. From reading the guide on installing Jenkins on CentOS/RedHat I see that the package and the key are both obtained over http as - wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo and rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key This raises possibilities of a Man-in-the-middle attack compromising the integrity of the repo or the key or both. To avoid this, is there a way to obtain the package and the key securely? This could either be over HTTPS, SFTP or by exchanging PGP keys with the owner and then transporting it over email. If there's a better place to post this question, please inform. Thanks, Abhijith -- 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.
Using Build Pipeline Plugin and Remote API together
We currently have a need to trigger a manual downstream build step in our Build Pipeline from another server. I am able to trigger simple builds via the Jenkins remote API easily enough, but I am yet to get this working for a manual step within a pipeline. Does anyone have any experience with this at all? -- 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: Git-Jenkins Issue
Aaron, My apologies for the poorly phrased answer from my phone. There are two different base implementations of Git which can be used by the Git plugin. The command line implementation is the default implementation. It assumes you have git 1.7.10 or newer and requires that git is installed locally. The pure Java implementation uses JGit and does not require a local git installation. However, it has fewer features than the command line implementation and is still somewhat of a work in progress. The simplest solution for you is probably an upgrade to a more recent version of git. http://adammonsen.com/post/665 gives hints how to upgrade git while keeping the rest of your system at Ubuntu 10.04. http://stackoverflow.com/questions/11170623/trying-to-install-git-in-ubuntu-lucid-10-04-lts mentions the same technique as that blog posting. Mark Waite On Wed, Jan 8, 2014 at 2:12 PM, Mark Waite mark.earl.wa...@gmail.comwrote: That is correct. Configure another git in Jenkins, using jgit, and sewer of that will work in your case without changing your installed git. Mark Waite On Jan 8, 2014 1:23 PM, Slide slide.o@gmail.com wrote: This is just a guess, but your Git version looks pretty old, so perhaps it doesn't support the --progress option at all. On Wed, Jan 8, 2014 at 1:21 PM, Aaron Golub oldbatt...@gmail.com wrote: I'm having a hell of a time getting Jenkins to work with Git. I'm on Ubuntu 10.04, Jenkins 1.545, Git 1.7.9.5. I've installed the Jenkins Git Client 1.6, Jenkins Git 2.0 plugins as well as a few others that I use for ANT and SVN integrations I've tried setting up jobs to pull from both a local and remote Git repos using both Git and Stash Git repos. I've tried all kinds of different security set-up...including public access, access using no security at all. The problem is that every time I try to run a job I get an error saying stderr: error: unknown option `progress' The complete Console Output follows. Can anyone explain whats going on here and why I'm seeing this error? Console Output: Started by user AG Building in workspace /var/lib/jenkins/jobs/Info_test_Git-Test_Devgit2/workspace Fetching changes from the remote Git repository Fetching upstream changes from file:///home/homer/gitrepo/infotest/infotest.git FATAL: Failed to fetch from file:///home/homer/gitrepo/infotest/infotest.git hudson.plugins.git.GitException: Failed to fetch from file:///home/homer/gitrepo/infotest/infotest.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at hudson.model.AbstractProject.checkout(AbstractProject.java:1414) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) at hudson.model.Run.execute(Run.java:1678) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.plugins.git.GitException: Command git fetch --tags --progress file:///home/homer/gitrepo/infotest/infotest.git +refs/heads/*:refs/remotes/origin/* returned status code 129: stdout: stderr: error: unknown option `progress' usage: git fetch [options] [repository refspec...] or: git fetch [options] group or: git fetch --multiple [options] [repository | group]... or: git fetch --all [options] -v, --verbose be more verbose -q, --quiet be more quiet --all fetch from all remotes -a, --append append to .git/FETCH_HEAD instead of overwriting --upload-pack PATH path to upload pack on remote end -f, --force force overwrite of local branch -m, --multiplefetch from multiple remotes -t, --tagsfetch all tags and associated objects -ndo not fetch all tags (--no-tags) -p, --prune prune tracking branches no longer on remote --dry-run dry run -k, --keepkeep downloaded pack -u, --update-head-ok allow updating of HEAD ref --depth DEPTH deepen history of shallow clone at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1099) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:985) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:69) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:218) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:224) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610) ...
Re: Supress windows gui/output via Jenkins job
Since Windows 7 and Windows Server 2008 services cannot interact with desktop. You will have to configure slave to perform auto login and start slave as desktop application. This was discussed a while back. I think it was related to executing Selenium tests on Windows machine. -- 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.
Unable to send a mail through Jenkins.
Hi, *I am unable to send a mail from jenkins.* As i understand , SMTP Port must be enabled in the PC to send a mail, which is enabled. We are able to send a mail from a C# Test app. But,we get this error from Jenkins: javax.mail.MessagingException: Could not connect to SMTP host:appmail.com port 25 nested exception is: *java.net.SocketException: Network is unreachable: connect* at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638) at javax.mail.Service.connect(Service.java:295) at javax.mail.Service.connect(Service.java:176) at javax.mail.Service.connect(Service.java:125) at javax.mail.Transport.send0(Transport.java:194) at javax.mail.Transport.send(Transport.java:124) at hudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:514) at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at
RE: Unable to send a mail through Jenkins.
Hi , Please try first to test your server by: Manage Jenkins-Configure system - e-mail notification And check the checkbox, insert your email and press test configuration BR Yossi From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of chethan jain Sent: Thursday 09 January 2014 09:32 To: jenkinsci-users@googlegroups.com Subject: Unable to send a mail through Jenkins. Hi, I am unable to send a mail from jenkins. As i understand , SMTP Port must be enabled in the PC to send a mail, which is enabled. We are able to send a mail from a C# Test app. But,we get this error from Jenkins: javax.mail.MessagingException: Could not connect to SMTP host:appmail.com port 25 nested exception is: java.net.SocketException: Network is unreachable: connect at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638) at javax.mail.Service.connect(Service.java:295) at javax.mail.Service.connect(Service.java:176) at javax.mail.Service.connect(Service.java:125) at javax.mail.Transport.send0(Transport.java:194) at javax.mail.Transport.send(Transport.java:124) at hudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:514) at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at
Re: trigger local jenkins with github
Hello Marius, I want to use the second method, because efficiency is really important to my project. I tried this configuration: *Jenkins GitHub Plugin (Version 1.8):* Configure System/ GitHub User Login: mustermann GitHub User Password: my_oauth_token GitHub Web Hook: Manually manage hook URLs *GitHub Web Hook:* Spoon-Knife(its my test repository)/Settings/Service Hooks/WebHook URLs/ URL: http://jenkins-mustermann:8080/github-webhook/ for this: make sure the GitHub plugin endpoint of your local Jenkins is accessible from the internet without authentication For this I thought I must use the following plugin- *Jenkins GitHub Oauth Plugin (Version 0.14):* Profile/Applications/Developer applications/ Homepage URL: http://jenkins-mustermann:8080/ Authorization callback URL: http://jenkins-mustermann:8080/securityRealm/finishLogin Application description: OAuth Mustermann *CSRF:* disabled *My Result on http://jenkins-mustermann:8080/github-webhook/? after Test Hook on GitHub* Status Code: 500 Exception: java.lang.IllegalArgumentException: Not intended to be browsed interactively (must specify payload parameter) Stacktrace: javax.servlet.ServletException: java.lang.IllegalArgumentException: Not intended to be browsed interactively (must specify payload parameter) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:719) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at org.kohsuke.stapler.Stapler.service(Stapler.java:214) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:203) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:181) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:64) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at