Parameterize server in Publish Over FTP

2015-05-27 Thread Tusike
Hi!

I'm trying to set up a job to publish some files to a remote FTP server. My 
problem is that the FTP server to which the files are sent should be 
configurable, and I don't know how to do that.

What I imagine is something like this:
1) Job A determines which FTP server the files should be sent to.
2) Job B copies my files to the server determined by Job A.
 
The FTP plugin used in Job B allows me to 'select an FTP configuration from 
the list [of the configured servers]...'
 
Can the FTP server determined by Job A somehow be added automatically and 
used here?
Or if not, and I manage the list of potential FTP servers manually, can I 
tell Job B to use the one determined by Job A?
 
Thanks for any help!
 
-Tusike

-- 
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/09e445b2-8fd6-479e-b96d-96796276bf88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Correct way to use Groovy library in PostBuild script

2015-05-27 Thread Mark Syms
We'd like to define (by means of a job-dsl-plugin template) a Groovy 
postbuild step that performs some transformation of an HTML file that is 
generated as part of the build job and add sections to the Job summary 
page. We have a script which works in a standalone test which uses the 
NekoHTML library to handle the HTML parsing but when we add this to Jenkins 
it fails as the library isn't available the Grab doesn't appear to be 
honoured. The WebUI does seem to allow for the definition additional 
classpath information but this isn't exposed in the DSL and the source for 
the GroovyPostBuild plugin (if I'm reading it correctly) has the classpath 
data marked as deprecated - in GroovyPostbuildRecorder.

I recognise that there are security concerns around letting general users 
to add untrusted libraries so this should be global definition.

Any pointers as to the right way of doing this would be appreciated.

Thanks,

Mark.

-- 
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/8793a4ca-e89d-4553-ba22-879a12e202ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins Migration from OS?

2015-05-27 Thread Les Mikesell
On Wed, May 27, 2015 at 1:13 AM, Kavitha Bhaskaran
kukki.kanch...@gmail.com wrote:
 Ok. 2 more questions

 1. How about between Scientific Linux and RHEL?

Likewise, almost identical.  CentOS and Scientific Linux are rebuilds
from the RHEL sources.  But since jenkins is java you should be able
to move across even more different platforms if you wanted.

 2. So you are saying, I can strip just the Jenkins setting from say
 Scientific Linux and add it to RHEL?

Yes, I'd probably do a new install with the rpm package, then change
any settings you need in /etc/sysconfig/jenkins (probably unique to
the rpm packaged version) and copy over the JENKINS_HOME contents.

-- 
   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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAOAgVpznsOoKmsYxP7rJTgreUk-q7aimAb6eY7H1TVF1WSu39Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: git clone impossible while slave is connecte

2015-05-27 Thread Mark Waite
You might try proving that the problem is specific to the slave by
modifying the job definition to force it to run on only on the master
node.  In the job configuration page for that job there is a field which
iwll allow you to restrict which nodes can run the job.  Place master
into that field (without the quotes), save the job configuration, and run
it again.

If that works, then change the value in the field to !master (not master
- without the quotes).  That should then force the job to run on the
slave.  If you have more than one slave, then you'll need to list the
specific slave name rather than the !master syntax.

Once you've shown that the problem is on the slave and not the master, then
you probably want to compare the configuration of the master and the slave.

One scenario I've seen that was similar to your described symptoms was due
to my having granted additional permissions to the jenkins user on the
master nodle which I did not grant to the jenkins user on the slave nodes.
In my case, I needed to add the private key of the jenkins user on the
master node as a credential (in Manage Credentials), then use that
credential in the configuration of the git plugin.

Mark Waite

On Wed, May 27, 2015 at 7:56 AM cd crille.dahlb...@gmail.com wrote:

 Hello,

 I have an interesting problem. I have a server running jenkins (linux)
 and a slave for running jobs (linux). When the slave is NOT connected then
 i can clone repos. BUT when the slave is connected, either from the master
 or the slave, then the job i stuck at cloning into Any suggestions?

 I have looked at the settings in /etc/ssh/... but cannot find anything
 unusual...

 /chris

 --
 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/87c886d2-4046-48bb-9004-ced3937fc4de%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/87c886d2-4046-48bb-9004-ced3937fc4de%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/CAO49JtFGSeqhtBkbDdkW4BF92JCgdFn0XuMuxiYr6ov77nzwuw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


ERROR:bluetooth_adapter_win.cc(102)] NOT IMPLEMENTED

2015-05-27 Thread saran raj


Hi


I am getting the below error when i am trying to launch chrome via Plugin 
*Execute Set of Scripts *in windows batch command.


C:\Program Files (x86)\Google\Chrome\ApplicationChrome.exe*03:21:58* 
[2904:3936:0527/032157:ERROR:bluetooth_adapter_win.cc(102)] NOT 
IMPLEMENTED*03:27:02* 
[2904:6592:0527/032701:ERROR:proxy_config_service_win.cc(136)] 
WinHttpGetIEProxyConfigForCurrentUser failed: 1018


Thanks

Saran

-- 
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/e8e20652-1671-418f-969d-2fbfa2cf80e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Better Logging for Jenkins Shutdown

2015-05-27 Thread Rob Mandeville
My Jenkins server went down last night, and the log showed no signs of trouble. 
 I am running:

