Re: GIT client plugin proxy authentication
I see that the code is still in the git client but as you can see from the stack trace I provided it no longer seems to work correctly. On Monday, July 6, 2015 at 2:43:34 PM UTC-4, Mark Waite wrote: I'm not aware of anyone else reporting an issue using git through an authenticating http proxy. The code is still in the git client plugin to handle that case. https://github.com/jenkinsci/git-client-plugin/blob/master/src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java#L1324 I don't have an authenticating http proxy available, so I don't test that case. Mark Waite On Mon, Jul 6, 2015 at 11:41 AM James Richard jamesri...@gmail.com javascript: wrote: Jenkins : 1.580.2 Git plugin : 2.3.5 Git client plugin : 1.17.1 /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository /usr/bin/git config remote.origin.url http://.../repo.git # timeout=10 Fetching upstream changes from http://.../repo.git /usr/bin/git --version # timeout=10 Setting http proxy: qaproxy:3128 /usr/bin/git fetch --tags --progress http://.../repo.git +refs/heads/*:refs/remotes/origin/* ERROR: Error fetching remote repo 'origin'hudson.plugins.git.GitException http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException: Failed to fetch from http://.../repo.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:735) http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.fetchFromentity=method at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:983) http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.retrieveChangesentity=method at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1016) http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.checkoutentity=method at hudson.scm.SCM.checkout(SCM.java:488) http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.SCM.checkoutentity=method at hudson.model.AbstractProject.checkout(AbstractProject.java:1257) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject.checkoutentity=method at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckoutentity=method at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) http://stacktrace.jenkins-ci.org/search/?query=jenkins.scm.SCMCheckoutStrategy.checkoutentity=method at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.runentity=method at hudson.model.Run.execute(Run.java:1745) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.executeentity=method at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.runentity=method at hudson.model.ResourceController.execute(ResourceController.java:89) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.executeentity=method at hudson.model.Executor.run(Executor.java:240) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.runentity=method Caused by: hudson.plugins.git.GitException http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException: Command /usr/bin/git fetch --tags --progress http://.../repo.git +refs/heads/*:refs/remotes/origin/* returned status code 128: stdout: stderr: error: The requested URL returned error: 407 while accessing http://.../repo.git/info/refs fatal: HTTP request failed at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1591) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1379) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:86) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:324) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:733) ... 11 more ERROR: Error fetching remote repo 'origin'Finished http://stacktrace.jenkins-ci.org/search?query=Finished: FAILURE In http://jenkinsserver:8080/pluginManager/advanced I have defined the Host, Port, Username, and Password. I found this ticket https://issues.jenkins-ci.org/browse/JENKINS-24112. It seems this problem has been re-introduced. Has anyone else had this issue? -- 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:. To view this discussion on the web visit
Re: Stuck creating local jenkins update center
As I've stated, i get null pointer exception in protected JSONObject buildPlugins() --Main.java; There is no NULL Pointer check for this statement: /** * Build JSON for the plugin list. * @param repository * @param redirect */ protected JSONObject buildPlugins(MavenRepository repository, PrintWriter redirect) throws Exception { ConfluencePluginList cpl = nowiki?new NoConfluencePluginList():new ConfluencePluginList(); cpl.initialize(); int total = 0; JSONObject plugins = new JSONObject(); for( PluginHistory hpi : repository.listHudsonPlugins() ) { This actually causes build to crash -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ee23f420-fe47-40e5-91a2-9b5055b82794%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Using Slave with Filesystem List Parameter Plug-in
Is it possible to have the Filesystem List Parameter Plug-in return a listing on a slave node? If so, how? If not, is there another plugin which might provide this functionality? Thanks, Rob Conde -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c09dae85-71b2-4451-8a7a-5fab56ccec13%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Stuck creating local jenkins update center
Totally biased, but I'd be remiss not to point out this functionality exists in CloudBees Jenkins Enterprise: https://www.cloudbees.com/products/cloudbees-jenkins-platform/enterprise-edition/features/custom-update-center-plugin It comes with a slick UI for managing either your own manually uploaded plugins or proxying the upstream OSS update centers, etc. On Thursday, July 9, 2015 at 10:35:51 AM UTC-4, jje wrote: As I've stated, i get null pointer exception in protected JSONObject buildPlugins() --Main.java; There is no NULL Pointer check for this statement: /** * Build JSON for the plugin list. * @param repository * @param redirect */ protected JSONObject buildPlugins(MavenRepository repository, PrintWriter redirect) throws Exception { ConfluencePluginList cpl = nowiki?new NoConfluencePluginList():new ConfluencePluginList(); cpl.initialize(); int total = 0; JSONObject plugins = new JSONObject(); for( PluginHistory hpi : repository.listHudsonPlugins() ) { This actually causes build to crash -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/78367b8b-ed26-4757-bceb-331d105404d5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Stuck creating local jenkins update center
Hi Andy, thxbut I'm not willing to pay for it. BTW - this is not a sales event, is it? Am Donnerstag, 9. Juli 2015 18:36:28 UTC+2 schrieb Andy Pemberton: Totally biased, but I'd be remiss not to point out this functionality exists in CloudBees Jenkins Enterprise: https://www.cloudbees.com/products/cloudbees-jenkins-platform/enterprise-edition/features/custom-update-center-plugin It comes with a slick UI for managing either your own manually uploaded plugins or proxying the upstream OSS update centers, etc. On Thursday, July 9, 2015 at 10:35:51 AM UTC-4, jje wrote: As I've stated, i get null pointer exception in protected JSONObject buildPlugins() --Main.java; There is no NULL Pointer check for this statement: /** * Build JSON for the plugin list. * @param repository * @param redirect */ protected JSONObject buildPlugins(MavenRepository repository, PrintWriter redirect) throws Exception { ConfluencePluginList cpl = nowiki?new NoConfluencePluginList():new ConfluencePluginList(); cpl.initialize(); int total = 0; JSONObject plugins = new JSONObject(); for( PluginHistory hpi : repository.listHudsonPlugins() ) { This actually causes build to crash -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/12728402-82cd-4c1c-b9f6-808a1c7e617c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Git plugin on Jenkins fails to check out with fetching errors
Repo URL: g...@ss.abc.com/dev/test.git http://www.google.com/url?q=http%3A%2F%2Fgit%40ss.abc.com%2Fdev%2Ftest.gitsa=Dsntz=1usg=AFQjCNGcPTDYLTKQOXMarhutg8j_ZxM-Uw This seems wrong: I would expect ssh://g...@ss.abc.com/dev/test.git http://www.google.com/url?q=http%3A%2F%2Fgit%40ss.abc.com%2Fdev%2Ftest.gitsa=Dsntz=1usg=AFQjCNGcPTDYLTKQOXMarhutg8j_ZxM-Uw Björn -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3e3ca6d0-b4ce-4537-b91f-692ea6a39ad1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Maven repository on EC2 slave nodes
Hi all, I’ve successfully installed Jenkins on a host running in AWS EC2. We’re also using the Amazon EC2 plugin [1] to start slaves, which is working fine as well. To save costs, I’ve configured the slaves to terminate after being idle for 5 minutes. If we start the next build job, a new, clean EC2 instance gets started. Since the slaves are now most of the time in a clean state, we also don’t have a pre-filled local Maven repository which means that each and every dependency is loaded from remote repositories, which takes quite some time. What is best practice with regards to Maven repositories? Does it make sense to always fetch from a remote repo? Is there some kind of “shared” Maven repo I could use? Any other suggestions how to deal with that situation? Thank you very much for your feedback! -- Basil [1] http://wiki.jenkins-ci.org/display/JENKINS/Amazon+EC2+Plugin -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1C21C182-B6B9-4061-B9D1-29D2B3F2A6CA%40entwinemedia.com. For more options, visit https://groups.google.com/d/optout. signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Git plugin on Jenkins fails to check out with fetching errors
I regularly test URL's of the form: g...@github.com:MarkEWaite/git-client-plugin g...@github.com:MarkEWaite/bin ssh://markewa...@git.code.sf.net/p/git-client-plugin/code I've never seen a URL user@host/path, rather they've more typically been user@host:path . Mark Waite On Thu, Jul 9, 2015 at 1:30 AM Björn Pedersen icee...@googlemail.com wrote: Repo URL: g...@ss.abc.com/dev/test.git http://www.google.com/url?q=http%3A%2F%2Fgit%40ss.abc.com%2Fdev%2Ftest.gitsa=Dsntz=1usg=AFQjCNGcPTDYLTKQOXMarhutg8j_ZxM-Uw This seems wrong: I would expect ssh://g...@ss.abc.com/dev/test.git http://www.google.com/url?q=http%3A%2F%2Fgit%40ss.abc.com%2Fdev%2Ftest.gitsa=Dsntz=1usg=AFQjCNGcPTDYLTKQOXMarhutg8j_ZxM-Uw Björn -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3e3ca6d0-b4ce-4537-b91f-692ea6a39ad1%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/3e3ca6d0-b4ce-4537-b91f-692ea6a39ad1%40googlegroups.com?utm_medium=emailutm_source=footer . 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEeMP2imBanMzUpXSUmdq_nJBcavpxOAxT5n%2BP74m7kxw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
How to transfer a file parameter to sub jobs by build flow
Hi All, I am newbie here, i want to create a *Build Flow* job with some parallel sub jobs. The sub jobs need a file parameter, i want to trans a file from the main job to the sub jobs, do you know how to do that. very appreciate. eg: in the main job i have upload a file using File Parameter [image: Inline image 1] I want trans this file to sub jobs like: bulid(mySubJobName,* param1 : params[ServiceConfig]* I found it only transfer a String to the sub job. def ext = extension.'build-flow-concurrent-extensions' def myparams = new HashMap(params) // define some parameters myparams.put(ServerNode, SLAVE) myparams.put(RunType, Suite) myparams.put(Moduld, Smoking-Test.xml) build(myparams, mySubJobName) Thanks, Panos -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CACuxvdxrnF0Xr0%3D_ZKQ07zgq1y0s96zSdeYo1nEjjnsgvOKmPA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Update jenkins plugins automatically from local repo
Now I've tried to create my own update-center. Haven't done this before and now I stuck. Check this: https://groups.google.com/forum/#!topic/jenkinsci-users/ewt5cFxGm24 Am Mittwoch, 8. Juli 2015 19:25:26 UTC+2 schrieb Christoph Obexer: This would be so much easier if https://issues.jenkins-ci.org/browse/JENKINS-26231 was fixed... I don't see a reason why the json file needs to contain absolute URLs in the first place Br, Christoph Am 2015-07-08 um 08:52 schrieb Daniel Beck: You can define additional update centers on the Advanced tab of the plugin manager. Alternatively, UpdateSites Manager Plugin should be able to do replace the built-in update site. Remember that you need to cannot just use the same JSON (other download URLs), and need to sign the file contents. On 08.07.2015, at 08:40, jje j...@huber-online.com javascript: wrote: Hello Folks! As my jenkins server is running in a subnet without internet access i was wondering if it's possible to configure jenkins to check for plugin updates on variable URL different from jenkins plugin centre one. We are going to download content of plug in centre regularly and put it on our backup server. Is this practicable? =) Is there an other way to do so via scripting or console? If so could anyone provide an example? Thanks in advance! Joe -- 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:. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c922badb-ff45-4fcc-8b35-6bcc1db03aad%40googlegroups.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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c48098b4-82e1-47b4-8a86-ece3345f2ba9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Stuck creating local jenkins update center
ello Folks! As my jenkins server is running in a subnet without internet access i was wondering if it's possible to configure jenkins to check for plugin updates on variable URL different from jenkins plugin centre one. As prop'ed on https://github.com/ikedam/backend-update-center2/wiki/How-to-create-your-own-Jenkins-Update-Center I've tried to create my own json file, but now I'm stuck. I've did exactly the proposed steps and set up proper toolchain. As it is compiled as an maven prj., compiling was no problem. But maven actually fails creating the json Files. Here is toolchain I've used:Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100) Maven home: /usr/local/apache-maven Java version: 1.7.0_79, vendor: Oracle Corporation Java home: /opt/Oracle_Java/jdk1.7.0_79/jre Default locale: en_US, platform encoding: UTF-8 OS name: linux, version: 3.16.0-38-generic, arch: amd64, family: unix As maven is supposed to, it gets the plugins needed automatically - I didn't modified pom-File anyway. But trying to run generated jars, build process fails with null-ptr. execption: [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 1.186s [INFO] Finished at: Thu Jul 09 14:36:08 CEST 2015 [INFO] Final Memory: 12M/301M [INFO] [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:java (default-cli) on project update-center2: An exception occured while executing the Java class. null: InvocationTargetException: NullPointerException - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:java (default-cli) on project update-center2: An exception occured while executing the Java class. null at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoExecutionException: An exception occured while executing the Java class. null at org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:346) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at
Re: release link doesn't show up
Nevermind. I found the issue: https://issues.jenkins-ci.org/browse/JENKINS-28132 On Thursday, 9 July 2015 17:27:39 UTC-5, Tom Litton wrote: I'm having a problem with the release plugin. When i configure the release i don't see the release link on the main job page. I've attached screenshots of the release config for a simple test project and the job's main page that shows the missing release link. Do i have to do something else to get the link to show up? 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e2b9d0df-5405-48d0-8ac3-a0e36c86%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: release link doesn't show up
I forgot to mention i just upgraded to the latest version (jenkins: 1.619, and the release plugin: 2.5.3 https://10.135.101.14/pluginManager/plugin/release/thirdPartyLicenses) On Thursday, 9 July 2015 17:27:39 UTC-5, Tom Litton wrote: I'm having a problem with the release plugin. When i configure the release i don't see the release link on the main job page. I've attached screenshots of the release config for a simple test project and the job's main page that shows the missing release link. Do i have to do something else to get the link to show up? 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a9c89aef-7292-43aa-bd18-a023729bdea8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.