slave-agent.jnlp: Sun Java WebStart JNLP Stack Buffer Overflow Vulnerability (Sig Id=3854)
I configured 3 jenkins slaves on 3 window's server; All with Java 7 up55; Two of them were able to launch the JNLP slave agent from the brower, and installed as window's service; There is one, I cannot launch the slave directly from the slave's IE browser, When I clicked the Launch button, I got message box: Slave-agent.jnlp Open or Save When I clicked the Open button, it complains couldn't find program or run jnlp But after I saved the slave-agent.jnlp, I was able to launch it with java web start ; On the server McAfee Host Intrusion Prevention is installed, the log activity has: Attach type: Sun Java WebStart JNLP Stack Buffer Overflow Vulnerability (Sig Id=3854) My question: Is this behavior caused by McAfee Host Intrusion Prevention program? If yes, how should I instruct McAfee admin to allow JNLP being launched? Thanks. Lily -- 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.
Jenkins slave terminated error message
I setup a Jenkins slave (windows server 2008 R2 Standard, with Java 7 update 55JRE), and was running successfully for a week or so. Today, I had trouble to start the slave, I got the following error message when I tried to start the slave From command line ( from web browser, I got Jenkins slave Terminated): What is the problem? Thanks! Lily Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Jenkinsjava -jar slave.jar -jnlpUrl http://jenkinsmasterhost:8080/jenkins/compute r/TestNewNodeforPowerShell/slave-agent.jnlp -secret .. May 08, 2014 11:20:30 AM hudson.remoting.jnlp.Main$CuiListener init INFO: Jenkins agent is running in headless mode. May 08, 2014 11:20:30 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [http:// jenkinsmasterhost:8080/jenkins/] May 08, 2014 11:20:30 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connecting to jenkinsmasterhost:54807 May 08, 2014 11:20:30 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Handshaking May 08, 2014 11:20:30 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected May 08, 2014 11:20:30 AM hudson.remoting.SynchronousCommandTransport$ReaderThrea d run SEVERE: I/O error in channel channel java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(Synchron ousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Sourc e) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport. java:71) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(Synchron ousCommandTransport.java:48) May 08, 2014 11:20:30 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Terminated -- 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: Jenkins slave terminated error message
Ok, I am replying my message myself, it may help others: I checked MacAfee log file, didn't see blocked event; So I tried the first trick, restarted the Jenkins webserver, it worked. Lily From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Lily Fu Sent: Thursday, May 08, 2014 11:42 AM To: jenkinsci-users@googlegroups.com Subject: Jenkins slave terminated error message I setup a Jenkins slave (windows server 2008 R2 Standard, with Java 7 update 55JRE), and was running successfully for a week or so. Today, I had trouble to start the slave, I got the following error message when I tried to start the slave From command line ( from web browser, I got Jenkins slave Terminated): What is the problem? Thanks! Lily Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Jenkinsjava -jar slave.jar -jnlpUrl http://jenkinsmasterhost:8080/jenkins/compute r/TestNewNodeforPowerShell/slave-agent.jnlp -secret .. May 08, 2014 11:20:30 AM hudson.remoting.jnlp.Main$CuiListener init INFO: Jenkins agent is running in headless mode. May 08, 2014 11:20:30 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [http:// jenkinsmasterhost:8080/jenkins/] May 08, 2014 11:20:30 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connecting to jenkinsmasterhost:54807 May 08, 2014 11:20:30 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Handshaking May 08, 2014 11:20:30 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected May 08, 2014 11:20:30 AM hudson.remoting.SynchronousCommandTransport$ReaderThrea d run SEVERE: I/O error in channel channel java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(Synchron ousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Sourc e) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport. java:71) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(Synchron ousCommandTransport.java:48) May 08, 2014 11:20:30 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Terminated -- 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.commailto: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.
Launch slave-agent from slave's computer from Brower: MaCfee blocked it
Hi All, I am setting up another slave on a window’s computer (Windows Server 2008 R2 Standard) It has MaCfee installed; I installed java jre 7 update 55, and in Java Control Panel, added the jenkin’s master url to the list; However, I can’t launch the slave agent from the slave’s ie brower, Later I found the following in MaCfee’s Host Intrusion Prevention log: Attach type: sun Java WebStart JNLP Stack Buffer Overflow Vulnerability (Sig Id = 3854) I was able to launch the slave agent from command line, But it would be much easier if I can launch from IE brower by click the launch button. Any thoughts on how to make McCfee to accept this slave-agent from ie? Thanks, lily -- 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: How can Jenkins on Linux server to trigger PowerShell script on a window server?
Thanks Les, I am a junior on Jenkins. Have been hearing people talking about slave, but I was at at that level yet. Thank you for pointing me the direction. I will take a look of the slave configuration. Thanks! Lily -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Les Mikesell Sent: Friday, April 18, 2014 8:45 PM To: jenkinsci-users Subject: Re: How can Jenkins on Linux server to trigger PowerShell script on a window server? On Fri, Apr 18, 2014 at 2:57 PM, Lily Fu lily...@nesassociates.com wrote: Hi, I have a Jenkins server running on Redhat Linux server. Wants to trigger a PowerShell script on a remote window’s server. Can this be done? Did some research, 1. Install PowerShellWebAccess on the windows’ server, a client (such as web brower) can have a PowerShell console But, I don’t see how Jenkins to talk to this browser 2. Have SSH session from Linux to window’s server Has anyone done this before? Thanks a lot. Can't you just add the windows host as a jenkins slave and use a job restricted to that slave that runs whatever command you need? -- 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. -- 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: How can Jenkins on Linux server to trigger PowerShell script on a window server?
Thanks Daniel and Les, For now, I configured in Java Control Panel to add jenkin's webserver url as allowed site and it's working now. Lily -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Les Mikesell Sent: Monday, April 21, 2014 2:53 PM To: jenkinsci-users Subject: Re: How can Jenkins on Linux server to trigger PowerShell script on a window server? On Mon, Apr 21, 2014 at 1:46 PM, Lily Fu lily...@nesassociates.com wrote: On the slave window’s server, I installed java version 7 update 55 JRE I think you need to go to control panel/java and either tune down the security level or add your jenkins host as a site to allow. Depending on your windows version it may also work to configure jenkins to control the slave. -- 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. -- 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.
How can Jenkins on Linux server to trigger PowerShell script on a window server?
Hi, I have a Jenkins server running on Redhat Linux server. Wants to trigger a PowerShell script on a remote window’s server. Can this be done? Did some research, 1. Install PowerShellWebAccess on the windows’ server, a client (such as web brower) can have a PowerShell console But, I don’t see how Jenkins to talk to this browser 2. Have SSH session from Linux to window’s server Has anyone done this before? Thanks a lot. Lily -- 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: GitHub access using access token and Basic Authentication no longer working
I am using Jenkins 1.555 Git client 1.8.0 Git plugin 2.2.1 I was able to use https://username:passw...@github.com/github_username/github_repository maybe it’s fixed for git plugin 2.2.1 ? Lily From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Chris Jansen Sent: Friday, April 11, 2014 5:00 PM To: jenkinsci-users@googlegroups.com Subject: Re: GitHub access using access token and Basic Authentication no longer working Thanks Mark! Worked like a charm. Kevin, I agree it would have been helfpul if the plugin upgraded the URLs for you. Another nice-to-have would be for the plugin to lok for a basic auth formatted URL on pull failure and generate a more informative error message. On Friday, April 11, 2014 12:54:06 PM UTC-6, Kevin Fleming wrote: Another alternative would be for the plugin to automagically upgrade such URLs and create suitable Credentials for them, so that the user gains the benefits of the new method without their system getting broken. - Original Message - From: jenkins...@googlegroups.comjavascript: To: jenkins...@googlegroups.comjavascript: At: Apr 11 2014 14:43:42 Kevin is correct. I duplicated the bug you're describing. A GitHub URL of the form https://username:passw...@github.com/github_username/github_repository does not clone with the current version of the git client plugin (1.8.0) and the current version of the git plugin (2.2.0). If I take that same username and password and place them in a credential inside Jenkins, then reference that credential from the job definition, it works. Your workaround is to create a credential which includes that user name and password, then reference that credential from the Jenkins job definition. I think what you've found is a bug in the git plugin, since I think it should continue to support repository URL's which it supported before. However, since there is a work around, and since the work around has the benefit that it hides your user name and access token so they are no longer visible in the console log, I don't expect that bug will be fixed very soon. You could submit a bug report to https://issues.jenkins-ci.org/ so that the problem can be tracked. Mark Waite On Fri, Apr 11, 2014 at 12:28 PM, Kevin Fleming (BLOOMBERG/ 731 LEXIN) kpfl...@bloomberg.netjavascript: wrote: You have probably updated to a version of the Git client plugin that uses the Credentials plugin for storage of credentials, and doesn't support URLs with embedded credentials. At least, that seems likely based on what you are reporting. It's certainly not a Jenkins core issue. - Original Message - From: jenkins...@googlegroups.comjavascript: To: jenkins...@googlegroups.comjavascript: At: Apr 11 2014 14:16:37 Hi, I have been using a GitHub personal access token and basic authentication to pull from private GitHub repos from Jenkins. I use the GitHub Plugin, and then for each project, the GitHub Project and Git Repository URL settings are the same, with a format of: https://user:access_token@github.com/http://github.com/account/repo/. This has been working fine for months, until this past Wednesday. Now whenever I build I get an 'Invalid username or password' error (see below). I recreated the GitHub access token, which didn't fix the problem. I'm think the issue is on the Jenkins side, since I can use the same URL on the command-line to clone the repo, and it works fine. I upgraded Jenkins to 1.558, but then reverted back to 1.555, thinking the upgrade could have caused the problem. I'm still stuck without being able to pull from GitHub though. Started by user anonymous Building on master in workspace c:\build\ProjectA Fetching changes from the remote Git repository Fetching upstream changes from https://u...@github.com/account/repo/ FATAL: Failed to fetch from https://u...@github.com/account/repo/ hudson.plugins.git.GitException: Failed to fetch from https://u...@github.com/account/repo/ at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:623) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:855) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:880) at hudson.model.AbstractProject.checkout(AbstractProject.java:1414) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:671) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:580) at hudson.model.Run.execute(Run.java:1676) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 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 https://u...@github.com/account/repo/ +refs/heads/*:refs/remotes/origin/* returned status code 128: stdout: stderr: remote: Invalid username or password. fatal:
RE: GitHub access using access token and Basic Authentication no longer working
Sorry, I may have mis-led you. It worked for executing from shell… But for GIT SCM pulling, it does require credential to be set. Lily From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: Thursday, April 17, 2014 5:11 PM To: jenkinsci-users@googlegroups.com Subject: Re: GitHub access using access token and Basic Authentication no longer working That's surprising, since those are the exact versions of the plugins which I used and failed. I was using an API key and my user name (rather than my actual password). The username / API key pair worked fine from command line git (embedded in the URL in plaintext) and from a Jenkins credential, but did not work when embedded as plaintext in the URL in the Jenkins job. Unfortunately, I can't explain why my results are so different from yours. Mark Waite On Thu, Apr 17, 2014 at 12:11 PM, Lily Fu lily...@nesassociates.commailto:lily...@nesassociates.com wrote: I am using Jenkins 1.555 Git client 1.8.0 Git plugin 2.2.1 I was able to use https://username:passw...@github.com/github_username/github_repository maybe it’s fixed for git plugin 2.2.1 ? Lily From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] On Behalf Of Chris Jansen Sent: Friday, April 11, 2014 5:00 PM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Re: GitHub access using access token and Basic Authentication no longer working Thanks Mark! Worked like a charm. Kevin, I agree it would have been helfpul if the plugin upgraded the URLs for you. Another nice-to-have would be for the plugin to lok for a basic auth formatted URL on pull failure and generate a more informative error message. On Friday, April 11, 2014 12:54:06 PM UTC-6, Kevin Fleming wrote: Another alternative would be for the plugin to automagically upgrade such URLs and create suitable Credentials for them, so that the user gains the benefits of the new method without their system getting broken. - Original Message - From: jenkins...@googlegroups.commailto:jenkins...@googlegroups.com To: jenkins...@googlegroups.commailto:jenkins...@googlegroups.com At: Apr 11 2014 14:43:42 Kevin is correct. I duplicated the bug you're describing. A GitHub URL of the form https://username:passw...@github.com/github_username/github_repository does not clone with the current version of the git client plugin (1.8.0) and the current version of the git plugin (2.2.0). If I take that same username and password and place them in a credential inside Jenkins, then reference that credential from the job definition, it works. Your workaround is to create a credential which includes that user name and password, then reference that credential from the Jenkins job definition. I think what you've found is a bug in the git plugin, since I think it should continue to support repository URL's which it supported before. However, since there is a work around, and since the work around has the benefit that it hides your user name and access token so they are no longer visible in the console log, I don't expect that bug will be fixed very soon. You could submit a bug report to https://issues.jenkins-ci.org/ so that the problem can be tracked. Mark Waite On Fri, Apr 11, 2014 at 12:28 PM, Kevin Fleming (BLOOMBERG/ 731 LEXIN) kpfl...@bloomberg.netmailto:kpfl...@bloomberg.net wrote: You have probably updated to a version of the Git client plugin that uses the Credentials plugin for storage of credentials, and doesn't support URLs with embedded credentials. At least, that seems likely based on what you are reporting. It's certainly not a Jenkins core issue. - Original Message - From: jenkins...@googlegroups.commailto:jenkins...@googlegroups.com To: jenkins...@googlegroups.commailto:jenkins...@googlegroups.com At: Apr 11 2014 14:16:37 Hi, I have been using a GitHub personal access token and basic authentication to pull from private GitHub repos from Jenkins. I use the GitHub Plugin, and then for each project, the GitHub Project and Git Repository URL settings are the same, with a format of: https://user:access_token@github.com/http://github.com/account/repo/. This has been working fine for months, until this past Wednesday. Now whenever I build I get an 'Invalid username or password' error (see below). I recreated the GitHub access token, which didn't fix the problem. I'm think the issue is on the Jenkins side, since I can use the same URL on the command-line to clone the repo, and it works fine. I upgraded Jenkins to 1.558, but then reverted back to 1.555, thinking the upgrade could have caused the problem. I'm still stuck without being able to pull from GitHub though. Started by user anonymous Building on master in workspace c:\build\ProjectA Fetching changes from the remote Git repository Fetching
Upgrade Jenkins: problem
Hi, My Jenkins running as service on windows7 alert me there is newer version of Jenkins So I clicked the automatic update link, After Jenkins was restarted, I got localhost:8080 Directory:/ WEB-INF I removed Jenkins from service list and downloaded the lastest Jenkins.war And run java -jar Jenkins.war, Got address already in use: bind Error Now I am stuck. I wish I could start from scratch again. Lily [cid:image001.png@01CF3251.C975BCF0] -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. inline: image001.png
RE: Upgrade Jenkins: problem
Thanks Les, Yes, restart window is the trick... Lily -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Les Mikesell Sent: Tuesday, February 25, 2014 5:54 PM To: jenkinsci-users Subject: Re: Upgrade Jenkins: problem On Tue, Feb 25, 2014 at 4:48 PM, Lily Fu lily...@nesassociates.com wrote: Hi, My Jenkins running as service on windows7 alert me there is newer version of Jenkins So I clicked the automatic update link, After Jenkins was restarted, I got localhost:8080 Directory:/ WEB-INF I removed Jenkins from service list and downloaded the lastest Jenkins.war And run java -jar Jenkins.war, Got address already in use: bind Error Address already in use means you already have a copy running, listening on the same port. If you can't kill it through the service manager or task manager, rebooting should do it. -- 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. -- 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.
Jenjins: How to use variable in freestyle job?
Hello, I have a free style job, which will create a file, something like: Liquibase …. diffChangeLog … Diff.xml I want to name the Diff.xml with a timestamp or run id so that I can keep a list of files generated from each run, Something like Diff_2014_0218_01.xml Diff_2014_0218_02.xml Diff_2014_0219_01.xml Diff_2014_0219_01.xml …. How can I accomplish this? Is the Jenkins build with parameter? I tried, but not sure how to utilize it.. Thanks, Lily -- 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: Difficulty to make Jenkins talk to Git
1. I did have git plugin installed 2. I am very new,... what is the full stacktrace? Is it from the console output of the job? Lily From: jenkinsci-users@googlegroups.com [jenkinsci-users@googlegroups.com] on behalf of nicolas de loof [nicolas.del...@gmail.com] Sent: Thursday, February 13, 2014 3:15 AM To: jenkinsci-users@googlegroups.com Subject: Re: Difficulty to make Jenkins talk to Git you should be able to use credentials in URL (legacy mode). Please attach full stacktrace 2014-02-12 21:27 GMT+01:00 Kevin Fleming (BLOOMBERG/ 731 LEXIN) kpflem...@bloomberg.netmailto:kpflem...@bloomberg.net: You cannot include credentials in the repository URL. They must be specified in the 'credentials' area of the Git client plugin, and the location of that depends on which version of the plugin you installed. Which one do you have? - Original Message - From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com At: Feb 12 2014 15:14:23 Hi, I installed Git client 1.8.5.2 myself; We have a Git repository server at http://***.***.com:8080/git/git/Sth/sth.gitUrlBlockedError.aspx I used Jenkins management tool installed Git Client plugin; I tried to make jenjins talk to my Git repository: For a test job, selected Git And Repository URL: http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.gitUrlBlockedError.aspx I got: [*]Failed to connect to repository : Error performing command: git ls-remote -h http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.gitUrlBlockedError.aspx HEAD While, I was able to run git ls-remote -h http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.gitUrlBlockedError.aspx HEAD from git bash window; but not from window's cmd, How can I make my Jenkins talk to my Git Repository server? Thanks! Lily -- 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.commailto:jenkinsci-users%2bunsubscr...@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.commailto:jenkinsci-users%2bunsubscr...@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. inline: ATT1.gif
Difficulty to make Jenkins talk to Git
Hi, I installed Git client 1.8.5.2 myself; We have a Git repository server at http://***.***.com:8080/git/git/Sth/sth.git I used Jenkins management tool installed Git Client plugin; I tried to make jenjins talk to my Git repository: For a test job, selected Git And Repository URL: http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git I got: [*]Failed to connect to repository : Error performing command: git ls-remote -h http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git HEAD While, I was able to run git ls-remote -h http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git HEAD from git bash window; but not from window’s cmd, How can I make my Jenkins talk to my Git Repository server? Thanks! Lily -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. inline: image001.gif
RE: Re:Difficulty to make Jenkins talk to Git
Thank you for your reply, I installed the lastest: 1.6.1 Git Client Pluginhttp://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin Shared library plugin for other Git related Jenkins plugins. 1.6.1http://localhost:8080/pluginManager/plugin/git-client/thirdPartyLicenses From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Kevin Fleming (BLOOMBERG/ 731 LEXIN) Sent: Wednesday, February 12, 2014 3:28 PM To: jenkinsci-users@googlegroups.com Subject: Re:Difficulty to make Jenkins talk to Git You cannot include credentials in the repository URL. They must be specified in the 'credentials' area of the Git client plugin, and the location of that depends on which version of the plugin you installed. Which one do you have? - Original Message - From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com At: Feb 12 2014 15:14:23 Hi, I installed Git client 1.8.5.2 myself; We have a Git repository server at http://***.***.com:8080/git/git/Sth/sth.git I used Jenkins management tool installed Git Client plugin; I tried to make jenjins talk to my Git repository: For a test job, selected Git And Repository URL: http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git I got: [*]Failed to connect to repository : Error performing command: git ls-remote -h http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git HEAD While, I was able to run git ls-remote -h http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git HEAD from git bash window; but not from window’s cmd, How can I make my Jenkins talk to my Git Repository server? Thanks! Lily -- 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.commailto: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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. inline: image002.png
RE: How to create a job to run command line job from Jenkins (window)
Thanks for your reply, I am very new with Jenkins, so please excuse me for dummy questions: Yes, I created a free style job, scheduled to run at certain time, and added a command line job (tested) I got: (looks like the job was started by user anonymous, maybe the command liquibase is not available for this user? I tested a job for a simple ' dir c:\' it worked OK) Started by user anonymous Building in workspace C:\Users\lily.fu\.jenkins\jobs\LilyTest_LiquibaseDiff\workspace [workspace] $ sh -xe C:\windows\TEMP\hudson2336063048912468753.sh The system cannot find the file specified FATAL: command execution failed java.io.IOException: Cannot run program sh (in directory C:\Users\lily.fu\.jenkins\jobs\LilyTest_LiquibaseDiff\workspace): CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at hudson.Proc$LocalProc.init(Proc.java:244) at hudson.Proc$LocalProc.init(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:773) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:97) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:784) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565) at hudson.model.Run.execute(Run.java:1670) 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: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.init(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 16 more Build step 'Execute shell' marked build as failure Finished: FAILURE -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Les Mikesell Sent: Tuesday, February 11, 2014 6:07 PM To: jenkinsci-users Subject: Re: How to create a job to run command line job from Jenkins (window) On Tue, Feb 11, 2014 at 4:43 PM, Lily Fu lily...@nesassociates.com wrote: I am running Jenkins on Window7 now for testing purpose. Keep in mind that jenkins jobs don't necessarily have to run on the server - and the slaves don't have to have the same OS - even if you start on a single machine. I have a command line job (liquibase to compare two databases) I want to run the command line job twice a day ; How can I create such a job in Jenkins? Click the 'new job' link and create a free-style project. (basically like a cron job on linux) Under 'Build triggers' check 'build periodically' and fill in the schedule with the cron-like syntax that is explained if you click the ? symbol. Something like 0 1,13 * * * would run at 1 am and 1 pm. Then add a build step to execute a windows batch command to do the work. Did you try this and run into some problem? -- 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. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Jenkins on Redhat Linux: any requirement for linux version?
Hi , I have a very old linux (redhat 6, 2.6.9-103.EL ) Can I install Jenkins latest version, or upgrade from old Hudson on it? Or, better to upgrade the linux machine to the latest redhat 6? Thanks, Lily -- 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 on Redhat Linux: any requirement for linux version?
Thank you for your response. It's very helpful! Lily -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Les Mikesell Sent: Friday, February 07, 2014 4:08 PM To: jenkinsci-users Subject: Re: Jenkins on Redhat Linux: any requirement for linux version? On Fri, Feb 7, 2014 at 10:30 AM, Lily Fu lily...@nesassociates.com wrote: I have a very old linux (redhat 6, 2.6.9-103.EL ) Can I install Jenkins latest version, or upgrade from old Hudson on it? Or, better to upgrade the linux machine to the latest redhat 6? I'd recommend staying up to date on general principles, especially with redhat or centos where the updates rarely break things.But, for jenkins the jvm version will likely make more difference than the OS, and even that isn't too critical. -- 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. -- 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 on Redhat Linux: Install Jenkins on Redhat Linux
I did a java -version: $ java -version java version 1.6.0_07 Java(TM) SE Runtime Environment (build 1.6.0_07-b06) Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode) Seems not jdk? Need to install jdk first? Lily From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: Friday, February 07, 2014 6:04 PM To: jenkinsci-users@googlegroups.com Subject: RE: Jenkins on Redhat Linux: Install Jenkins on Redhat Linux You will need a recent java 6 or java 7. Are those available for so old an operating system? On Feb 7, 2014 3:44 PM, Lily Fu lily...@nesassociates.commailto:lily...@nesassociates.com wrote: Hi, I want to install Jenkins on Redhat 4 linux, Searched web, found the following instruction using yum to install https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions I just got this old computer, didn't find yum I don't want to make too much change if not necessary. Is there other ways to install Jenkins on RedHat4 without YUM? Thanks, Lily -Original Message- From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] On Behalf Of Les Mikesell Sent: Friday, February 07, 2014 4:08 PM To: jenkinsci-users Subject: Re: Jenkins on Redhat Linux: any requirement for linux version? On Fri, Feb 7, 2014 at 10:30 AM, Lily Fu lily...@nesassociates.commailto:lily...@nesassociates.com wrote: I have a very old linux (redhat 6, 2.6.9-103.EL ) Can I install Jenkins latest version, or upgrade from old Hudson on it? Or, better to upgrade the linux machine to the latest redhat 6? I'd recommend staying up to date on general principles, especially with redhat or centos where the updates rarely break things.But, for jenkins the jvm version will likely make more difference than the OS, and even that isn't too critical. -- Les Mikesell lesmikes...@gmail.commailto: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.commailto:jenkinsci-users%2bunsubscr...@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.commailto:jenkinsci-users%2bunsubscr...@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.commailto: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 on Redhat Linux: Install Jenkins on Redhat Linux
Thanks for the info. In this case, I will seek to get a better computer, OS... Lily From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: Friday, February 07, 2014 6:21 PM To: jenkinsci-users@googlegroups.com Subject: RE: Jenkins on Redhat Linux: Install Jenkins on Redhat Linux My recollection is that older java versions like yours will not run Jenkins reliably. The latest java 6 version is 45 (from Oracle) On Feb 7, 2014 4:09 PM, Lily Fu lily...@nesassociates.commailto:lily...@nesassociates.com wrote: I did a java -version: $ java -version java version 1.6.0_07 Java(TM) SE Runtime Environment (build 1.6.0_07-b06) Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode) Seems not jdk? Need to install jdk first? Lily From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: Friday, February 07, 2014 6:04 PM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: RE: Jenkins on Redhat Linux: Install Jenkins on Redhat Linux You will need a recent java 6 or java 7. Are those available for so old an operating system? On Feb 7, 2014 3:44 PM, Lily Fu lily...@nesassociates.commailto:lily...@nesassociates.com wrote: Hi, I want to install Jenkins on Redhat 4 linux, Searched web, found the following instruction using yum to install https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions I just got this old computer, didn't find yum I don't want to make too much change if not necessary. Is there other ways to install Jenkins on RedHat4 without YUM? Thanks, Lily -Original Message- From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] On Behalf Of Les Mikesell Sent: Friday, February 07, 2014 4:08 PM To: jenkinsci-users Subject: Re: Jenkins on Redhat Linux: any requirement for linux version? On Fri, Feb 7, 2014 at 10:30 AM, Lily Fu lily...@nesassociates.commailto:lily...@nesassociates.com wrote: I have a very old linux (redhat 6, 2.6.9-103.EL ) Can I install Jenkins latest version, or upgrade from old Hudson on it? Or, better to upgrade the linux machine to the latest redhat 6? I'd recommend staying up to date on general principles, especially with redhat or centos where the updates rarely break things.But, for jenkins the jvm version will likely make more difference than the OS, and even that isn't too critical. -- Les Mikesell lesmikes...@gmail.commailto: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.commailto:jenkinsci-users%2bunsubscr...@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.commailto:jenkinsci-users%2bunsubscr...@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.commailto: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.commailto:jenkinsci-users%2bunsubscr...@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.commailto: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.
How to install GIT Plug-in for Jenkins
Hi Everyone, I am very new with Jenkins. I installed Jenkins, wants to use GIT as my SCM. It seems I need to install GIT plug-in for Jenkins, I couldn't find an easy to follow manual on how to install GIT plug-in. Can you give me a hint? Thanks, Lily -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
RE: How to install GIT Plug-in for Jenkins
Thank you! This is way too easy... I was expecting much more complex steps... Only I got: Cannot find git.exe on my local computer (all paths) My git server is remote, how can I configure it to talk with remote git server? Thanks, Lily From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Stephen Connolly Sent: Tuesday, February 04, 2014 12:29 PM To: jenkinsci-users@googlegroups.com Subject: Re: How to install GIT Plug-in for Jenkins Jenkins Manage Jenkins Manage Plugins Available type git into the find box select the checkbox for the git plugin Click Install without restart Sit back, light your pipe, and enjoy the satisfaction of a job well done. On 4 February 2014 17:21, Lily Fu lily...@nesassociates.commailto:lily...@nesassociates.com wrote: Hi Everyone, I am very new with Jenkins. I installed Jenkins, wants to use GIT as my SCM. It seems I need to install GIT plug-in for Jenkins, I couldn't find an easy to follow manual on how to install GIT plug-in. Can you give me a hint? Thanks, Lily -- 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.commailto:jenkinsci-users%2bunsubscr...@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.commailto: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.