Jenkins 1.565.1.LTS on
its own Winstone server on
Java HotSpot 64 bit 1.8.0_25-b17 on
Ubuntu 13.03 Saucy Salamander (yes, I know it's out of date) on a vSphere VM.

The log entries ended at 5:20 yesterday afternoon and started again when I ran 
'service jenkins start' at 8:20 this morning.  The relevant log segment is 
listed below the fold.

I see no 'JVM is terminating.  Shutting down winstone' message, so it doesn't 
look like a user did an orderly shutdown.

This instance is a memory hog; it takes about 15 minutes to bring up and has 
over 1,000 projects.  It is possible that the JVM ran out of memory or 
something, but I can't tell.

The worst case scenario (though very unlikely) is that someone ran 'kill -9' 
against the server.  In that case, there can't be a log entry.  But barring 
that, how can I increase the logging for typical shutdown conditions so that I 
have a better chance to know what happened next time?

--Rob



INFO: Branch development Project HSM DAL Manager Quick Static Code Analysis 
#129 main build action completed: SUCCESS
May 26, 2015 5:20:10 PM hudson.plugins.logparser.LogParserParser parseLogBody
INFO: LogParserParser: Start parsing : Branch development Project HSM DAL 
Manager Quick Static Code Analysis_build_129
May 26, 2015 5:20:13 PM hudson.plugins.logparser.LogParserParser parseLogBody
INFO: LogParserParser: Parsing took 0 minutes (3) seconds.
May 26, 2015 5:20:17 PM hudson.model.Run execute
INFO: Branch development Run SoapUI Smoke Tests #213 main build action 
completed: SUCCESS
May 26, 2015 5:20:18 PM hudson.model.Run execute
INFO: Branch development Smoke Tests #230 main build action completed: UNSTABLE
Running from: /usr/share/jenkins/jenkins.war.1.565.1.LTS
May 27, 2015 8:22:14 AM winstone.Logger logInternal
INFO: Beginning extraction from war file
May 27, 2015 8:22:14 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-8.y.z-SNAPSHOT
May 27, 2015 8:22:18 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
Jenkins home directory: /var/lib/jenkins found at: 
EnvVars.masterEnvVars.get(JENKINS_HOME)
May 27, 2015 8:22:19 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started SelectChannelConnector@0.0.0.0:8080
May 27, 2015 8:22:19 AM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
May 27, 2015 8:22:21 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
May 27, 2015 8:22:23 AM hudson.ClassicPluginStrategy createPluginWrapper
INFO: Plugin subversion.jpi is disabled
May 27, 2015 8:22:24 AM hudson.ClassicPluginStrategy createPluginWrapper
INFO: Plugin cvs.jpi is disabled
May 27, 2015 8:22:25 AM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins




This e-mail and the information, including any attachments it contains, are 
intended to be a confidential communication only to the person or entity to 
whom it is addressed and may contain information that is privileged. If the 
reader of this message is not the intended recipient, you are hereby notified 
that any dissemination, distribution or copying of this communication is 
strictly prohibited. If you have received this communication in error, please 
immediately notify the sender and destroy the original message.

Thank you.

Please consider the environment before printing this email.

-- 
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/0A40042D85E7C84DB443060EC44B3FD36D9BCC181A%40dekaexchange07.deka.local.
For more options, visit https://groups.google.com/d/optout.


git clone impossible while slave is connecte

2015-05-27 Thread cd
Hello,

I have an interesting problem. I have a server running jenkins (linux) 
and a slave for running jobs (linux). When the slave is NOT connected then 
i can clone repos. BUT when the slave is connected, either from the master 
or the slave, then the job i stuck at cloning into Any suggestions?

I have looked at the settings in /etc/ssh/... but cannot find anything 
unusual...

/chris

-- 
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/87c886d2-4046-48bb-9004-ced3937fc4de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: continuous integration for DOTNET using Jenkins and GIT

2015-05-27 Thread lpkrovi
Hi
when am trying to build  dot net application  am getting  bellow error 


*error MSB4019: The imported project C:\Program Files 
(x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets
 
was not found.*

* in jenkins *Under the Build section click the “Add build step” button and 
select “Build a Visual Studio project or solution using MSBuild”














*configured msbuild path in configured system 
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe.(i dont have 
visual studios in my machine)please let me know without installing visual 
studio can't i build in  dotnet application in jenkins(iam new in dot net 
and jenkin CI but  tried continuous integration with dotnet using  
documentation which you provided)could you please help to sort it out this  
?Thanks,Thank,lakshmi.*
On Wednesday, May 27, 2015 at 10:54:21 PM UTC+5:30, lpk...@gmail.com wrote:

 Hi,
  I am using GIT and jenkin for continuous integration.

 my jenkins and GIT installed in linux, want to build dot net application 
 in jenkins  .
  could you please let me know the steps automated Continuous integration 
 for  dotnet application.(include regression testing,code review,code 
 coverage) with all the metrics

  thanks,
 Lakshmi.



-- 
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/357068cd-8ed0-4022-832a-31bba925ebeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: continuous integration for DOTNET using Jenkins and GIT

2015-05-27 Thread Slide
It looks like the project you are building is using specific stuff from the
Visual Studio msbuild stuff. You may need to rework your project files for
them to build correctly without Visual Studio installed.

On Wed, May 27, 2015 at 11:11 AM lpkr...@gmail.com wrote:

 Hi
 when am trying to build  dot net application  am getting  bellow error


 *error MSB4019: The imported project C:\Program Files
 (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets
 was not found.*

 * in jenkins *Under the Build section click the “Add build step” button
 and select “Build a Visual Studio project or solution using MSBuild”














 *configured msbuild path in configured system
 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe.(i dont have
 visual studios in my machine)please let me know without installing visual
 studio can't i build in  dotnet application in jenkins(iam new in dot net
 and jenkin CI but  tried continuous integration with dotnet using
 documentation which you provided)could you please help to sort it out this
 ?Thanks,Thank,lakshmi.*

 On Wednesday, May 27, 2015 at 10:54:21 PM UTC+5:30, lpk...@gmail.com
 wrote:

 Hi,
  I am using GIT and jenkin for continuous integration.

 my jenkins and GIT installed in linux, want to build dot net application
 in jenkins  .
  could you please let me know the steps automated Continuous integration
 for  dotnet application.(include regression testing,code review,code
 coverage) with all the metrics

  thanks,
 Lakshmi.

  --
 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/357068cd-8ed0-4022-832a-31bba925ebeb%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/357068cd-8ed0-4022-832a-31bba925ebeb%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/CAPiUgVe_VMfpwKqxGyPKzvxXnpV039A2ih-XJr9qqSqTZih8vQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: continuous integration for DOTNET using Jenkins and GIT

2015-05-27 Thread Mark Waite
Or, just admit that installing Visual Studio on your build machine is
simpler and easier than reworking your build environment to not depend on
it.  If you modify the build to not depend on Visual Studio, you may break
the developers, or require that they work with less than the full features
of Visual Studio.  I assume one of the reasons the team is using
Microsoft.Net and Visual Studio is for the benefits gained by using those
tools.

I think you'll be much better adapting your continuous integration system
to match the developers than adapting your development to match your
continuous integration system.

Mark Waite

On Wed, May 27, 2015 at 12:13 PM Slide slide.o@gmail.com wrote:

 It looks like the project you are building is using specific stuff from
 the Visual Studio msbuild stuff. You may need to rework your project files
 for them to build correctly without Visual Studio installed.

 On Wed, May 27, 2015 at 11:11 AM lpkr...@gmail.com wrote:

 Hi
 when am trying to build  dot net application  am getting  bellow error


 *error MSB4019: The imported project C:\Program Files
 (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets
 was not found.*

 * in jenkins *Under the Build section click the “Add build step” button
 and select “Build a Visual Studio project or solution using MSBuild”














 *configured msbuild path in configured system
 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe.(i dont have
 visual studios in my machine)please let me know without installing visual
 studio can't i build in  dotnet application in jenkins(iam new in dot net
 and jenkin CI but  tried continuous integration with dotnet using
 documentation which you provided)could you please help to sort it out this
 ?Thanks,Thank,lakshmi.*

 On Wednesday, May 27, 2015 at 10:54:21 PM UTC+5:30, lpk...@gmail.com
 wrote:

 Hi,
  I am using GIT and jenkin for continuous integration.

 my jenkins and GIT installed in linux, want to build dot net
 application in jenkins  .
  could you please let me know the steps automated Continuous integration
 for  dotnet application.(include regression testing,code review,code
 coverage) with all the metrics

  thanks,
 Lakshmi.

  --
 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/357068cd-8ed0-4022-832a-31bba925ebeb%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/357068cd-8ed0-4022-832a-31bba925ebeb%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/CAPiUgVe_VMfpwKqxGyPKzvxXnpV039A2ih-XJr9qqSqTZih8vQ%40mail.gmail.com
 https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVe_VMfpwKqxGyPKzvxXnpV039A2ih-XJr9qqSqTZih8vQ%40mail.gmail.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/CAO49JtFuqTvoL10bQgkh0GzSEaFDsB3n_NZ48i6ufCmOdJf-vw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: text-finder-plugin

2015-05-27 Thread Angela Kim
Before reinventing the wheel, I wanted to see if something already existed.

-- 
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/e581d9c4-7439-4ea8-9803-678b4565afb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [workflow-plugin] Error script.sh: command not found when running shell script

2015-05-27 Thread Boris Chavez-Bravo
I think I have been able to get around this issue by wrapping the call to 
the script through a batch call:

withEnv([PATH=C:\\cygwin\\bin;%PATH%]) {
bat C:\\cygwin\\bin\\bash ./my_script.sh ${arg1} ${arg2}
}


On Wednesday, May 27, 2015 at 1:07:41 PM UTC-4, LesMikesell wrote:

 On Thu, Jan 8, 2015 at 12:35 PM, Jesse Glick jgl...@cloudbees.com 
 javascript: wrote: 
  On Friday, December 5, 2014 6:35:33 AM UTC-5, Rupali wrote: 
  
  So I am concluding that Shell script in in workflow step is not working 
 on 
  Windows slave. 
  
  
  Or more precisely, that shell scripts run via durable-task-plugin (this 
 also 
  includes the CloudBees Long-Running Build plugin) do not work on at 
 least 
  some Cygwin setups. Not surprising, since no one is testing this that I 
 know 
  of (only use of the ‘bat’ step), so pull requests are welcome. The 
 current 
  assumption is that ‘sh’ is available somewhere in the path, which 
 apparently 
  is not true in your case. 

 I'd go further and say that not much of anything you expect works on 
 Cygwin setups.  The environment variables that jenkins should export 
 to the slaves don't get set in the cygwin environment. 

 -- 
Les Mikesell 
  lesmi...@gmail.com javascript: 


-- 
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/c731e2d7-0b80-4d0c-b3ca-2bbbe13f6ae7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [workflow-plugin] Error script.sh: command not found when running shell script

2015-05-27 Thread Simon Richter
Hi,

On 27.05.2015 17:03, Boris Chavez-Bravo wrote:

 I am facing the exact same issue.  Has anyone come across a solution for 
 this problem?

This smells like one of those cases where you should have been calling
./script.sh, as the current directory is not on the search path for
very good reasons.

   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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5565E51B.1030604%40hogyros.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


RE: text-finder-plugin

2015-05-27 Thread Matthew.Webber
Why not just add another build step that does “find” and “grep”, and exits with 
the appropriate return code? (I’m assuming you’re on Linux here)
Matthew

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Angela Kim
Sent: 27 May 2015 15:48
To: jenkinsci-users@googlegroups.com
Subject: text-finder-plugin


We have a requirement to add a specific text comment to all of our source code. 
As a validation, during each CI build the changed files should be scanned to 
ensure that the required text has been added. If the comment does not exist, 
then the build should fail.
--


-- 
This e-mail and any attachments may contain confidential, copyright and or 
privileged material, and are for the use of the intended addressee only. If you 
are not the intended addressee or an authorised recipient of the addressee 
please notify us of receipt by returning the e-mail and do not use, copy, 
retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not 
necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments 
are free from viruses and we cannot accept liability for any damage which you 
may sustain as a result of software viruses which may be transmitted in or with 
the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and 
Wales with its registered office at Diamond House, Harwell Science and 
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

-- 
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/6836E1DC2DDC174C9D64B7860E5AF5FC9EE11DBA%40EXCHMBX01.fed.cclrc.ac.uk.
For more options, visit https://groups.google.com/d/optout.


Re: git clone impossible while slave is connecte

2015-05-27 Thread cd
 The job has been running on the master for a couple of month. Due to heavy 
load we have added a slave. When I run on the slave I specify the job to 
run on the slave specifically. I have tried both using credential passed 
from the master and adding credentials on the slave. When the connection 
between the slave and the master is up then I cannot even ssh from the 
slave to the master. Very strange... 

-- 
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/4c373710-baed-4409-82e0-4c72103c74e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unstoppable Jenkins job?

2015-05-27 Thread Suckow, Thomas J
Assuming this is on the master node, you could get thread stack traces from 
/threadDump (link in Manage Jenkins-System Information)

I believe it would be a thread labeled Executor...

I don't believe Jenkins can/will forcibly pull the rug out from under an 
executor. So if something about the job is in an infinite loop (probably plugin 
bug), it will not be able to be stopped.

If it is a slave elsewhere, I think the javameledy plugin can get slave stack 
traces, but not sure if you could install it and have it work without 
restarting. In this case, you could kill the process and jenkins should do the 
right thing.

-
Thomas

From: Craig Rodrigues rodr...@freebsd.orgmailto:rodr...@freebsd.org
Reply-To: 
jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com 
jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com
Date: Tuesday, May 26, 2015 at 7:06 PM
To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com 
jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com
Subject: Unstoppable Jenkins job?

Hi,

I'm using Jenkins 1.614, and I have a job which seems to be stuck, and I
can't stop it:

https://jenkins.freebsd.org/job/FreeBSD_HEAD-scan-build/124/

I tried clicking the X ( 
https://jenkins.freebsd.org/job/FreeBSD_HEAD-scan-build/124/stop)
to stop the job, but that didn't stop it.

An hints on how I can diagnose why this is stuck?
I'd rather not restart the Jenkins server to fix this

--
Craig

--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAG%3DrPVdzB0T3tX%3DjVxkOrJxThZSGQsYRPMvyJVJWppiJZVXeAQ%40mail.gmail.comhttps://groups.google.com/d/msgid/jenkinsci-users/CAG%3DrPVdzB0T3tX%3DjVxkOrJxThZSGQsYRPMvyJVJWppiJZVXeAQ%40mail.gmail.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/D18B28B0.1533B%25thomas.suckow%40pnnl.gov.
For more options, visit https://groups.google.com/d/optout.


Re: How to launch on-demand slaves immediately when needed?

2015-05-27 Thread Ed Donahue III
I've seen adding this -Djava.hudson.slaves.NodeProvisioner.MARGIN=1  to 
your JENKINS_JAVA_OPTIONS, helps speed up when a slave is kicked off.

Worded for me with mesos-jenkins-docker setup.

On Monday, July 21, 2014 at 3:27:49 AM UTC-4, Susanne Lindgren wrote:

 Short version

 I'm experiencing somewhat slow slave start up when nodes are offline. 
 Launch method is Launch slave via execution of command on the Master 
 (bash script), availability is Take this salve on-line when in demand and 
 off-line when idle and In demand delay is 0. When I launch a new job 
 while slaves are offline they take about a minute to start launching. If I 
 start slaves manually they come online immediately, so it is not our bash 
 script that is slow. How do I make on-demand slaves start launching as soon 
 as they are needed?

 Longer version

 I want (some of) my jenkins jobs to be executed on a build farm (Oracle 
 Grid Engine). The build farm does load balancing between servers in the 
 build farm and handles things as requests for a specific OS or 
 architecture. I would like it work like this:
 - A job is triggered somehow. For this example, assume that the job is 
 restricted to run on the build farm and on RHEL6.4.
 - A new jenkins node is launched immediately and connects to the build 
 farm. The build farm schedules a job to be run a RHEL6.4 server (it may 
 have to wait if no servers are available, or if the jenkins user has 
 already scheduled too many jobs). 
 - Preferrably the jenkins node receives information about the jenkins job 
 name and build number that caused it to be launched (so that the 
 information can be logged for any trouble shooting later).
 - When the jenkins job has finished, the jenkins node is disconnected.
 - No # of executors is needed, since the build farm has its own limit. 
 (?)

 The build farm is configured to automatically disconnect after 72 hours, 
 regardless of if there are any ongoing jobs, which means I cannot use Keep 
 this slave on-line as much as possible (I risk e.g. 
 DiagnosedStreamCorruptionException). This is not a build farm setting that 
 I can change.

 Currently, we have nodes with 
 - Launch method Launch slave via execution of command on the Master
 - Availability Take this salve on-line when in demand and off-line when 
 idle
 - In demand delay 0
 - Idle delay 1 (since it cannot be set to 0).
   
 The launch command runs a bash script on the master. The script sets up a 
 connection to the build farm and listens to it using netcat. When the build 
 farm assigns a server to the connection, slave.jar is launched and the 
 jenkins job is executed. When the slave has been idle for at least 1 minute 
 (or after at most 72 hours) it is disconnected.

 If we click the Launch slave agent button on the node's page, it is 
 immediately launched and ready for jenkins jobs, but if the node is 
 disconnected it takes about a minute before launch is started (or sometimes 
 even up to two minutes).

 Problems with this approach:
 - hudson.slaves.ComputerRetentionWork only checks if a slave is needed 
 once per minute, so there is normally a pretty long delay before a slave is 
 launched, that is, before the build farm can even start to find a host to 
 execute on. Users of our jenkins setup get very annoyed by this behavior.
 - More than one job can use the node while it is connected, and we do not 
 know which jobs that do so, which makes it difficult to trouble shoot any 
 problems.

 Any ideas on how to solve this? Can we do some groovy hack to listen for 
 the need for a specific jenkins node and launch it? Or do we need to write 
 our own plugin? Would that even be possible?


-- 
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/f6fc0cfa-8b3d-4b1f-b0ec-0e232447fc00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Better Logging for Jenkins Shutdown

2015-05-27 Thread Suckow, Thomas J
Nothing in the system logs?

From: Rob Mandeville 
rmandevi...@dekaresearch.commailto:rmandevi...@dekaresearch.com
Reply-To: 
jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com 
jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com
Date: Wednesday, May 27, 2015 at 6:09 AM
To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com 
jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com
Cc: Rob Mandeville 
rmandevi...@dekaresearch.commailto:rmandevi...@dekaresearch.com
Subject: Better Logging for Jenkins Shutdown

My Jenkins server went down last night, and the log showed no signs of trouble. 
 I am running:

Jenkins 1.565.1.LTS on
its own Winstone server on
Java HotSpot 64 bit 1.8.0_25-b17 on
Ubuntu 13.03 Saucy Salamander (yes, I know it’s out of date) on a vSphere VM.

The log entries ended at 5:20 yesterday afternoon and started again when I ran 
‘service jenkins start’ at 8:20 this morning.  The relevant log segment is 
listed below the fold.

I see no ‘JVM is terminating.  Shutting down winstone’ message, so it doesn’t 
look like a user did an orderly shutdown.

This instance is a memory hog; it takes about 15 minutes to bring up and has 
over 1,000 projects.  It is possible that the JVM ran out of memory or 
something, but I can’t tell.

The worst case scenario (though very unlikely) is that someone ran ‘kill -9’ 
against the server.  In that case, there can’t be a log entry.  But barring 
that, how can I increase the logging for typical shutdown conditions so that I 
have a better chance to know what happened next time?

--Rob



INFO: Branch development Project HSM DAL Manager Quick Static Code Analysis 
#129 main build action completed: SUCCESS
May 26, 2015 5:20:10 PM hudson.plugins.logparser.LogParserParser parseLogBody
INFO: LogParserParser: Start parsing : Branch development Project HSM DAL 
Manager Quick Static Code Analysis_build_129
May 26, 2015 5:20:13 PM hudson.plugins.logparser.LogParserParser parseLogBody
INFO: LogParserParser: Parsing took 0 minutes (3) seconds.
May 26, 2015 5:20:17 PM hudson.model.Run execute
INFO: Branch development Run SoapUI Smoke Tests #213 main build action 
completed: SUCCESS
May 26, 2015 5:20:18 PM hudson.model.Run execute
INFO: Branch development Smoke Tests #230 main build action completed: UNSTABLE
Running from: /usr/share/jenkins/jenkins.war.1.565.1.LTS
May 27, 2015 8:22:14 AM winstone.Logger logInternal
INFO: Beginning extraction from war file
May 27, 2015 8:22:14 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-8.y.z-SNAPSHOT
May 27, 2015 8:22:18 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
Jenkins home directory: /var/lib/jenkins found at: 
EnvVars.masterEnvVars.get(JENKINS_HOME)
May 27, 2015 8:22:19 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started 
SelectChannelConnector@0.0.0.0mailto:SelectChannelConnector@0.0.0.0:8080
May 27, 2015 8:22:19 AM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
May 27, 2015 8:22:21 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
May 27, 2015 8:22:23 AM hudson.ClassicPluginStrategy createPluginWrapper
INFO: Plugin subversion.jpi is disabled
May 27, 2015 8:22:24 AM hudson.ClassicPluginStrategy createPluginWrapper
INFO: Plugin cvs.jpi is disabled
May 27, 2015 8:22:25 AM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins




This e-mail and the information, including any attachments it contains, are 
intended to be a confidential communication only to the person or entity to 
whom it is addressed and may contain information that is privileged. If the 
reader of this message is not the intended recipient, you are hereby notified 
that any dissemination, distribution or copying of this communication is 
strictly prohibited. If you have received this communication in error, please 
immediately notify the sender and destroy the original message.

Thank you.

Please consider the environment before printing this email.

--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0A40042D85E7C84DB443060EC44B3FD36D9BCC181A%40dekaexchange07.deka.localhttps://groups.google.com/d/msgid/jenkinsci-users/0A40042D85E7C84DB443060EC44B3FD36D9BCC181A%40dekaexchange07.deka.local?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 

Re: Git credentials and scm-sync-configuration plugin

2015-05-27 Thread Costya Regev
Hi ,

Did you manage to solve this problem ?

On Friday, May 15, 2015 at 3:07:41 AM UTC+3, dougla...@gmail.com wrote:

 I couldn't find any way of entering Git credentials that the 
 scm-sync-configuration would use. Am I missing something?

 I have created credentials for our git server, and I am able to use these 
 to check out sources from the server as part of a job (over http). The git 
 plugin correctly generates a temporary credentials file, and uses it when 
 doing the fetch. I have failed to find any way to use these same 
 credentials to authenticate when scm-sync-configuration tries to push 
 changes to the same server. Viewing the git commands that 
 scm-sync-configuration is issuing, it doesn't appear to be trying to use 
 credentials at all. The git command-line client tries to get a password 
 from the console (which doesn't work, obviously), complaining as follows 
 (where the missing device is the console):

 SEVERE: [checkinFiles] Problem during SCM commit : fatal: could not read 
 Password for 'http://usern...@hostname.net': No such device or address

 I have set up credentials as:

- Jenkins, Credentials
   - hostname.net
   - Name: hostname.net
  - Hostname include: hostname.net
  - Username
 - Scope: Global
 - Username: username
 - Password: password
 
 Git and scm-sync are configured as follows:

- Jenkins, Configuration
   - SCM Sync configuration
  - Git repository URL: http://usern...@hostname.net/path/to/repo
  - Git
  - Name: Default
  - Path to Git: git (using the command-line git client here)
  
 My work-around was to store the git credentials from the command-line, 
 which isn't ideal (but does at least work):

 $ git config --global credential.helper store

 Is this a Git equivalent of the known Subversion issue discussed here: 
 https://issues.jenkins-ci.org/browse/JENKINS-21640, or am I missing 
 something obvious?

 Jenkins 1.596.2 (current LTS version)
 Credentials plugin 1.22
 Git client plugin 1.17.1
 Git plugin 2.3.5
 SCM sync configuration plugin 0.0.8

 ... all the latest versions, as far as I know.


-- 
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/e5a9dc85-109a-4317-8787-65e6e4b09e58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: git clone impossible while slave is connecte

2015-05-27 Thread cd
The job has been running on the master for a couple of month. Due to heavy 
load we have added a slave. When I run on the slave I specify the job to 
run on the slave specifically. I have tried both using credential passed 
from the master and adding credentials on the slave. When the connection 
between the slave and the master is up then I cannot even ssh from the 
slave to the master. Very strange... 

Den onsdag 27 maj 2015 kl. 16:03:18 UTC+2 skrev Mark Waite:

 You might try proving that the problem is specific to the slave by 
 modifying the job definition to force it to run on only on the master 
 node.  In the job configuration page for that job there is a field which 
 iwll allow you to restrict which nodes can run the job.  Place master 
 into that field (without the quotes), save the job configuration, and run 
 it again.

 If that works, then change the value in the field to !master (not master 
 - without the quotes).  That should then force the job to run on the 
 slave.  If you have more than one slave, then you'll need to list the 
 specific slave name rather than the !master syntax.

 Once you've shown that the problem is on the slave and not the master, 
 then you probably want to compare the configuration of the master and the 
 slave.

 One scenario I've seen that was similar to your described symptoms was due 
 to my having granted additional permissions to the jenkins user on the 
 master nodle which I did not grant to the jenkins user on the slave nodes.  
 In my case, I needed to add the private key of the jenkins user on the 
 master node as a credential (in Manage Credentials), then use that 
 credential in the configuration of the git plugin.

 Mark Waite 

 On Wed, May 27, 2015 at 7:56 AM cd crille@gmail.com javascript: 
 wrote:

 Hello,

 I have an interesting problem. I have a server running jenkins (linux) 
 and a slave for running jobs (linux). When the slave is NOT connected then 
 i can clone repos. BUT when the slave is connected, either from the master 
 or the slave, then the job i stuck at cloning into Any suggestions?

 I have looked at the settings in /etc/ssh/... but cannot find anything 
 unusual...

 /chris

 -- 
 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/87c886d2-4046-48bb-9004-ced3937fc4de%40googlegroups.com
  
 https://groups.google.com/d/msgid/jenkinsci-users/87c886d2-4046-48bb-9004-ced3937fc4de%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/316b80ba-a08b-4f72-9948-173c49bec5f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


text-finder-plugin

2015-05-27 Thread Angela Kim
 

We have a requirement to add a specific text comment to all of our source 
code. As a validation, during each CI build the changed files should be 
scanned to ensure that the required text has been added. If the comment 
does not exist, then the build should fail.

-- 
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/a1c9ad72-cd24-4f87-bc18-ff3f16f43c93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[workflow] - First failing Newbie (dir) steps

2015-05-27 Thread Markus Shorty Uckelmann

Hi all,

I just started to play a bit with the workflow-plugin and got stuck with 
dir step. My awesome code:


stage 'box'
node ('admins') {
  def dir = '7packer-boxes'
  sh mkdir ${dir} || :
  echo Changing to dir ${dir}
  sh pwd
  dir(${dir}) {
sh pwd
  }
}


The build starts, works to the point where the dir step is and then 
doesn't do anything. Also it just keeps running and I can't remove the 
build[1].


Jenkins:  1.596.3
Workflow: 1.6

Any help would be much appreciated.


[1] With /doDelete I can remove it from the slave but it still exists on 
the master. A restart of Jenkins might help.



Cheers, Shorty

--
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/5565E15F.6070808%40koeln.de.
For more options, visit https://groups.google.com/d/optout.


Re: git clone impossible while slave is connecte

2015-05-27 Thread cd
...and even if I disconnect i persists, the only way I have found to solve 
it is reboot... 

-- 
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/9e8f85b5-0c15-4cee-9f4f-542fc7a031b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [workflow-plugin] Error script.sh: command not found when running shell script

2015-05-27 Thread Boris Chavez-Bravo
I am facing the exact same issue.  Has anyone come across a solution for 
this problem?

On Thursday, January 8, 2015 at 1:35:42 PM UTC-5, Jesse Glick wrote:

 On Friday, December 5, 2014 6:35:33 AM UTC-5, Rupali wrote:

 So I am concluding that Shell script in in *workflow step* is not 
 working on Windows slave.


 Or more precisely, that shell scripts run via durable-task-plugin (this 
 also includes the CloudBees Long-Running Build plugin) do not work on at 
 least some Cygwin setups. Not surprising, since no one is testing this that 
 I know of (only use of the ‘bat’ step), so pull requests are welcome. The 
 current assumption is that ‘sh’ is available somewhere in the path, which 
 apparently is not true in your case.


-- 
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/b7714059-f53d-48b5-8d41-af1f063ff08e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [workflow-plugin] Error script.sh: command not found when running shell script

2015-05-27 Thread Les Mikesell
On Thu, Jan 8, 2015 at 12:35 PM, Jesse Glick jgl...@cloudbees.com wrote:
 On Friday, December 5, 2014 6:35:33 AM UTC-5, Rupali wrote:

 So I am concluding that Shell script in in workflow step is not working on
 Windows slave.


 Or more precisely, that shell scripts run via durable-task-plugin (this also
 includes the CloudBees Long-Running Build plugin) do not work on at least
 some Cygwin setups. Not surprising, since no one is testing this that I know
 of (only use of the ‘bat’ step), so pull requests are welcome. The current
 assumption is that ‘sh’ is available somewhere in the path, which apparently
 is not true in your case.

I'd go further and say that not much of anything you expect works on
Cygwin setups.  The environment variables that jenkins should export
to the slaves don't get set in the cygwin environment.

-- 
   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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAOAgVpzoY1atU%2BxGdRGMJswmCfYi%3D27TeHjJdhXqHfyrL5-C%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


continuous integration for DOTNET using Jenkins and GIT

2015-05-27 Thread lpkrovi
Hi,
 I am using GIT and jenkin for continuous integration.

my jenkins and GIT installed in linux, want to build dot net application 
in jenkins  .
 could you please let me know the steps automated Continuous integration 
for  dotnet application.(include regression testing,code review,code 
coverage) with all the metrics

 thanks,
Lakshmi.

-- 
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/4b99cdab-d27b-4899-ab1e-39b76e3db7a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: continuous integration for DOTNET using Jenkins and GIT

2015-05-27 Thread Mark Waite
I think you've asked for too much detail for a mailing list posting.

You might start with http://justinramel.com/2013/01/15/5-minute-setup/ and
review the material there, or you might start with the Jenkins wiki pages
like https://wiki.jenkins-ci.org/display/JENKINS/MSBuild+Plugin

I've run SharePoint development projects and other Microsoft.Net projects
on Jenkins with git source control by hosting one or more slave machines
running Windows with development environments (Visual Studio 2010 in our
case).  You'll probably want to investigate the MSBuild plugin, the NUnit
plugin, and the other pointers that appear from a web search of topics
like Microsoft.Net Jenkins or Jenkins MSBuild, or Jenkins Windows
regression testing.

Mark Waite

On Wed, May 27, 2015 at 11:24 AM lpkr...@gmail.com wrote:

 Hi,
  I am using GIT and jenkin for continuous integration.

 my jenkins and GIT installed in linux, want to build dot net application
 in jenkins  .
  could you please let me know the steps automated Continuous integration
 for  dotnet application.(include regression testing,code review,code
 coverage) with all the metrics

  thanks,
 Lakshmi.

  --
 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/4b99cdab-d27b-4899-ab1e-39b76e3db7a5%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/4b99cdab-d27b-4899-ab1e-39b76e3db7a5%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/CAO49JtEg7s64LE2785r2eQRxpf%2BF8UaA6F3qh7QQm-octZMWTA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Better Logging for Jenkins Shutdown

2015-05-27 Thread Rob Mandeville
Thanks!  It got hit by the OOM killer.  I should have thought of that first.

--Rob

-Original Message-
From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck
Sent: Wednesday, May 27, 2015 12:40 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: Better Logging for Jenkins Shutdown

Check the system logs. Too large of an Xmx may have Linux kill off your process 
(oom-killer).

On 27.05.2015, at 15:09, Rob Mandeville rmandevi...@dekaresearch.com wrote:

 My Jenkins server went down last night, and the log showed no signs of 
 trouble.  I am running:

 Jenkins 1.565.1.LTS on
 its own Winstone server on
 Java HotSpot 64 bit 1.8.0_25-b17 on
 Ubuntu 13.03 Saucy Salamander (yes, I know it’s out of date) on a vSphere VM.

 The log entries ended at 5:20 yesterday afternoon and started again when I 
 ran ‘service jenkins start’ at 8:20 this morning.  The relevant log segment 
 is listed below the fold.

 I see no ‘JVM is terminating.  Shutting down winstone’ message, so it doesn’t 
 look like a user did an orderly shutdown.

 This instance is a memory hog; it takes about 15 minutes to bring up and has 
 over 1,000 projects.  It is possible that the JVM ran out of memory or 
 something, but I can’t tell.

 The worst case scenario (though very unlikely) is that someone ran ‘kill -9’ 
 against the server.  In that case, there can’t be a log entry.  But barring 
 that, how can I increase the logging for typical shutdown conditions so that 
 I have a better chance to know what happened next time?

 --Rob



 INFO: Branch development Project HSM DAL Manager Quick Static Code
 Analysis #129 main build action completed: SUCCESS May 26, 2015
 5:20:10 PM hudson.plugins.logparser.LogParserParser parseLogBody
 INFO: LogParserParser: Start parsing : Branch development Project HSM
 DAL Manager Quick Static Code Analysis_build_129 May 26, 2015 5:20:13
 PM hudson.plugins.logparser.LogParserParser parseLogBody
 INFO: LogParserParser: Parsing took 0 minutes (3) seconds.
 May 26, 2015 5:20:17 PM hudson.model.Run execute
 INFO: Branch development Run SoapUI Smoke Tests #213 main build action
 completed: SUCCESS May 26, 2015 5:20:18 PM hudson.model.Run execute
 INFO: Branch development Smoke Tests #230 main build action completed:
 UNSTABLE Running from: /usr/share/jenkins/jenkins.war.1.565.1.LTS
 May 27, 2015 8:22:14 AM winstone.Logger logInternal
 INFO: Beginning extraction from war file May 27, 2015 8:22:14 AM
 org.eclipse.jetty.util.log.JavaUtilLog info
 INFO: jetty-8.y.z-SNAPSHOT
 May 27, 2015 8:22:18 AM org.eclipse.jetty.util.log.JavaUtilLog info
 INFO: NO JSP Support for , did not find
 org.apache.jasper.servlet.JspServlet
 Jenkins home directory: /var/lib/jenkins found at:
 EnvVars.masterEnvVars.get(JENKINS_HOME)
 May 27, 2015 8:22:19 AM org.eclipse.jetty.util.log.JavaUtilLog info
 INFO: Started SelectChannelConnector@0.0.0.0:8080
 May 27, 2015 8:22:19 AM winstone.Logger logInternal
 INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled May
 27, 2015 8:22:21 AM jenkins.InitReactorRunner$1 onAttained
 INFO: Started initialization
 May 27, 2015 8:22:23 AM hudson.ClassicPluginStrategy
 createPluginWrapper
 INFO: Plugin subversion.jpi is disabled May 27, 2015 8:22:24 AM
 hudson.ClassicPluginStrategy createPluginWrapper
 INFO: Plugin cvs.jpi is disabled
 May 27, 2015 8:22:25 AM jenkins.InitReactorRunner$1 onAttained
 INFO: Listed all plugins



 This e-mail and the information, including any attachments it contains, are 
 intended to be a confidential communication only to the person or entity to 
 whom it is addressed and may contain information that is privileged. If the 
 reader of this message is not the intended recipient, you are hereby notified 
 that any dissemination, distribution or copying of this communication is 
 strictly prohibited. If you have received this communication in error, please 
 immediately notify the sender and destroy the original message.

 Thank you.

 Please consider the environment before printing this email.

 --
 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/0A40042D85E7C84DB443060EC44B3FD36D9BCC181A%40dekaexchange07.deka.local.
 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/20B968A5-8400-40A7-8E24-2B82B47C4D41%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


 Click 

Re: Better Logging for Jenkins Shutdown

2015-05-27 Thread Daniel Beck
Check the system logs. Too large of an Xmx may have Linux kill off your process 
(oom-killer).

On 27.05.2015, at 15:09, Rob Mandeville rmandevi...@dekaresearch.com wrote:

 My Jenkins server went down last night, and the log showed no signs of 
 trouble.  I am running:
  
 Jenkins 1.565.1.LTS on
 its own Winstone server on
 Java HotSpot 64 bit 1.8.0_25-b17 on
 Ubuntu 13.03 Saucy Salamander (yes, I know it’s out of date) on a vSphere VM.
  
 The log entries ended at 5:20 yesterday afternoon and started again when I 
 ran ‘service jenkins start’ at 8:20 this morning.  The relevant log segment 
 is listed below the fold.
  
 I see no ‘JVM is terminating.  Shutting down winstone’ message, so it doesn’t 
 look like a user did an orderly shutdown.
  
 This instance is a memory hog; it takes about 15 minutes to bring up and has 
 over 1,000 projects.  It is possible that the JVM ran out of memory or 
 something, but I can’t tell.
  
 The worst case scenario (though very unlikely) is that someone ran ‘kill -9’ 
 against the server.  In that case, there can’t be a log entry.  But barring 
 that, how can I increase the logging for typical shutdown conditions so that 
 I have a better chance to know what happened next time?
  
 --Rob
  
  
  
 INFO: Branch development Project HSM DAL Manager Quick Static Code Analysis 
 #129 main build action completed: SUCCESS
 May 26, 2015 5:20:10 PM hudson.plugins.logparser.LogParserParser parseLogBody
 INFO: LogParserParser: Start parsing : Branch development Project HSM DAL 
 Manager Quick Static Code Analysis_build_129
 May 26, 2015 5:20:13 PM hudson.plugins.logparser.LogParserParser parseLogBody
 INFO: LogParserParser: Parsing took 0 minutes (3) seconds.
 May 26, 2015 5:20:17 PM hudson.model.Run execute
 INFO: Branch development Run SoapUI Smoke Tests #213 main build action 
 completed: SUCCESS
 May 26, 2015 5:20:18 PM hudson.model.Run execute
 INFO: Branch development Smoke Tests #230 main build action completed: 
 UNSTABLE
 Running from: /usr/share/jenkins/jenkins.war.1.565.1.LTS
 May 27, 2015 8:22:14 AM winstone.Logger logInternal
 INFO: Beginning extraction from war file
 May 27, 2015 8:22:14 AM org.eclipse.jetty.util.log.JavaUtilLog info
 INFO: jetty-8.y.z-SNAPSHOT
 May 27, 2015 8:22:18 AM org.eclipse.jetty.util.log.JavaUtilLog info
 INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
 Jenkins home directory: /var/lib/jenkins found at: 
 EnvVars.masterEnvVars.get(JENKINS_HOME)
 May 27, 2015 8:22:19 AM org.eclipse.jetty.util.log.JavaUtilLog info
 INFO: Started SelectChannelConnector@0.0.0.0:8080
 May 27, 2015 8:22:19 AM winstone.Logger logInternal
 INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
 May 27, 2015 8:22:21 AM jenkins.InitReactorRunner$1 onAttained
 INFO: Started initialization
 May 27, 2015 8:22:23 AM hudson.ClassicPluginStrategy createPluginWrapper
 INFO: Plugin subversion.jpi is disabled
 May 27, 2015 8:22:24 AM hudson.ClassicPluginStrategy createPluginWrapper
 INFO: Plugin cvs.jpi is disabled
 May 27, 2015 8:22:25 AM jenkins.InitReactorRunner$1 onAttained
 INFO: Listed all plugins
  
  
 
 This e-mail and the information, including any attachments it contains, are 
 intended to be a confidential communication only to the person or entity to 
 whom it is addressed and may contain information that is privileged. If the 
 reader of this message is not the intended recipient, you are hereby notified 
 that any dissemination, distribution or copying of this communication is 
 strictly prohibited. If you have received this communication in error, please 
 immediately notify the sender and destroy the original message.
 
 Thank you.
 
 Please consider the environment before printing this email.
 
 -- 
 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/0A40042D85E7C84DB443060EC44B3FD36D9BCC181A%40dekaexchange07.deka.local.
 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/20B968A5-8400-40A7-8E24-2B82B47C4D41%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins Migration from OS?

2015-05-27 Thread Kavitha Bhaskaran
Ok. 2 more questions

1. How about between Scientific Linux and RHEL? 
2. So you are saying, I can strip just the Jenkins setting from say 
Scientific Linux and add it to RHEL?



On Tuesday, May 26, 2015 at 10:02:40 PM UTC-7, LesMikesell wrote:

 On Tue, May 26, 2015 at 11:01 PM, Kavitha Bhaskaran 
 kukki.k...@gmail.com javascript: wrote: 
  Hello There: 
  
  Not sure if this is possible but is it possible to migrate Jenkins from 
 one 
  OS to another. Lets say I have Jenkins right now on RHEL and I would 
 like to 
  move it to CentOS. Is there a way to do it? 
  

 There's next-to-no difference between RHEL and CentOS.  Pretty much 
 any backup/restore strategy should work - or just rsync'ing the 
 jenkins home directory to the new system. 

 -- 
   Les Mikesell 
lesmi...@gmail.com javascript: 


-- 
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/633f53e7-55cf-4f32-91f7-3d17f9382db9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins Wallpapers?

2015-05-27 Thread Kavitha Bhaskaran
Thanks SteloisP and Christpher Orr - I was exactly looking for the Meme - 
thanks!

On Friday, May 22, 2015 at 9:36:10 AM UTC-7, Christopher Orr wrote:

 Sounds like this one: 
 https://wiki.jenkins-ci.org/display/JENKINS/Meme+Generator+Plugin 


 On 22/05/15 07:21, Kavitha Bhaskaran wrote: 
  Hi There: 
  
  What plugin would give me different funny wallpapers on Jenkins server - 
  builds' result page? 
  
  
 http://apmblog.dynatrace.com/2013/11/27/continuous-performance-validation-in-continuous-integration-environments/
  
  -- some pics like here is what I am thinking I dont always test my 
  code... I dont have JIRA - just Jenkins. 
  
  I looked up the plugins but could not easily tell which one could be 
 this.. 


-- 
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/1cfce024-b625-44e6-b82f-84759d9a2f1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [workflow-plugin] getting error: java.io.NotSerializableException: java.util.HashMap$Entry

2015-05-27 Thread Angelo Cuttitta
Dear,
 
 
I'm facing to the same kind of issue, trying to run multiple jobs in 
parallel.
Hence, unfortunately, I can't help you... :-(
 
I was just wondering if you found a solution, since you posted your message?
 
Kr,
A.

Le mardi 31 mars 2015 21:58:27 UTC+2, Adam R. Paul a écrit :

 Hello, 

 I'm working on my first workflow job, using Jenkins LTS 1.596.2  
 workflow 1.4, and am getting the following error: 

 [...] 
 Running: Execute sub-workflows in parallel : Body : End 
 Running: End of Workflow 
 java.io.NotSerializableException: java.util.HashMap$Entry 
 [...] 

 I confess I am not yet fluent in groovy, and only passingly familiar 
 with java, so this may be something simple/stupid, but googling around 
 didn't show anything that seemed applicable. 

 The relevant except of my workflow is: 

  
 def bport_cmds = [:] 

 // first determine the RTIs/bugs to backport: 
 node (gates) { 
  runscript(01_gen_buglist -s ${SCRIPT_HOME}/../not-in-sru-bugs -u 
 ${SCRIPT_HOME}/../in-update-bugs) 
  def j = readFile(build.params) 
  //echo j.toString() 
  def rti = new JsonSlurper().parseText(j.toString()) 

  // populate map of backport commands to run in parallel 
  for (Map.EntryString, List entry : rti.entrySet()) { 
  def script = 02_do_backports -r  + entry.getKey() +  -b  
  def cnt = 0 
  for (bug in entry.getValue()) { 
  if (cnt == 0) { 
  script += bug 
  } else { 
  script += , + bug 
  } 
  cnt++ 
  } 
  bport_cmds[entry.getKey()] = { echo Would have run  + script } 
  } 
  rti = null 
 } 

 echo bport_cmds.toString() 

 // run the backports in parallel: 
 parallel bport_cmds 
 bport_cmds = null 
  

 Before adding the parallel call, everything works as expected. 

 Any ideas? 

 The redacted console output is: 

  
 Started by user anonymous 
 Running: Allocate node : Start 
 Running on host in dir 
 Running: Allocate node : Body : Start 
 Running: Shell Script 
 01_genbuglist script output 
 Running: Read file from workspace 
 Running: Allocate node : Body : End 
 Running: Allocate node : End 
 Running: Print Message 
 [403412:com.cloudbees.groovy.cps.impl.CpsClosure@3d839d, 
 403850:com.cloudbees.groovy.cps.impl.CpsClosure@1bf9ea2, 
 402337:com.cloudbees.groovy.cps.impl.CpsClosure@147a2ae] 
 Running: Execute sub-workflows in parallel : Start 
 [403412] Running: Parallel branch: 403412 
 [403850] Running: Parallel branch: 403850 
 [402337] Running: Parallel branch: 402337 
 [403412] Running: Print Message 
 [403412] Would have run 02_do_backports -r 403412 -b 19320107 
 Running: Execute sub-workflows in parallel : Body : End 
 [403850] Running: Print Message 
 [403850] Would have run 02_do_backports -r 403850 -b 19863042,19404161 
 Running: Execute sub-workflows in parallel : Body : End 
 [402337] Running: Print Message 
 [402337] Would have run 02_do_backports -r 402337 -b 17500325 
 Running: Execute sub-workflows in parallel : Body : End 
 Running: End of Workflow 
 java.io.NotSerializableException: java.util.HashMap$Entry 
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:860)
  

  at 
 org.jboss.marshalling.river.BlockMarshaller.doWriteObject(BlockMarshaller.java:65)
  

  at 
 org.jboss.marshalling.river.BlockMarshaller.writeObject(BlockMarshaller.java:56)
  

  at 
 org.jboss.marshalling.MarshallerObjectOutputStream.writeObjectOverride(MarshallerObjectOutputStream.java:50)
  

  at 
 org.jboss.marshalling.river.RiverObjectOutputStream.writeObjectOverride(RiverObjectOutputStream.java:179)
  

  at 
 java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:343) 
  at java.util.HashMap.writeObject(HashMap.java:1129) 
  at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) 
  at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  

  at java.lang.reflect.Method.invoke(Method.java:606) 
  at 
 org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:271)
  

  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:976)
  

  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854)
  

  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
  

  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
  

  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:967)
  

  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854)
  

  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
  

  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
  

Re: Git credentials and scm-sync-configuration plugin

2015-05-27 Thread douglas . royds
Nope, still depending on the under-the-bonnet `credential-helper` 
work-around, sorry.

-- 
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/ba7f6f48-3dbb-4c5e-9363-011c7783cc30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git credentials and scm-sync-configuration plugin

2015-05-27 Thread douglas . royds
Nope, still depending on the under-the-bonnet `credential-helper` 
work-around, sorry.

On Thursday, 28 May 2015 03:15:53 UTC+12, Costya Regev wrote:

 Hi ,

 Did you manage to solve this problem ?

 On Friday, May 15, 2015 at 3:07:41 AM UTC+3, dougla...@gmail.com wrote:

 I couldn't find any way of entering Git credentials that the 
 scm-sync-configuration would use. Am I missing something?

 I have created credentials for our git server, and I am able to use these 
 to check out sources from the server as part of a job (over http). The git 
 plugin correctly generates a temporary credentials file, and uses it when 
 doing the fetch. I have failed to find any way to use these same 
 credentials to authenticate when scm-sync-configuration tries to push 
 changes to the same server. Viewing the git commands that 
 scm-sync-configuration is issuing, it doesn't appear to be trying to use 
 credentials at all. The git command-line client tries to get a password 
 from the console (which doesn't work, obviously), complaining as follows 
 (where the missing device is the console):

 SEVERE: [checkinFiles] Problem during SCM commit : fatal: could not read 
 Password for 'http://usern...@hostname.net': No such device or address

 I have set up credentials as:

- Jenkins, Credentials
   - hostname.net
   - Name: hostname.net
  - Hostname include: hostname.net
  - Username
 - Scope: Global
 - Username: username
 - Password: password
 
 Git and scm-sync are configured as follows:

- Jenkins, Configuration
   - SCM Sync configuration
  - Git repository URL: http://usern...@hostname.net/path/to/repo
  - Git
  - Name: Default
  - Path to Git: git (using the command-line git client here)
  
 My work-around was to store the git credentials from the command-line, 
 which isn't ideal (but does at least work):

 $ git config --global credential.helper store

 Is this a Git equivalent of the known Subversion issue discussed here: 
 https://issues.jenkins-ci.org/browse/JENKINS-21640, or am I missing 
 something obvious?

 Jenkins 1.596.2 (current LTS version)
 Credentials plugin 1.22
 Git client plugin 1.17.1
 Git plugin 2.3.5
 SCM sync configuration plugin 0.0.8

 ... all the latest versions, as far as I know.



-- 
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/ad48ecf4-c90f-4423-840d-2b559d4c3374%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Permission denied when using shell command on Mac Mesos slave

2015-05-27 Thread Ryanivanka
 

Hi Experts, 

I met a problem on Mac. I add my mac mini to a mesosphere infrastructur*e, 
it works ok, the executor can launch right on mac slave. But when I want to 
execute some shell command, like “cp”, “mount”, it show as permission 
control. It shows jenkins slave is using “root” user. Why I cannot use 
these commands?*

Thanks,

Ryanivanka

-- 
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/290bf79d-545a-4bea-ae68-6a2730f05b7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: text-finder-plugin

2015-05-27 Thread Christopher Orr

On 27/05/15 16:48, Angela Kim wrote:

We have a requirement to add a specific text comment to all of our
source code. As a validation, during each CI build the changed files
should be scanned to ensure that the required text has been added. If
the comment does not exist, then the build should fail.


Ok, but what is your question?  Are you trying to say that you've tried 
the Text Finder Plugin to implement your requirement, but failed?


In the absence of more info, I'm with Matthew — using something other 
than `find` and `grep` seems like reinventing the wheel :)


-Chris

--
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/556652BE.2090606%40orr.me.uk.
For more options, visit https://groups.google.com/d/optout.


Re: text-finder-plugin

2015-05-27 Thread Angela Kim
Whoops...
Question is if the text-find-plugin can be used to scan the changed files
for the required text?
On May 27, 2015 7:27 PM, Christopher Orr ch...@orr.me.uk wrote:

 On 27/05/15 16:48, Angela Kim wrote:

 We have a requirement to add a specific text comment to all of our
 source code. As a validation, during each CI build the changed files
 should be scanned to ensure that the required text has been added. If
 the comment does not exist, then the build should fail.


 Ok, but what is your question?  Are you trying to say that you've tried
 the Text Finder Plugin to implement your requirement, but failed?

 In the absence of more info, I'm with Matthew — using something other than
 `find` and `grep` seems like reinventing the wheel :)

 -Chris

 --
 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/i5vGQqZXBmY/unsubscribe.
 To unsubscribe from this group and all its topics, 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/556652BE.2090606%40orr.me.uk
 .
 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/CAKvhRznDA4%2BH5O9CxS6CJWRp23H_eamnWN-F8ELLMyUOkPh%3D_w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


jira plugin

2015-05-27 Thread g.fer.ordas
Hi

I would like to know about a jura plugin which will simple raise a new 
issue upon completion of a job.

I got the following installed:

https://wiki.jenkins-ci.org/display/JENKINS/JIRA+Plugin

I have defined in my job :
Post build Action -Create Jira Issue

But for some reason it does not seem to do anything at all. 

Maybe any other plugin o top in relation with some Jira ticket automation? 
(just to create the issue)

If that is the right Plugin and the correct task,. Any tips how to maybe 
debug or configure that properly?

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/52538f81-d9d0-4da0-9b72-10d1dc5535d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins + Selenium: Selenium Configuration won't start on slave

2015-05-27 Thread Astou Sene
Hello!

I have Jenkins with Selenium plugin setup on a Linux server (Red Hat 
Enterprise Linux Server release 6.6 (Santiago) Linux 
2.6.32-504.8.1.el6.x86_64 #1 SMP Fri Dec 19 12:09:25 EST 2014 x86_64 x86_64 
x86_64 GNU/Linux) and I am trying to connect some Windows 7 slaves to it.
The slaves are configured to be launched via SSH ( I had to setup them up 
with Cygwin since they are Windows).
I see them connected as Jenkins nodes but when I try to start their 
Selenium configuration, nothing happens. In the Jenkins log, the following 
message appears every time I try to start a configuration.

Unable to determine node's hostname. Skipping


It should be noted that this setup used to work until a recent move to a more 
locked down data center. I looked up what this message means and one 
explanation was that it could be due to the fact that the master and the slave 
are in different private networks. This is similar to my current situation. 
Another explanation was that the Java implementation of ping for *nix machines 
requires root permissions to run properly 
(https://groups.google.com/forum/#!topic/jenkinsci-users/JwdvUSIe1MI), so a 
solution would be to install xinetd and enable the echo service. Now I've hit a 
wall because as mentioned, the data center is more secure so there's no way 
this request will be approved.


I guess my question is, has someone experienced this issue before and did they 
find an alternative solution for it? But any help really will be very much 
appreciated.


Thank you!


Astou Sene

-- 
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/3e091229-f850-4b15-b770-580d1d4169eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins Migration from OS?

2015-05-27 Thread Stephen Connolly
I've known people to move between Linux and windows just by moving their
JENKINS_HOME (though in that case there is some symlink fun and you'd
probably want to do a dry-run)

On Wednesday, May 27, 2015, Kavitha Bhaskaran kukki.kanch...@gmail.com
wrote:

 Ok. 2 more questions

 1. How about between Scientific Linux and RHEL?
 2. So you are saying, I can strip just the Jenkins setting from say
 Scientific Linux and add it to RHEL?



 On Tuesday, May 26, 2015 at 10:02:40 PM UTC-7, LesMikesell wrote:

 On Tue, May 26, 2015 at 11:01 PM, Kavitha Bhaskaran
 kukki.k...@gmail.com wrote:
  Hello There:
 
  Not sure if this is possible but is it possible to migrate Jenkins from
 one
  OS to another. Lets say I have Jenkins right now on RHEL and I would
 like to
  move it to CentOS. Is there a way to do it?
 

 There's next-to-no difference between RHEL and CentOS.  Pretty much
 any backup/restore strategy should work - or just rsync'ing the
 jenkins home directory to the new system.

 --
   Les Mikesell
lesmi...@gmail.com

  --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com
 javascript:_e(%7B%7D,'cvml','jenkinsci-users%2bunsubscr...@googlegroups.com');
 .
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/633f53e7-55cf-4f32-91f7-3d17f9382db9%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/633f53e7-55cf-4f32-91f7-3d17f9382db9%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.



-- 
Sent from my phone

-- 
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/CA%2BnPnMzd8%3Dih_Zzk6rkqpXAmP7ay-Ny3Zw7zNg5MVr5VxMH3vg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.