Re: Git push back changes

2013-09-04 Thread Mark Waite
I think the key problem in that list is "using jgit executable".  The jgit 
implementation in the current released Git plugin is not able to push to a 
central repository, along with many other limitations.

You'll need to use the command line git implementation if you want to push back 
to a central repository.

There are several other bugs related to the jgit implementation, if you're 
interested in them.  Even the Git plugin beta 2.0 still seems to have a number 
of rough spots with the jgit implementation.

Mark Waite



>
> From: David Karlsen 
>To: jenkinsci-users@googlegroups.com 
>Sent: Wednesday, September 4, 2013 8:24 AM
>Subject: Re: Git push back changes
> 
>
>
>My config:
>Repository url: 
>http://username:credenti...@test.fswiki.evry.com:7990/scm/tac/tac-jfr-server.git
>name: stash
>branches to build:
>stash/topic/**
>
>stash/dev
>
>
>
>under 2nd advanced I have:
>  Checkout/merge to local branch (optional): master (tried with and w/o value 
>here)
>Config user.name Value: the userid
>Config user.email Value: the mail adr
>
>Merge options:
>merge before build is checked, 
>name of repository: stash
>branch to merge to: master
>
>using jgit executable
>
>then under post build actions, I have, for the git publisher:
>Push Only If Build Succeed: checked
>merge results: checked
>branches: 
>branch to push: master
>target remote name: stash
>
>from console log:
>
>Building on master in workspace /var/lib/jenkins/jobs/tac-jfr-srv/workspace
Checkout:workspace / /var/lib/jenkins/jobs/tac-jfr-srv/workspace - 
hudson.remoting.LocalChannel@1b8223f2
Using strategy: Default
Last Built Revision: Revision a8ea258e0efe1d514f31c2c4b5cc60ea6ed6b3c6 
(stash/dev)
Fetching changes from 1 remote Git repository
Commencing build of Revision d5b0609fcb1061ee658d971ef5bffb06c1d40646 
(stash/dev)
Merging Revision d5b0609fcb1061ee658d971ef5bffb06c1d40646 (stash/dev) onto 
master
>. ok building
>Skipping Sonar analysis
Pushing HEAD to branch master of stash repository
Opening connection
Counting objects
Finding sources
Writing objects
Pushing HEAD to branch master at repo stash
Opening connection
Counting objects
Finding sources
Writing objects
No emails were triggered.
> 
>
>
>
>2013/9/2 Mark Waite 
>
>The bug you referenced is fixed in the current versions of the git client 
>plugin and the git plugin.  I can confirm that Git plugin versions 1.4.0 and 
>1.5.0 are able to publish changes when used with git client plugin 1.1.2.
>>
>>
>>Unfortunately, that probably doesn't help you, since there is still some 
>>reason that your publish attempt is failing.  You'll need to do more 
>>investigating to understand why publish works for others and not in the case 
>>you're testing.
>>
>>
>>Mark Waite
>>
>>
>>
>>>
>>> From: David Karlsen 
>>>To: jenkinsci-users@googlegroups.com 
>>>Sent: Monday, September 2, 2013 2:53 AM
>>>Subject: Git push back changes
>>> 
>>>
>>>
>>>I'm having problems getting jenkins to push back the merged branch to origin 
>>>repo. (everything else works but the push back to the repository).
>>>
>>>
>>>Looks like this issue:
>>>http://jenkins-ci.361315.n4.nabble.com/Git-publisher-fails-to-push-td4659177.html
>>>
>>>
>>>I'm running:
>>>-bash-3.2$ cat git-client/META-INF/MANIFEST.MF 
>>>Manifest-Version: 1.0
>>>Archiver-Version: Plexus Archiver
>>>Created-By: Apache Maven
>>>Built-By: jglick
>>>Build-Jdk: 1.7.0_25
>>>Extension-Name: git-client
>>>Specification-Title: Utility plugin for Git support in Jenkins
>>>Implementation-Title: git-client
>>>Implementation-Version: 1.1.2
>>>Group-Id: org.jenkins-ci.plugins
>>>Short-Name: git-client
>>>Long-Name: Jenkins GIT client plugin
>>>Url: http://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin
>>>Plugin-Version: 1.1.2
>>>Hudson-Version: 1.480
>>>Jenkins-Version: 1.480
>>>Plugin-Dependencies: ssh-credentials:1.0
>>>Plugin-Developers: Nicolas De Loof:ndeloof:nicolas.del...@gmail.com
>>>
>>>
>>>-bash-3.2$ cat git/META-INF/MANIFEST.MF 
>>>Manifest-Version: 1.0
>>>Archiver-Version: Plexus Archiver
>>>Created-By: Apache Maven
>>>Built-By: nicolas
>>>Build-Jdk: 1.6.0_31
>>>Extension-Name: git
>>>Specification-Title: Integrates Jenkins with GIT SCM
>>>Implementation-Title: git
>>>Implementation-Version: 1.4.0
>>>Group-Id: org.jenkins-ci.plugins
>>>Short-Name: git
>>>Long-Name: Jenkins GIT plugin
>>>Url: http://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin
>>>Plugin-Version: 1.4.0
>>>Hudson-Version: 1.448
>>>Jenkins-Version: 1.448
>>>Plugin-Dependencies: token-macro:1.5.1;resolution:=optional,multiple-s
>>> cms:0.2;resolution:=optional,git-client:1.0.6,parameterized-trigger:2
>>> .4;resolution:=optional
>>>Plugin-Developers: Kohsuke Kawaguchi:kohsuke:,Nicolas De Loof:ndeloof:
>>> nicolas.del...@gmail.com
>>>
>>>
>>>
>>>
>>>on core 1.509.2
>>>
>>>
>>>are there any workarounds? AFAIK I'm running the latest git plugins for 
>>>latest LTS.
>>>
>>>-- 
>>>--
>>>David J. M. Karlsen - http://www.linkedin.c

Re: Help needed with MsBuild plugin

2013-09-04 Thread Mark Waite
Isn't the message "error TRK0005: Failed to locate: "CL.exe". The system cannot 
find the file specified. " an indication that you may have failed to call 
vcvarsall.bat for your specific Visual Studio before starting the Jenkins slave 
agent on that machine?

I thought that Visual Studio used that technique to allow users to install 
multiple Visual Studio versions on a single machine, and then select which 
Visual Studio they want to use for a command line compile by invoking the 
corresponding vcvarsall.bat script for that Visual Studio version.

I don't think the MSBuild plugin is the right one to decide which Visual Studio 
version you want to run, though I guess it could be extended to have some form 
of list of alternative Visual Studio versions which it should attempt to 
configure before running the build.

Mark Waite



>
> From: "dhrutiben.pa...@wellsfargo.com" 
>To: jenkinsci-users@googlegroups.com 
>Sent: Wednesday, September 4, 2013 9:42 AM
>Subject: RE: Help needed with MsBuild plugin
> 
>
>
> 
>I set MSBuild.exe at configure system location and for my jobs , I just use 
>the command ‘Execute Batch Command” and write my query.
>It works for me so far. 
> 
> 
>From:jenkinsci-users@googlegroups.com 
>[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
>Sent: Wednesday, September 04, 2013 8:23 AM
>To: jenkinsci-users@googlegroups.com
>Subject: RE: Help needed with MsBuild plugin
> 
>Do you use the MSBuild plugin or just specify a ‘Windows batch command’ build 
>step?
> 
>Does your path variable on your slave include:
> 
>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN;
> 
>?
> 
>From:jenkinsci-users@googlegroups.com 
>[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
>dhrutiben.pa...@wellsfargo.com
>Sent: 04 September 2013 16:14
>To: jenkinsci-users@googlegroups.com
>Subject: RE: Help needed with MsBuild plugin
> 
>Sorry David, but it is hard to understand your problem.
> 
>I am giving my code snippet so you can compare and check the difference.
> 
>Jenkins Job:
> 
>Execute windows batch command
>    C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe 
>/t:Rebuild /p:Configuration=%BuildType% /p:Platform="%BuildPlatform%" 
>/verbosity:normal  %workspace%MyProj.sln
> 
> 
>And check whether you have set up environment variables on your build server. 
>E.g. C:\winodws\system32
> 
> 
>From:jenkinsci-users@googlegroups.com 
>[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
>Sent: Wednesday, September 04, 2013 8:07 AM
>To: jenkinsci-users@googlegroups.com
>Subject: RE: Help needed with MsBuild plugin
> 
>I think there is not much to say.
> 
>The master configuration sets the MSBuild path to:
> 
>C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
> 
>The build step is:
> 
>MS Build file: MSVC\MyProj.sln
>Command line arguments: /p:Configuration=" release" /p:useenv=true 
>/flp:logfile=MyOutput.log;verbosity=diagnostic
> 
>David
> 
>From:jenkinsci-users@googlegroups.com 
>[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
>dhrutiben.pa...@wellsfargo.com
>Sent: 04 September 2013 15:54
>To: jenkinsci-users@googlegroups.com
>Subject: RE: Help needed with MsBuild plugin
> 
>Can you provide configuration settings for your job , if possible?
>And what are the steps you are adding for MSBuild?
> 
>From:jenkinsci-users@googlegroups.com 
>[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
>Sent: Wednesday, September 04, 2013 7:49 AM
>To: jenkinsci-users@googlegroups.com
>Subject: RE: Help needed with MsBuild plugin
> 
>Hi
> 
>Thanks for your reply. 
> 
>Yes, I had already done that.
> 
>David
> 
> 
>From:jenkinsci-users@googlegroups.com 
>[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
>dhrutiben.pa...@wellsfargo.com
>Sent: 04 September 2013 15:41
>To: jenkinsci-users@googlegroups.com
>Subject: RE: Help needed with MsBuild plugin
> 
>Hi,
> 
>Did you set up MSBuild configuration globally?
> 
>I mean, go to Manage JenkinsàConfigure System , you need to add which version 
>of MSBuild you going to use.
> 
>Try above and let us know whether it solved your problem or not.
> 
>From:jenkinsci-users@googlegroups.com 
>[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
>Sent: Wednesday, September 04, 2013 4:28 AM
>To: jenkinsci-users@googlegroups.com
>Subject: Help needed with MsBuild plugin
> 
>Hi
> 
>I have used Jenkins for a long time but am now using the MSBuild plugin for 
>the first time, because we are migrating some build jobs from VC2008 to VC2010.
> 
>I have added a ‘MSBuild installation’ in Jenkins with the following path:
> 
>C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
> 
>In my job, I specify the following MSBuild command line arguments:
> 
>p:Configuration="My_release" /p:useenv=true 
>/flp:logfile=MyOutput.log;verbosity=diagnostic
> 
>When I run the job I get this error:
> 
>error TRK0005: Failed to locate: "CL.exe". The system cannot 

how to solve this msbuild problem in Jenkins

2013-09-04 Thread Ho Yeung Lee
http://stackoverflow.com/questions/18608203/build-failed-in-cmd-though-f5-deploy-success-in-visual-studio-2012

-- 
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 do I stop Jenkins?

2013-09-04 Thread Richard Bywater
Personally I wouldn't "kill -9" the process straight away as then the
process has no chance to clean up after itself...


On Thu, Sep 5, 2013 at 12:57 AM,  wrote:

> How did you start Jenkins?
>
> .
>
> .
>
> .
>
> .
>
> Assuming you did something like Java –jar  Jenkins.war
>
> ** **
>
> From the command line
>
> ** **
>
> ps –aef | grep Jenkins.war
>
> ** **
>
> identify the process and
>
> ** **
>
> Kill -9 
>
> ** **
>
> dD
>
> ** **
>
> *From:* jenkinsci-users@googlegroups.com [mailto:
> jenkinsci-users@googlegroups.com] *On Behalf Of *Ed Keith
> *Sent:* 04 September 2013 13:52
> *To:* jenkinsci-users@googlegroups.com
>
> *Subject:* Re: How do I stop Jenkins?
>
> ** **
>
> I do not see jenkins listed in the Activity Monitor, so I can not kill it
> there.
>
> ** **
>
> -EdK
>
> On Wednesday, 4 September 2013 08:49:48 UTC-4, Ed Keith wrote:
>
> I running on Mac OS X 10.6.8.
>
> On Wednesday, 4 September 2013 08:31:02 UTC-4, Ed Keith wrote:
>
> I can't figure out how to shut down Jenkins.
>
> ** **
>
> Any help would be appreciated.
>
> ** **
>
>-EdK
>
> --
> 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.
>
>
> This e-mail and any attachments are confidential and intended solely for
> the addressee and may also be privileged or exempt from disclosure under
> applicable law. If you are not the addressee, or have received this e-mail
> in error, please notify the sender immediately, delete it from your system
> and do not copy, disclose or otherwise act upon any part of this e-mail or
> its attachments.
>
> Internet communications are not guaranteed to be secure or virus-free.
> The Barclays Group does not accept responsibility for any loss arising
> from unauthorised access to, or interference with, any Internet
> communications by any third party, or from the transmission of any viruses.
> Replies to this e-mail may be monitored by the Barclays Group for
> operational or business reasons.
>
> Any opinion or other information in this e-mail or its attachments that
> does not relate to the business of the Barclays Group is personal to the
> sender and is not given or endorsed by the Barclays Group.
>
> Barclays Bank PLC.Registered in England and Wales (registered no. 1026167).
> Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom.
>
> Barclays Bank PLC is authorised by the Prudential Regulation Authority and
> regulated by the Financial Conduct Authority and the Prudential Regulation
> Authority (Financial Services Register No. 122702).
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 do I stop Jenkins?

2013-09-04 Thread Dhrutiben.Patel
How about

JenkinsURL\exit - it shut downs first

Once it is shut down then go to build server and check in Task Manager whether 
there is any Java.exe and Jenkins.exe still running?
If Jenkins.exe is running then you might want to check services.msc option to 
see Jenkins is set to run as windows service , once you find Jenkin service 
stop it first.
Back to Task Manager --> stop Java.exe

After all above steps you can restart Jenkins service from build server or if 
you want to do through url then type JenkinsURL\restart in browser.

I hope this may help you.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Richard Bywater
Sent: Wednesday, September 04, 2013 2:52 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: How do I stop Jenkins?

Personally I wouldn't "kill -9" the process straight away as then the process 
has no chance to clean up after itself...

On Thu, Sep 5, 2013 at 12:57 AM, 
mailto:david.doug...@barclays.com>> wrote:
How did you start Jenkins?
.
.
.
.
Assuming you did something like Java -jar  Jenkins.war

>From the command line

ps -aef | grep Jenkins.war

identify the process and

Kill -9 

dD

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com]
 On Behalf Of Ed Keith
Sent: 04 September 2013 13:52
To: jenkinsci-users@googlegroups.com

Subject: Re: How do I stop Jenkins?

I do not see jenkins listed in the Activity Monitor, so I can not kill it there.

-EdK

On Wednesday, 4 September 2013 08:49:48 UTC-4, Ed Keith wrote:
I running on Mac OS X 10.6.8.

On Wednesday, 4 September 2013 08:31:02 UTC-4, Ed Keith wrote:
I can't figure out how to shut down Jenkins.

Any help would be appreciated.

   -EdK
--
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.

This e-mail and any attachments are confidential and intended solely for the 
addressee and may also be privileged or exempt from disclosure under applicable 
law. If you are not the addressee, or have received this e-mail in error, 
please notify the sender immediately, delete it from your system and do not 
copy, disclose or otherwise act upon any part of this e-mail or its attachments.

Internet communications are not guaranteed to be secure or virus-free.
The Barclays Group does not accept responsibility for any loss arising from 
unauthorised access to, or interference with, any Internet communications by 
any third party, or from the transmission of any viruses. Replies to this 
e-mail may be monitored by the Barclays Group for operational or business 
reasons.

Any opinion or other information in this e-mail or its attachments that does 
not relate to the business of the Barclays Group is personal to the sender and 
is not given or endorsed by the Barclays Group.

Barclays Bank PLC.Registered in England and Wales (registered no. 1026167).
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom.

Barclays Bank PLC is authorised by the Prudential Regulation Authority and 
regulated by the Financial Conduct Authority and the Prudential Regulation 
Authority (Financial Services Register No. 122702).
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 and clearcase plugin

2013-09-04 Thread Richard Bywater
Does sticking the PATH statement in /etc/environment help? (I can't
remember if that gets invoked in this particular case though)

Richard.


On Thu, Sep 5, 2013 at 7:25 AM, Larry Brigman wrote:

> Finally got it.  Had to hack the init script to declare the PATH variable
> on the invocation line
> by pre-pending it to the JAVA_CMD.  runuser was wiping out the PATH
> variable.
> There probably should be a better way to do this.
>
> Here is my change in the init script to get clearcase to function properly.
> JAVA_CMD="umask 002;PATH=${PATH}:/usr/atria/bin; $JENKINS_JAVA_CMD
> $JENKINS_JAVA_OPTIONS -DJENKINS_HOME=$JENKINS_HOME -jar $JENKINS_WAR"
>
>
>
> On Wed, Sep 4, 2013 at 11:52 AM, Larry Brigman wrote:
>
>> Ok.  I'm looking at the info from the config page->System Info and the
>> path doesn't show
>> /usr/atria/bin.  I added that to the path in the init script but it
>> doesn't seem to get added to
>> jenkins when I restart the service.
>>
>> The cleartool path is set as part of the config
>> The path variable only shows
>> /sbin:/usr/sbin:/bin:/usr/bin
>>
>>
>>
>> On Wed, Sep 4, 2013 at 10:40 AM, Larry Brigman 
>> wrote:
>>
>>> Updated the path to ensure that Path is there on service start.
>>> The executable is there.
>>> Same result.
>>> Backed the clearcase plugin down to 1.3.18. same result.
>>>
>>> I was able to run the command by hand and it created the needed view.
>>>
>>>
>>>
>>> On Tue, Sep 3, 2013 at 4:48 PM, Richard Bywater wrote:
>>>
 I'd check that the directory that cleartool is located at is on the
 PATH for the user than runs Jenkins.

 Richard


 On Wednesday, September 4, 2013, Larry Brigman wrote:

>  I'm trying to use the jenkins clearcase plugin (1.3.19) in linux
> from a machine
> that functions in clearcase.
> This machine is doing manual builds from the command line without
> issue.
> I'm using dynamic views to do these builds.
>
> Even with everything looking configured correctly it looks like things
> are just wrong.
> Here is the error output:
>
> Building in workspace /var/lib/jenkins/jobs/top_main/workspace
> [WARNING] load rules are empty!
> [workspace] $ cleartool lsview Jenkins_jenkins_master_top_main
> [INFO] computeChangeLogBeforeCheckout = false
> [INFO] computeChangeLogAfterCheckout  = true
> [workspace] $ cleartool lsview Jenkins_jenkins_master_top_main
> [workspace] $ cleartool mkview -tag Jenkins_jenkins_master_top_main 
> -stgloc -auto
> java.io.IOException: Cannot run program "cleartool" (in directory 
> "/var/lib/jenkins/jobs/top_main/workspace"): java.io.IOException: 
> error=2, No such file or directory
>   at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)
>   at hudson.Proc$LocalProc.(Proc.java:244)
>   at hudson.Proc$LocalProc.(Proc.java:216)
>   at hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
>   at hudson.Launcher$ProcStarter.start(Launcher.java:353)
>   at 
> hudson.plugins.clearcase.HudsonClearToolLauncher.getLaunchedProc(HudsonClearToolLauncher.java:157)
>   at 
> hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:115)
>   at hudson.plugins.clearcase.ClearToolExec.mkview(ClearToolExec.java:661)
>   at 
> hudson.plugins.clearcase.action.BaseDynamicCheckoutAction.createView(BaseDynamicCheckoutAction.java:129)
>   at 
> hudson.plugins.clearcase.action.BaseDynamicCheckoutAction.checkout(BaseDynamicCheckoutAction.java:72)
>   at 
> hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:666)
>   at hudson.model.AbstractProject.checkout(AbstractProject.java:1408)
>   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676)
>   at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
>   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581)
>   at hudson.model.Run.execute(Run.java:1603)
>   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>   at hudson.model.ResourceController.execute(ResourceController.java:88)
>   at hudson.model.Executor.run(Executor.java:247)
> Caused by: java.io.IOException: java.io.IOException: error=2, No such 
> file or directory
>   at java.lang.UNIXProcess.(UNIXProcess.java:148)
>   at java.lang.ProcessImpl.start(ProcessImpl.java:65)
>   at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
>
>
> I admit that I probably am missing a configuration option but I
> haven't found it
> within the base config or in the project config.
> Any help in getting this running would be appreciated.
>
>  --
> 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 t

Re: Jenkins: yum install can't find dependencies (libhpi, libjava, etc. all in $JAVA_HOME)

2013-09-04 Thread Katie Soto
Awesome! Thanks, I'll give it a try!

On Wednesday, September 4, 2013 12:38:55 PM UTC-7, Larry Brigman wrote:
>
> If it builds on this box then the library is there but not being declared 
> by the installing package.  You will need to adjust your rpm dependency 
> list.
>
> find the library then use 
> rpm -qf libhpi.so 
> to find the package.
> Then list the provides list of that package.
> Adjust the spec file dependency list as needed.
>
> Normally enabling auto_depends in the spec file handles this for you 
> (AutoReqProv: yes).
>
>
>
>
> On Wed, Sep 4, 2013 at 11:41 AM, Katie Soto 
> > wrote:
>
>> I'm having a seemingly simple problem that I just can't figure out.
>>
>> I have a Java project that I needs these libraries:
>> libhpi
>> libjava
>> libverify
>> libjvm
>>
>> These are all located in:
>> $JAVA_HOME/jre/lib
>> $JAVA_HOME/jre/lib/amd64
>> $JAVA_HOME/jre/lib/amd64/native_threads
>> $JAVA_HOME/jre/lib/amd64/server
>>
>> $JAVA_HOME is set correctly on the *jenkins machine* AND on the *target 
>> machine*.
>> $LD_LIBRARY_PATH is also set correctly on the *jenkins machine* AND on 
>> the *target machine*.
>>
>> When I try to install it on the target machine, I get this output:
>>
>>> [root@target ~]# yum install myProject
>>> Loaded plugins: langpacks, presto, refresh-packagekit
>>> myOtherProject 
>>> 
>>> 
>>>  
>>> | 2.8 kB  00:00:00 
>>> Resolving Dependencies
>>> --> Running transaction check
>>> ---> Package myProject.x86_64 0:13.08.21-1 will be installed
>>> --> Processing Dependency: libhpi.so()(64bit) for package: 
>>> myProject-13.08.21-1.x86_64
>>> --> Finished Dependency Resolution
>>> Error: Package: myProject-13.08.21-1.x86_64 (myOtherProject)
>>>Requires: libhpi.so()(64bit)
>>>  You could try using --skip-broken to work around the problem
>>>
>>> [root@target ~]# yum install myProject --skip-broken
>>> Loaded plugins: langpacks, presto, refresh-packagekit
>>> myOtherProject  
>>> 
>>> 
>>> | 2.8 kB  00:00:00 
>>> Resolving Dependencies
>>> --> Running transaction check
>>> ---> Package myProject.x86_64 0:13.08.21-1 will be installed
>>> --> Processing Dependency: libhpi.so()(64bit) for package: 
>>> myProject-13.08.21-1.x86_64
>>> myOtherProject/filelists_db 
>>> 
>>> 
>>> | 147 kB  00:00:00 
>>>
>>> Packages skipped because of dependency problems:
>>> myProject-13.08.21-1.x86_64 from myOtherProject
>>>
>>
>> It can't find the libraries!
>>
>> My Jenkins configuration is so:
>>
>> 1) Maven clean
>> 2) Maven compile
>> 3) Shell:
>>
>>> export JAVA_HOME=/usr/lib/jvm/jdk1.6.0_45
>>> export 
>>> LD_LIBRARY_PATH=$JAVA_HOME/jre/lib:$JAVA_HOME/jre/lib/amd64/server:$JAVA_HOME/jre/lib/amd64/native_threads:$JAVA_HOME/jre/lib/amd64:$LD_LIBRARY_PATH
>>>
>>> /usr/bin/eclipse \
>>>   --launcher.suppressErrors \
>>>   -nosplash \
>>>   -application org.eclipse.cdt.managedbuilder.core.headlessbuild \
>>>   -import ./ \
>>>   -cleanBuild myProject/Debug \
>>>   -data ../tmp-pc
>>>
>>> rm -rf ../tmp-pc
>>>
>>> /home/jenkins/bin/mkso myProject
>>
>>
>> Builds just fine but I can't yum install it! Any ideas? 
>>
>> -- 
>> 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 .
>> 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: yum install can't find dependencies (libhpi, libjava, etc. all in $JAVA_HOME)

2013-09-04 Thread Larry Brigman
If it builds on this box then the library is there but not being declared
by the installing package.  You will need to adjust your rpm dependency
list.

find the library then use
rpm -qf libhpi.so
to find the package.
Then list the provides list of that package.
Adjust the spec file dependency list as needed.

Normally enabling auto_depends in the spec file handles this for you
(AutoReqProv: yes).




On Wed, Sep 4, 2013 at 11:41 AM, Katie Soto  wrote:

> I'm having a seemingly simple problem that I just can't figure out.
>
> I have a Java project that I needs these libraries:
> libhpi
> libjava
> libverify
> libjvm
>
> These are all located in:
> $JAVA_HOME/jre/lib
> $JAVA_HOME/jre/lib/amd64
> $JAVA_HOME/jre/lib/amd64/native_threads
> $JAVA_HOME/jre/lib/amd64/server
>
> $JAVA_HOME is set correctly on the *jenkins machine* AND on the *target
> machine*.
> $LD_LIBRARY_PATH is also set correctly on the *jenkins machine* AND on the
> *target machine*.
>
> When I try to install it on the target machine, I get this output:
>
>> [root@target ~]# yum install myProject
>> Loaded plugins: langpacks, presto, refresh-packagekit
>> myOtherProject
>>
>> | 2.8 kB  00:00:00
>> Resolving Dependencies
>> --> Running transaction check
>> ---> Package myProject.x86_64 0:13.08.21-1 will be installed
>> --> Processing Dependency: libhpi.so()(64bit) for package:
>> myProject-13.08.21-1.x86_64
>> --> Finished Dependency Resolution
>> Error: Package: myProject-13.08.21-1.x86_64 (myOtherProject)
>>Requires: libhpi.so()(64bit)
>>  You could try using --skip-broken to work around the problem
>>
>> [root@target ~]# yum install myProject --skip-broken
>> Loaded plugins: langpacks, presto, refresh-packagekit
>> myOtherProject
>> | 2.8 kB  00:00:00
>> Resolving Dependencies
>> --> Running transaction check
>> ---> Package myProject.x86_64 0:13.08.21-1 will be installed
>> --> Processing Dependency: libhpi.so()(64bit) for package:
>> myProject-13.08.21-1.x86_64
>> myOtherProject/filelists_db
>> | 147 kB  00:00:00
>>
>> Packages skipped because of dependency problems:
>> myProject-13.08.21-1.x86_64 from myOtherProject
>>
>
> It can't find the libraries!
>
> My Jenkins configuration is so:
>
> 1) Maven clean
> 2) Maven compile
> 3) Shell:
>
>> export JAVA_HOME=/usr/lib/jvm/jdk1.6.0_45
>> export
>> LD_LIBRARY_PATH=$JAVA_HOME/jre/lib:$JAVA_HOME/jre/lib/amd64/server:$JAVA_HOME/jre/lib/amd64/native_threads:$JAVA_HOME/jre/lib/amd64:$LD_LIBRARY_PATH
>>
>> /usr/bin/eclipse \
>>   --launcher.suppressErrors \
>>   -nosplash \
>>   -application org.eclipse.cdt.managedbuilder.core.headlessbuild \
>>   -import ./ \
>>   -cleanBuild myProject/Debug \
>>   -data ../tmp-pc
>>
>> rm -rf ../tmp-pc
>>
>> /home/jenkins/bin/mkso myProject
>
>
> Builds just fine but I can't yum install it! Any ideas?
>
> --
> 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 and clearcase plugin

2013-09-04 Thread Larry Brigman
Finally got it.  Had to hack the init script to declare the PATH variable
on the invocation line
by pre-pending it to the JAVA_CMD.  runuser was wiping out the PATH
variable.
There probably should be a better way to do this.

Here is my change in the init script to get clearcase to function properly.
JAVA_CMD="umask 002;PATH=${PATH}:/usr/atria/bin; $JENKINS_JAVA_CMD
$JENKINS_JAVA_OPTIONS -DJENKINS_HOME=$JENKINS_HOME -jar $JENKINS_WAR"



On Wed, Sep 4, 2013 at 11:52 AM, Larry Brigman wrote:

> Ok.  I'm looking at the info from the config page->System Info and the
> path doesn't show
> /usr/atria/bin.  I added that to the path in the init script but it
> doesn't seem to get added to
> jenkins when I restart the service.
>
> The cleartool path is set as part of the config
> The path variable only shows
> /sbin:/usr/sbin:/bin:/usr/bin
>
>
>
> On Wed, Sep 4, 2013 at 10:40 AM, Larry Brigman wrote:
>
>> Updated the path to ensure that Path is there on service start.
>> The executable is there.
>> Same result.
>> Backed the clearcase plugin down to 1.3.18. same result.
>>
>> I was able to run the command by hand and it created the needed view.
>>
>>
>>
>> On Tue, Sep 3, 2013 at 4:48 PM, Richard Bywater wrote:
>>
>>> I'd check that the directory that cleartool is located at is on the PATH
>>> for the user than runs Jenkins.
>>>
>>> Richard
>>>
>>>
>>> On Wednesday, September 4, 2013, Larry Brigman wrote:
>>>
  I'm trying to use the jenkins clearcase plugin (1.3.19) in linux from
 a machine
 that functions in clearcase.
 This machine is doing manual builds from the command line without
 issue.
 I'm using dynamic views to do these builds.

 Even with everything looking configured correctly it looks like things
 are just wrong.
 Here is the error output:

 Building in workspace /var/lib/jenkins/jobs/top_main/workspace
 [WARNING] load rules are empty!
 [workspace] $ cleartool lsview Jenkins_jenkins_master_top_main
 [INFO] computeChangeLogBeforeCheckout = false
 [INFO] computeChangeLogAfterCheckout  = true
 [workspace] $ cleartool lsview Jenkins_jenkins_master_top_main
 [workspace] $ cleartool mkview -tag Jenkins_jenkins_master_top_main 
 -stgloc -auto
 java.io.IOException: Cannot run program "cleartool" (in directory 
 "/var/lib/jenkins/jobs/top_main/workspace"): java.io.IOException: error=2, 
 No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)
at hudson.Proc$LocalProc.(Proc.java:244)
at hudson.Proc$LocalProc.(Proc.java:216)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
at hudson.Launcher$ProcStarter.start(Launcher.java:353)
at 
 hudson.plugins.clearcase.HudsonClearToolLauncher.getLaunchedProc(HudsonClearToolLauncher.java:157)
at 
 hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:115)
at hudson.plugins.clearcase.ClearToolExec.mkview(ClearToolExec.java:661)
at 
 hudson.plugins.clearcase.action.BaseDynamicCheckoutAction.createView(BaseDynamicCheckoutAction.java:129)
at 
 hudson.plugins.clearcase.action.BaseDynamicCheckoutAction.checkout(BaseDynamicCheckoutAction.java:72)
at 
 hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:666)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1408)
at 
 hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
 hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581)
at hudson.model.Run.execute(Run.java:1603)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:247)
 Caused by: java.io.IOException: java.io.IOException: error=2, No such file 
 or directory
at java.lang.UNIXProcess.(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)


 I admit that I probably am missing a configuration option but I haven't
 found it
 within the base config or in the project config.
 Any help in getting this running would be appreciated.

  --
 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 f

Re: jenkins and clearcase plugin

2013-09-04 Thread Larry Brigman
Ok.  I'm looking at the info from the config page->System Info and the path
doesn't show
/usr/atria/bin.  I added that to the path in the init script but it doesn't
seem to get added to
jenkins when I restart the service.

The cleartool path is set as part of the config
The path variable only shows
/sbin:/usr/sbin:/bin:/usr/bin



On Wed, Sep 4, 2013 at 10:40 AM, Larry Brigman wrote:

> Updated the path to ensure that Path is there on service start.
> The executable is there.
> Same result.
> Backed the clearcase plugin down to 1.3.18. same result.
>
> I was able to run the command by hand and it created the needed view.
>
>
>
> On Tue, Sep 3, 2013 at 4:48 PM, Richard Bywater  wrote:
>
>> I'd check that the directory that cleartool is located at is on the PATH
>> for the user than runs Jenkins.
>>
>> Richard
>>
>>
>> On Wednesday, September 4, 2013, Larry Brigman wrote:
>>
>>>  I'm trying to use the jenkins clearcase plugin (1.3.19) in linux from
>>> a machine
>>> that functions in clearcase.
>>> This machine is doing manual builds from the command line without issue.
>>> I'm using dynamic views to do these builds.
>>>
>>> Even with everything looking configured correctly it looks like things
>>> are just wrong.
>>> Here is the error output:
>>>
>>> Building in workspace /var/lib/jenkins/jobs/top_main/workspace
>>> [WARNING] load rules are empty!
>>> [workspace] $ cleartool lsview Jenkins_jenkins_master_top_main
>>> [INFO] computeChangeLogBeforeCheckout = false
>>> [INFO] computeChangeLogAfterCheckout  = true
>>> [workspace] $ cleartool lsview Jenkins_jenkins_master_top_main
>>> [workspace] $ cleartool mkview -tag Jenkins_jenkins_master_top_main -stgloc 
>>> -auto
>>> java.io.IOException: Cannot run program "cleartool" (in directory 
>>> "/var/lib/jenkins/jobs/top_main/workspace"): java.io.IOException: error=2, 
>>> No such file or directory
>>> at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)
>>> at hudson.Proc$LocalProc.(Proc.java:244)
>>> at hudson.Proc$LocalProc.(Proc.java:216)
>>> at hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
>>> at hudson.Launcher$ProcStarter.start(Launcher.java:353)
>>> at 
>>> hudson.plugins.clearcase.HudsonClearToolLauncher.getLaunchedProc(HudsonClearToolLauncher.java:157)
>>> at 
>>> hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:115)
>>> at hudson.plugins.clearcase.ClearToolExec.mkview(ClearToolExec.java:661)
>>> at 
>>> hudson.plugins.clearcase.action.BaseDynamicCheckoutAction.createView(BaseDynamicCheckoutAction.java:129)
>>> at 
>>> hudson.plugins.clearcase.action.BaseDynamicCheckoutAction.checkout(BaseDynamicCheckoutAction.java:72)
>>> at 
>>> hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:666)
>>> at hudson.model.AbstractProject.checkout(AbstractProject.java:1408)
>>> at 
>>> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676)
>>> at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
>>> at 
>>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581)
>>> at hudson.model.Run.execute(Run.java:1603)
>>> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>>> at hudson.model.ResourceController.execute(ResourceController.java:88)
>>> at hudson.model.Executor.run(Executor.java:247)
>>> Caused by: java.io.IOException: java.io.IOException: error=2, No such file 
>>> or directory
>>> at java.lang.UNIXProcess.(UNIXProcess.java:148)
>>> at java.lang.ProcessImpl.start(ProcessImpl.java:65)
>>> at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
>>>
>>>
>>> I admit that I probably am missing a configuration option but I haven't
>>> found it
>>> within the base config or in the project config.
>>> Any help in getting this running would be appreciated.
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jenkinsci-users+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GUI testing on a linux slave

2013-09-04 Thread Richard Lavoie
Did you set the environment variable DISPLAY to redirect the display of
your UI application to the VNC and/or XVFB display ?


On Wed, Sep 4, 2013 at 12:44 PM, Trystan L.  wrote:

> Hi,
>
> I use a master to build and test on two slaves:
>
>- Linux slave launched via ssh
>- Win7 as a windows service
>
> I am performing some UI tests on both, no problem on Win7 slave but it
> fails on linux one.
>
> I tried vnc plugin and start a session before the build but nothing
> better, idem with Xvbf plugin.
>
> may be this is due to a specific needs of VTK library (based on OpenGL),
> it causes the following error :
>
> vtkXOpenGLRenderWindow (0xc15b1b0): Could not find a decent visual
>
> vtkXOpenGLRenderWindow (0xc482be0): Cannot create GLX context.
>
>
> I also tried setting LIBGL_ALWAYS_INDIRECT=y but still failed.
>
> anyone has a idea ?
>
> thanks for any help !
>
> Trystan
>
> --
> 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.
>



-- 
Richard Lavoie
IT consultant / consultant en informatique

-- 
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: yum install can't find dependencies (libhpi, libjava, etc. all in $JAVA_HOME)

2013-09-04 Thread Katie Soto
I'm having a seemingly simple problem that I just can't figure out.

I have a Java project that I needs these libraries:
libhpi
libjava
libverify
libjvm

These are all located in:
$JAVA_HOME/jre/lib
$JAVA_HOME/jre/lib/amd64
$JAVA_HOME/jre/lib/amd64/native_threads
$JAVA_HOME/jre/lib/amd64/server

$JAVA_HOME is set correctly on the *jenkins machine* AND on the *target 
machine*.
$LD_LIBRARY_PATH is also set correctly on the *jenkins machine* AND on the 
*target machine*.

When I try to install it on the target machine, I get this output:

> [root@target ~]# yum install myProject
> Loaded plugins: langpacks, presto, refresh-packagekit
> myOtherProject 
>   
>   
>  
> | 2.8 kB  00:00:00 
> Resolving Dependencies
> --> Running transaction check
> ---> Package myProject.x86_64 0:13.08.21-1 will be installed
> --> Processing Dependency: libhpi.so()(64bit) for package: 
> myProject-13.08.21-1.x86_64
> --> Finished Dependency Resolution
> Error: Package: myProject-13.08.21-1.x86_64 (myOtherProject)
>Requires: libhpi.so()(64bit)
>  You could try using --skip-broken to work around the problem
>
> [root@target ~]# yum install myProject --skip-broken
> Loaded plugins: langpacks, presto, refresh-packagekit
> myOtherProject
>   
> 
> | 2.8 kB  00:00:00 
> Resolving Dependencies
> --> Running transaction check
> ---> Package myProject.x86_64 0:13.08.21-1 will be installed
> --> Processing Dependency: libhpi.so()(64bit) for package: 
> myProject-13.08.21-1.x86_64
> myOtherProject/filelists_db   
>   
> 
> | 147 kB  00:00:00 
>
> Packages skipped because of dependency problems:
> myProject-13.08.21-1.x86_64 from myOtherProject
>

It can't find the libraries!

My Jenkins configuration is so:

1) Maven clean
2) Maven compile
3) Shell:

> export JAVA_HOME=/usr/lib/jvm/jdk1.6.0_45
> export 
> LD_LIBRARY_PATH=$JAVA_HOME/jre/lib:$JAVA_HOME/jre/lib/amd64/server:$JAVA_HOME/jre/lib/amd64/native_threads:$JAVA_HOME/jre/lib/amd64:$LD_LIBRARY_PATH
>
> /usr/bin/eclipse \
>   --launcher.suppressErrors \
>   -nosplash \
>   -application org.eclipse.cdt.managedbuilder.core.headlessbuild \
>   -import ./ \
>   -cleanBuild myProject/Debug \
>   -data ../tmp-pc
>
> rm -rf ../tmp-pc
>
> /home/jenkins/bin/mkso myProject


Builds just fine but I can't yum install it! Any ideas? 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Git push back changes

2013-09-04 Thread David Karlsen
And upgraded git plugin to 1.5.0. Does it look right?


2013/9/4 David Karlsen 

> My config:
> Repository url:
> http://username:credenti...@test.fswiki.evry.com:7990/scm/tac/tac-jfr-server.git
> name: stash
> branches to build:
> stash/topic/**
> stash/dev
>
> under 2nd advanced I have:
>   Checkout/merge to local branch (optional): master (tried with and w/o
> value here)
> Config user.name Value: the userid
> Config user.email Value: the mail adr
>
> Merge options:
> merge before build is checked,
> name of repository: stash
> branch to merge to: master
>
> using jgit executable
>
> then under post build actions, I have, for the git publisher:
> Push Only If Build Succeed: checked
> merge results: checked
> branches:
> branch to push: master
> target remote name: stash
>
> from console log:
>
> Building on master in workspace /var/lib/jenkins/jobs/tac-jfr-srv/workspace
> Checkout:workspace / /var/lib/jenkins/jobs/tac-jfr-srv/workspace - 
> hudson.remoting.LocalChannel@1b8223f2
> Using strategy: Default
> Last Built Revision: Revision a8ea258e0efe1d514f31c2c4b5cc60ea6ed6b3c6 
> (stash/dev)
> Fetching changes from 1 remote Git repository
> Commencing build of Revision d5b0609fcb1061ee658d971ef5bffb06c1d40646 
> (stash/dev)
> Merging Revision d5b0609fcb1061ee658d971ef5bffb06c1d40646 (stash/dev) onto 
> master
>
> . ok building
>
> Skipping Sonar analysis
> Pushing HEAD to branch master of stash repository
> Opening connection
> Counting objects
> Finding sources
> Writing objects
> Pushing HEAD to branch master at repo stash
> Opening connection
> Counting objects
> Finding sources
> Writing objects
> No emails were triggered.
>
>
>
>
> 2013/9/2 Mark Waite 
>
>> The bug you referenced is fixed in the current versions of the git client
>> plugin and the git plugin.  I can confirm that Git plugin versions 1.4.0
>> and 1.5.0 are able to publish changes when used with git client plugin
>> 1.1.2.
>>
>> Unfortunately, that probably doesn't help you, since there is still some
>> reason that your publish attempt is failing.  You'll need to do more
>> investigating to understand why publish works for others and not in the
>> case you're testing.
>>
>> Mark Waite
>>
>>   --
>>  *From:* David Karlsen 
>> *To:* jenkinsci-users@googlegroups.com
>> *Sent:* Monday, September 2, 2013 2:53 AM
>> *Subject:* Git push back changes
>>
>> I'm having problems getting jenkins to push back the merged branch to
>> origin repo. (everything else works but the push back to the repository).
>>
>> Looks like this issue:
>>
>> http://jenkins-ci.361315.n4.nabble.com/Git-publisher-fails-to-push-td4659177.html
>>
>> I'm running:
>> -bash-3.2$ cat git-client/META-INF/MANIFEST.MF
>> Manifest-Version: 1.0
>> Archiver-Version: Plexus Archiver
>> Created-By: Apache Maven
>> Built-By: jglick
>> Build-Jdk: 1.7.0_25
>> Extension-Name: git-client
>> Specification-Title: Utility plugin for Git support in Jenkins
>> Implementation-Title: git-client
>> Implementation-Version: 1.1.2
>> Group-Id: org.jenkins-ci.plugins
>> Short-Name: git-client
>> Long-Name: Jenkins GIT client plugin
>> Url: http://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin
>> Plugin-Version: 1.1.2
>> Hudson-Version: 1.480
>> Jenkins-Version: 1.480
>> Plugin-Dependencies: ssh-credentials:1.0
>> Plugin-Developers: Nicolas De Loof:ndeloof:nicolas.del...@gmail.com
>>
>> -bash-3.2$ cat git/META-INF/MANIFEST.MF
>> Manifest-Version: 1.0
>> Archiver-Version: Plexus Archiver
>> Created-By: Apache Maven
>> Built-By: nicolas
>> Build-Jdk: 1.6.0_31
>> Extension-Name: git
>> Specification-Title: Integrates Jenkins with GIT SCM
>> Implementation-Title: git
>> Implementation-Version: 1.4.0
>> Group-Id: org.jenkins-ci.plugins
>> Short-Name: git
>> Long-Name: Jenkins GIT plugin
>> Url: http://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin
>> Plugin-Version: 1.4.0
>> Hudson-Version: 1.448
>> Jenkins-Version: 1.448
>> Plugin-Dependencies: token-macro:1.5.1;resolution:=optional,multiple-s
>>  cms:0.2;resolution:=optional,git-client:1.0.6,parameterized-trigger:2
>>  .4;resolution:=optional
>> Plugin-Developers: Kohsuke Kawaguchi:kohsuke:,Nicolas De Loof:ndeloof:
>>  nicolas.del...@gmail.com
>>
>>
>> on core 1.509.2
>>
>> are there any workarounds? AFAIK I'm running the latest git plugins for
>> latest LTS.
>>
>> --
>> --
>> David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
>>  --
>> 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, vi

Re: jenkins and clearcase plugin

2013-09-04 Thread Larry Brigman
Updated the path to ensure that Path is there on service start.
The executable is there.
Same result.
Backed the clearcase plugin down to 1.3.18. same result.

I was able to run the command by hand and it created the needed view.



On Tue, Sep 3, 2013 at 4:48 PM, Richard Bywater  wrote:

> I'd check that the directory that cleartool is located at is on the PATH
> for the user than runs Jenkins.
>
> Richard
>
>
> On Wednesday, September 4, 2013, Larry Brigman wrote:
>
>> I'm trying to use the jenkins clearcase plugin (1.3.19) in linux from a
>> machine
>> that functions in clearcase.
>> This machine is doing manual builds from the command line without issue.
>> I'm using dynamic views to do these builds.
>>
>> Even with everything looking configured correctly it looks like things
>> are just wrong.
>> Here is the error output:
>>
>> Building in workspace /var/lib/jenkins/jobs/top_main/workspace
>> [WARNING] load rules are empty!
>> [workspace] $ cleartool lsview Jenkins_jenkins_master_top_main
>> [INFO] computeChangeLogBeforeCheckout = false
>> [INFO] computeChangeLogAfterCheckout  = true
>> [workspace] $ cleartool lsview Jenkins_jenkins_master_top_main
>> [workspace] $ cleartool mkview -tag Jenkins_jenkins_master_top_main -stgloc 
>> -auto
>> java.io.IOException: Cannot run program "cleartool" (in directory 
>> "/var/lib/jenkins/jobs/top_main/workspace"): java.io.IOException: error=2, 
>> No such file or directory
>>  at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)
>>  at hudson.Proc$LocalProc.(Proc.java:244)
>>  at hudson.Proc$LocalProc.(Proc.java:216)
>>  at hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
>>  at hudson.Launcher$ProcStarter.start(Launcher.java:353)
>>  at 
>> hudson.plugins.clearcase.HudsonClearToolLauncher.getLaunchedProc(HudsonClearToolLauncher.java:157)
>>  at 
>> hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:115)
>>  at hudson.plugins.clearcase.ClearToolExec.mkview(ClearToolExec.java:661)
>>  at 
>> hudson.plugins.clearcase.action.BaseDynamicCheckoutAction.createView(BaseDynamicCheckoutAction.java:129)
>>  at 
>> hudson.plugins.clearcase.action.BaseDynamicCheckoutAction.checkout(BaseDynamicCheckoutAction.java:72)
>>  at 
>> hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:666)
>>  at hudson.model.AbstractProject.checkout(AbstractProject.java:1408)
>>  at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676)
>>  at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
>>  at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581)
>>  at hudson.model.Run.execute(Run.java:1603)
>>  at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>>  at hudson.model.ResourceController.execute(ResourceController.java:88)
>>  at hudson.model.Executor.run(Executor.java:247)
>> Caused by: java.io.IOException: java.io.IOException: error=2, No such file 
>> or directory
>>  at java.lang.UNIXProcess.(UNIXProcess.java:148)
>>  at java.lang.ProcessImpl.start(ProcessImpl.java:65)
>>  at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
>>
>>
>> I admit that I probably am missing a configuration option but I haven't
>> found it
>> within the base config or in the project config.
>> Any help in getting this running would be appreciated.
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


GUI testing on a linux slave

2013-09-04 Thread Trystan L.
Hi,

I use a master to build and test on two slaves:

   - Linux slave launched via ssh 
   - Win7 as a windows service

I am performing some UI tests on both, no problem on Win7 slave but it 
fails on linux one.

I tried vnc plugin and start a session before the build but nothing better, 
idem with Xvbf plugin.

may be this is due to a specific needs of VTK library (based on OpenGL), it 
causes the following error : 

vtkXOpenGLRenderWindow (0xc15b1b0): Could not find a decent visual

vtkXOpenGLRenderWindow (0xc482be0): Cannot create GLX context.


I also tried setting LIBGL_ALWAYS_INDIRECT=y but still failed.

anyone has a idea ?

thanks for any help !

Trystan

-- 
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: Updated free cloubbees folders plugin, now folders don't appear, NoClassDefFoundError in log.

2013-09-04 Thread Haszlakiewicz, Eric
> -Original Message-
> From: Jesse Glick [mailto:jgl...@cloudbees.com]
> 
> On Tuesday, September 3, 2013 2:26:20 PM UTC-4, Haszlakiewicz, Eric wrote:
>   SEVERE: Failed Loading job zw
>   java.lang.NoClassDefFoundError:
> com/cloudbees/hudson/plugins/folder/properties/FolderProxyGroupContai
> ner$GroupContainerLocatorImpl
>   at
> com.cloudbees.hudson.plugins.folder.properties.FolderProxyGroupContain
> er$TransientFolderActionFactoryImpl.createFor(FolderProxyGroupContainer
> .java:231)
> 
> Fixed in 3.11.

Well that was fast.  I just tried the new version, and it fixes the problem for 
me.
Thanks!

Eric


PGP.sig
Description: PGP signature


RE: Help needed with MsBuild plugin

2013-09-04 Thread Dhrutiben.Patel
I set MSBuild.exe at configure system location and for my jobs , I just use the 
command 'Execute Batch Command" and write my query.
It works for me so far.


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 8:23 AM
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Do you use the MSBuild plugin or just specify a 'Windows batch command' build 
step?

Does your path variable on your slave include:

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN;

?

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
dhrutiben.pa...@wellsfargo.com
Sent: 04 September 2013 16:14
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Sorry David, but it is hard to understand your problem.

I am giving my code snippet so you can compare and check the difference.

Jenkins Job:

Execute windows batch command
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe 
/t:Rebuild /p:Configuration=%BuildType% /p:Platform="%BuildPlatform%" 
/verbosity:normal  %workspace%MyProj.sln


And check whether you have set up environment variables on your build server. 
E.g. C:\winodws\system32


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 8:07 AM
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

I think there is not much to say.

The master configuration sets the MSBuild path to:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

The build step is:

MS Build file: MSVC\MyProj.sln
Command line arguments: /p:Configuration=" release" /p:useenv=true 
/flp:logfile=MyOutput.log;verbosity=diagnostic

David

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
dhrutiben.pa...@wellsfargo.com
Sent: 04 September 2013 15:54
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Can you provide configuration settings for your job , if possible?
And what are the steps you are adding for MSBuild?

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 7:49 AM
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Hi

Thanks for your reply.

Yes, I had already done that.

David


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
dhrutiben.pa...@wellsfargo.com
Sent: 04 September 2013 15:41
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Hi,

Did you set up MSBuild configuration globally?

I mean, go to Manage Jenkins--> Configure System , you need to add which 
version of MSBuild you going to use.

Try above and let us know whether it solved your problem or not.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 4:28 AM
To: jenkinsci-users@googlegroups.com
Subject: Help needed with MsBuild plugin

Hi

I have used Jenkins for a long time but am now using the MSBuild plugin for the 
first time, because we are migrating some build jobs from VC2008 to VC2010.

I have added a 'MSBuild installation' in Jenkins with the following path:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

In my job, I specify the following MSBuild command line arguments:

p:Configuration="My_release" /p:useenv=true 
/flp:logfile=MyOutput.log;verbosity=diagnostic

When I run the job I get this error:

error TRK0005: Failed to locate: "CL.exe". The system cannot find the file 
specified.

Visual C++ 2010 is installed on the build machine and CL.exe is definitely 
present.

I guess that MSBuild would typically be executed from a Visual Studio command 
prompt which would have the environment variables correctly set up.

Do I need to configure the path when running the MSBuild plugin from Jenkins?

Best regards

David

--
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

RE: Help needed with MsBuild plugin

2013-09-04 Thread David Aldrich
Hi

Thanks for your reply.

Yes, I had already done that.

David


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
dhrutiben.pa...@wellsfargo.com
Sent: 04 September 2013 15:41
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Hi,

Did you set up MSBuild configuration globally?

I mean, go to Manage Jenkins--> Configure System , you need to add which 
version of MSBuild you going to use.

Try above and let us know whether it solved your problem or not.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 4:28 AM
To: jenkinsci-users@googlegroups.com
Subject: Help needed with MsBuild plugin

Hi

I have used Jenkins for a long time but am now using the MSBuild plugin for the 
first time, because we are migrating some build jobs from VC2008 to VC2010.

I have added a 'MSBuild installation' in Jenkins with the following path:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

In my job, I specify the following MSBuild command line arguments:

p:Configuration="My_release" /p:useenv=true 
/flp:logfile=MyOutput.log;verbosity=diagnostic

When I run the job I get this error:

error TRK0005: Failed to locate: "CL.exe". The system cannot find the file 
specified.

Visual C++ 2010 is installed on the build machine and CL.exe is definitely 
present.

I guess that MSBuild would typically be executed from a Visual Studio command 
prompt which would have the environment variables correctly set up.

Do I need to configure the path when running the MSBuild plugin from Jenkins?

Best regards

David

--
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.


Click 
here
 to report this email as spam.
--
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: Help needed with MsBuild plugin

2013-09-04 Thread Dhrutiben.Patel
Can you provide configuration settings for your job , if possible?
And what are the steps you are adding for MSBuild?

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 7:49 AM
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Hi

Thanks for your reply.

Yes, I had already done that.

David


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
dhrutiben.pa...@wellsfargo.com
Sent: 04 September 2013 15:41
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Hi,

Did you set up MSBuild configuration globally?

I mean, go to Manage Jenkins--> Configure System , you need to add which 
version of MSBuild you going to use.

Try above and let us know whether it solved your problem or not.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 4:28 AM
To: jenkinsci-users@googlegroups.com
Subject: Help needed with MsBuild plugin

Hi

I have used Jenkins for a long time but am now using the MSBuild plugin for the 
first time, because we are migrating some build jobs from VC2008 to VC2010.

I have added a 'MSBuild installation' in Jenkins with the following path:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

In my job, I specify the following MSBuild command line arguments:

p:Configuration="My_release" /p:useenv=true 
/flp:logfile=MyOutput.log;verbosity=diagnostic

When I run the job I get this error:

error TRK0005: Failed to locate: "CL.exe". The system cannot find the file 
specified.

Visual C++ 2010 is installed on the build machine and CL.exe is definitely 
present.

I guess that MSBuild would typically be executed from a Visual Studio command 
prompt which would have the environment variables correctly set up.

Do I need to configure the path when running the MSBuild plugin from Jenkins?

Best regards

David

--
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.


Click 
here
 to report this email as spam.
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


RE: Help needed with MsBuild plugin

2013-09-04 Thread David Aldrich
I think there is not much to say.

The master configuration sets the MSBuild path to:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

The build step is:

MS Build file: MSVC\MyProj.sln
Command line arguments: /p:Configuration=" release" /p:useenv=true 
/flp:logfile=MyOutput.log;verbosity=diagnostic

David

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
dhrutiben.pa...@wellsfargo.com
Sent: 04 September 2013 15:54
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Can you provide configuration settings for your job , if possible?
And what are the steps you are adding for MSBuild?

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 7:49 AM
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Hi

Thanks for your reply.

Yes, I had already done that.

David


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
dhrutiben.pa...@wellsfargo.com
Sent: 04 September 2013 15:41
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Hi,

Did you set up MSBuild configuration globally?

I mean, go to Manage Jenkins--> Configure System , you need to add which 
version of MSBuild you going to use.

Try above and let us know whether it solved your problem or not.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 4:28 AM
To: jenkinsci-users@googlegroups.com
Subject: Help needed with MsBuild plugin

Hi

I have used Jenkins for a long time but am now using the MSBuild plugin for the 
first time, because we are migrating some build jobs from VC2008 to VC2010.

I have added a 'MSBuild installation' in Jenkins with the following path:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

In my job, I specify the following MSBuild command line arguments:

p:Configuration="My_release" /p:useenv=true 
/flp:logfile=MyOutput.log;verbosity=diagnostic

When I run the job I get this error:

error TRK0005: Failed to locate: "CL.exe". The system cannot find the file 
specified.

Visual C++ 2010 is installed on the build machine and CL.exe is definitely 
present.

I guess that MSBuild would typically be executed from a Visual Studio command 
prompt which would have the environment variables correctly set up.

Do I need to configure the path when running the MSBuild plugin from Jenkins?

Best regards

David

--
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.


Click 
here
 to report this email as spam.
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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: Help needed with MsBuild plugin

2013-09-04 Thread Dhrutiben.Patel
Sorry David, but it is hard to understand your problem.

I am giving my code snippet so you can compare and check the difference.

Jenkins Job:

Execute windows batch command
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe 
/t:Rebuild /p:Configuration=%BuildType% /p:Platform="%BuildPlatform%" 
/verbosity:normal  %workspace%MyProj.sln


And check whether you have set up environment variables on your build server. 
E.g. C:\winodws\system32


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 8:07 AM
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

I think there is not much to say.

The master configuration sets the MSBuild path to:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

The build step is:

MS Build file: MSVC\MyProj.sln
Command line arguments: /p:Configuration=" release" /p:useenv=true 
/flp:logfile=MyOutput.log;verbosity=diagnostic

David

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
dhrutiben.pa...@wellsfargo.com
Sent: 04 September 2013 15:54
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Can you provide configuration settings for your job , if possible?
And what are the steps you are adding for MSBuild?

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 7:49 AM
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Hi

Thanks for your reply.

Yes, I had already done that.

David


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
dhrutiben.pa...@wellsfargo.com
Sent: 04 September 2013 15:41
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Hi,

Did you set up MSBuild configuration globally?

I mean, go to Manage Jenkins--> Configure System , you need to add which 
version of MSBuild you going to use.

Try above and let us know whether it solved your problem or not.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 4:28 AM
To: jenkinsci-users@googlegroups.com
Subject: Help needed with MsBuild plugin

Hi

I have used Jenkins for a long time but am now using the MSBuild plugin for the 
first time, because we are migrating some build jobs from VC2008 to VC2010.

I have added a 'MSBuild installation' in Jenkins with the following path:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

In my job, I specify the following MSBuild command line arguments:

p:Configuration="My_release" /p:useenv=true 
/flp:logfile=MyOutput.log;verbosity=diagnostic

When I run the job I get this error:

error TRK0005: Failed to locate: "CL.exe". The system cannot find the file 
specified.

Visual C++ 2010 is installed on the build machine and CL.exe is definitely 
present.

I guess that MSBuild would typically be executed from a Visual Studio command 
prompt which would have the environment variables correctly set up.

Do I need to configure the path when running the MSBuild plugin from Jenkins?

Best regards

David

--
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.


Click 
here
 to report this email as spam.
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Goo

RE: Help needed with MsBuild plugin

2013-09-04 Thread David Aldrich
Do you use the MSBuild plugin or just specify a 'Windows batch command' build 
step?

Does your path variable on your slave include:

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN;

?

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
dhrutiben.pa...@wellsfargo.com
Sent: 04 September 2013 16:14
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Sorry David, but it is hard to understand your problem.

I am giving my code snippet so you can compare and check the difference.

Jenkins Job:

Execute windows batch command
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe 
/t:Rebuild /p:Configuration=%BuildType% /p:Platform="%BuildPlatform%" 
/verbosity:normal  %workspace%MyProj.sln


And check whether you have set up environment variables on your build server. 
E.g. C:\winodws\system32


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 8:07 AM
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

I think there is not much to say.

The master configuration sets the MSBuild path to:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

The build step is:

MS Build file: MSVC\MyProj.sln
Command line arguments: /p:Configuration=" release" /p:useenv=true 
/flp:logfile=MyOutput.log;verbosity=diagnostic

David

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
dhrutiben.pa...@wellsfargo.com
Sent: 04 September 2013 15:54
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Can you provide configuration settings for your job , if possible?
And what are the steps you are adding for MSBuild?

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 7:49 AM
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Hi

Thanks for your reply.

Yes, I had already done that.

David


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
dhrutiben.pa...@wellsfargo.com
Sent: 04 September 2013 15:41
To: jenkinsci-users@googlegroups.com
Subject: RE: Help needed with MsBuild plugin

Hi,

Did you set up MSBuild configuration globally?

I mean, go to Manage Jenkins--> Configure System , you need to add which 
version of MSBuild you going to use.

Try above and let us know whether it solved your problem or not.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 4:28 AM
To: jenkinsci-users@googlegroups.com
Subject: Help needed with MsBuild plugin

Hi

I have used Jenkins for a long time but am now using the MSBuild plugin for the 
first time, because we are migrating some build jobs from VC2008 to VC2010.

I have added a 'MSBuild installation' in Jenkins with the following path:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

In my job, I specify the following MSBuild command line arguments:

p:Configuration="My_release" /p:useenv=true 
/flp:logfile=MyOutput.log;verbosity=diagnostic

When I run the job I get this error:

error TRK0005: Failed to locate: "CL.exe". The system cannot find the file 
specified.

Visual C++ 2010 is installed on the build machine and CL.exe is definitely 
present.

I guess that MSBuild would typically be executed from a Visual Studio command 
prompt which would have the environment variables correctly set up.

Do I need to configure the path when running the MSBuild plugin from Jenkins?

Best regards

David

--
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.


Click 
here
 to report this email as spam.
--
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

RE: Help needed with MsBuild plugin

2013-09-04 Thread Dhrutiben.Patel
Hi,

Did you set up MSBuild configuration globally?

I mean, go to Manage Jenkins--> Configure System , you need to add which 
version of MSBuild you going to use.

Try above and let us know whether it solved your problem or not.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, September 04, 2013 4:28 AM
To: jenkinsci-users@googlegroups.com
Subject: Help needed with MsBuild plugin

Hi

I have used Jenkins for a long time but am now using the MSBuild plugin for the 
first time, because we are migrating some build jobs from VC2008 to VC2010.

I have added a 'MSBuild installation' in Jenkins with the following path:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

In my job, I specify the following MSBuild command line arguments:

p:Configuration="My_release" /p:useenv=true 
/flp:logfile=MyOutput.log;verbosity=diagnostic

When I run the job I get this error:

error TRK0005: Failed to locate: "CL.exe". The system cannot find the file 
specified.

Visual C++ 2010 is installed on the build machine and CL.exe is definitely 
present.

I guess that MSBuild would typically be executed from a Visual Studio command 
prompt which would have the environment variables correctly set up.

Do I need to configure the path when running the MSBuild plugin from Jenkins?

Best regards

David

--
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: is Jenkins using the latest version from msysgit

2013-09-04 Thread Dhrutiben.Patel
What version are you using? I remember , I had difficulty using 1.528 with Copy 
Artifact plugin.

You might want to check open issue related to Jenkins latest version.

Let us know whether this helped or not.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of nicolas de loof
Sent: Wednesday, September 04, 2013 2:01 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: is Jenkins using the latest version from msysgit

right, and what's you issue then ?

2013/9/4 Ho Yeung Lee mailto:jobmatt...@gmail.com>>
i set the command like this without environment variables such as %WORKSPACE%,

the path is using






C:\Users\LAB-User2\Documents\GitHub\testing005

C:\Users\LAB-User2\Documents\GitHub\testing005\.git

C:\Users\LAB-User2\Documents\GitHub\testing005\Database3

C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3.sln

C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\sp_insert_rpt_criteria.sql

1. Execute window batch

echo 'Copying Adventure Works Solution to Jenkins workspace...'
xcopy /s /E /H /Y /R 
"C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3" 
"C:\Program Files (x86)\Jenkins\jobs\testing003\workspace"

echo 'Deleting artifacts from previous builds...'
del 
"C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\*_publish.zip"
 /F /Q


2. MSBUILD

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

"C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\Database3.sqlproj"
 /p:Configuration=Database3 /p:Platform=AnyCPU /t:Build;Publish 
/p:SqlPublishProfilePath='C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\Database3.publish.xml'
 /p:UpdateDatabase=False
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Git push back changes

2013-09-04 Thread David Karlsen
My config:
Repository url:
http://username:credenti...@test.fswiki.evry.com:7990/scm/tac/tac-jfr-server.git
name: stash
branches to build:
stash/topic/**
stash/dev

under 2nd advanced I have:
 Checkout/merge to local branch (optional): master (tried with and w/o
value here)
Config user.name Value: the userid
Config user.email Value: the mail adr

Merge options:
merge before build is checked,
name of repository: stash
branch to merge to: master

using jgit executable

then under post build actions, I have, for the git publisher:
Push Only If Build Succeed: checked
merge results: checked
branches:
branch to push: master
target remote name: stash

from console log:

Building on master in workspace /var/lib/jenkins/jobs/tac-jfr-srv/workspace
Checkout:workspace / /var/lib/jenkins/jobs/tac-jfr-srv/workspace -
hudson.remoting.LocalChannel@1b8223f2
Using strategy: Default
Last Built Revision: Revision a8ea258e0efe1d514f31c2c4b5cc60ea6ed6b3c6
(stash/dev)
Fetching changes from 1 remote Git repository
Commencing build of Revision d5b0609fcb1061ee658d971ef5bffb06c1d40646
(stash/dev)
Merging Revision d5b0609fcb1061ee658d971ef5bffb06c1d40646 (stash/dev)
onto master

. ok building

Skipping Sonar analysis
Pushing HEAD to branch master of stash repository
Opening connection
Counting objects
Finding sources
Writing objects
Pushing HEAD to branch master at repo stash
Opening connection
Counting objects
Finding sources
Writing objects
No emails were triggered.




2013/9/2 Mark Waite 

> The bug you referenced is fixed in the current versions of the git client
> plugin and the git plugin.  I can confirm that Git plugin versions 1.4.0
> and 1.5.0 are able to publish changes when used with git client plugin
> 1.1.2.
>
> Unfortunately, that probably doesn't help you, since there is still some
> reason that your publish attempt is failing.  You'll need to do more
> investigating to understand why publish works for others and not in the
> case you're testing.
>
> Mark Waite
>
>   --
>  *From:* David Karlsen 
> *To:* jenkinsci-users@googlegroups.com
> *Sent:* Monday, September 2, 2013 2:53 AM
> *Subject:* Git push back changes
>
> I'm having problems getting jenkins to push back the merged branch to
> origin repo. (everything else works but the push back to the repository).
>
> Looks like this issue:
>
> http://jenkins-ci.361315.n4.nabble.com/Git-publisher-fails-to-push-td4659177.html
>
> I'm running:
> -bash-3.2$ cat git-client/META-INF/MANIFEST.MF
> Manifest-Version: 1.0
> Archiver-Version: Plexus Archiver
> Created-By: Apache Maven
> Built-By: jglick
> Build-Jdk: 1.7.0_25
> Extension-Name: git-client
> Specification-Title: Utility plugin for Git support in Jenkins
> Implementation-Title: git-client
> Implementation-Version: 1.1.2
> Group-Id: org.jenkins-ci.plugins
> Short-Name: git-client
> Long-Name: Jenkins GIT client plugin
> Url: http://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin
> Plugin-Version: 1.1.2
> Hudson-Version: 1.480
> Jenkins-Version: 1.480
> Plugin-Dependencies: ssh-credentials:1.0
> Plugin-Developers: Nicolas De Loof:ndeloof:nicolas.del...@gmail.com
>
> -bash-3.2$ cat git/META-INF/MANIFEST.MF
> Manifest-Version: 1.0
> Archiver-Version: Plexus Archiver
> Created-By: Apache Maven
> Built-By: nicolas
> Build-Jdk: 1.6.0_31
> Extension-Name: git
> Specification-Title: Integrates Jenkins with GIT SCM
> Implementation-Title: git
> Implementation-Version: 1.4.0
> Group-Id: org.jenkins-ci.plugins
> Short-Name: git
> Long-Name: Jenkins GIT plugin
> Url: http://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin
> Plugin-Version: 1.4.0
> Hudson-Version: 1.448
> Jenkins-Version: 1.448
> Plugin-Dependencies: token-macro:1.5.1;resolution:=optional,multiple-s
>  cms:0.2;resolution:=optional,git-client:1.0.6,parameterized-trigger:2
>  .4;resolution:=optional
> Plugin-Developers: Kohsuke Kawaguchi:kohsuke:,Nicolas De Loof:ndeloof:
>  nicolas.del...@gmail.com
>
>
> on core 1.509.2
>
> are there any workarounds? AFAIK I'm running the latest git plugins for
> latest LTS.
>
> --
> --
> David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
>  --
> 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.
>



-- 
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

-- 
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, 

Add Version to a maven build war file in Jenkins

2013-09-04 Thread Kamal Ahmed
Hi,

I am using Jenkins to build a war file for deployment via puppet. Would be good 
to have version information appended to the war file.
Is there a plugin that does this ? Does anyone have such experience of 
versioning the war file in Jenkins

Thanks,
-Kamal.

-- 
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 do I stop Jenkins?

2013-09-04 Thread k . thieling


Awesome, to start it back up then, you should be able to run: 



sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist 



- Original Message -


From: "Ed Keith"  
To: jenkinsci-users@googlegroups.com 
Sent: Wednesday, September 4, 2013 8:25:04 AM 
Subject: Re: How do I stop Jenkins? 


I used launchctl to get rid of it. Thank you! 


   -EdK 

On Wednesday, 4 September 2013 09:11:55 UTC-4, KT wrote: 





This might be a possibility on the Mac: 

  

sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist 


From: "Ed Keith" < e_...@yahoo.com > 
To: jenkins...@googlegroups.com 
Sent: Wednesday, September 4, 2013 8:03:57 AM 
Subject: Re: How do I stop Jenkins? 




Thank, I used ps to find the process, and killed it. 


But it restarted (new pid). Something is clearly restarting it and I do not 
know what. 


Thanks for getting me this far. 


   -EdK 

On Wednesday, 4 September 2013 08:55:06 UTC-4, KT wrote: 





Not too familiar with running the Jenkins app on Mac, only Mac slaves, but if 
you can get to command line you should be able to run something like: 

  

ps -ef | grep Jenkins 

  

then kill that process... 








From: "Ed Keith" < e_...@yahoo.com > 
To: jenkins...@googlegroups.com 
Sent: Wednesday, September 4, 2013 7:52:01 AM 
Subject: Re: How do I stop Jenkins? 


I do not see jenkins listed in the Activity Monitor, so I can not kill it 
there. 


    -EdK 

On Wednesday, 4 September 2013 08:49:48 UTC-4, Ed Keith wrote: 


I running on Mac OS X 10.6.8. 

On Wednesday, 4 September 2013 08:31:02 UTC-4, Ed Keith wrote: 


I can't figure out how to shut down Jenkins. 


Any help would be appreciated. 


   -EdK 





-- 
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 . 
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-use...@googlegroups.com . 
For more options, visit https://groups.google.com/groups/opt_out . 




-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group. 
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com. 
For more options, visit https://groups.google.com/groups/opt_out . 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How do I stop Jenkins?

2013-09-04 Thread Ed Keith
I used launchctl to get rid of it. Thank you!

   -EdK

On Wednesday, 4 September 2013 09:11:55 UTC-4, KT wrote:
>
> This might be a possibility on the Mac:
>
>  
>
> sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
>
> --
> *From: *"Ed Keith" >
> *To: *jenkins...@googlegroups.com 
> *Sent: *Wednesday, September 4, 2013 8:03:57 AM
> *Subject: *Re: How do I stop Jenkins?
>
> Thank, I used ps to find the process, and killed it. 
>
> But it restarted (new pid). Something is clearly restarting it and I do 
> not know what.
>
> Thanks for getting me this far.
>
>-EdK
>
> On Wednesday, 4 September 2013 08:55:06 UTC-4, KT wrote: 
>>
>>  Not too familiar with running the Jenkins app on Mac, only Mac slaves, 
>> but if you can get to command line you should be able to run something like:
>>
>>  
>>
>> ps -ef | grep Jenkins
>>
>>  
>>
>> then kill that process...
>>
>>  --
>>
>> *From: *"Ed Keith" 
>> *To: *jenkins...@googlegroups.com
>> *Sent: *Wednesday, September 4, 2013 7:52:01 AM
>> *Subject: *Re: How do I stop Jenkins?
>>
>> I do not see jenkins listed in the Activity Monitor, so I can not kill it 
>> there. 
>>
>> -EdK
>>
>> On Wednesday, 4 September 2013 08:49:48 UTC-4, Ed Keith wrote: 
>>>
>>> I running on Mac OS X 10.6.8.
>>>
>>> On Wednesday, 4 September 2013 08:31:02 UTC-4, Ed Keith wrote: 

 I can't figure out how to shut down Jenkins. 

 Any help would be appreciated.

-EdK

>>> -- 
>> 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.
>> 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-use...@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: How do I stop Jenkins?

2013-09-04 Thread k . thieling


This might be a possibility on the Mac: 



sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist 

- Original Message -
From: "Ed Keith"  
To: jenkinsci-users@googlegroups.com 
Sent: Wednesday, September 4, 2013 8:03:57 AM 
Subject: Re: How do I stop Jenkins? 


Thank, I used ps to find the process, and killed it. 


But it restarted (new pid). Something is clearly restarting it and I do not 
know what. 


Thanks for getting me this far. 


   -EdK 

On Wednesday, 4 September 2013 08:55:06 UTC-4, KT wrote: 





Not too familiar with running the Jenkins app on Mac, only Mac slaves, but if 
you can get to command line you should be able to run something like: 

  

ps -ef | grep Jenkins 

  

then kill that process... 








From: "Ed Keith" < e_...@yahoo.com > 
To: jenkins...@googlegroups.com 
Sent: Wednesday, September 4, 2013 7:52:01 AM 
Subject: Re: How do I stop Jenkins? 


I do not see jenkins listed in the Activity Monitor, so I can not kill it 
there. 


    -EdK 

On Wednesday, 4 September 2013 08:49:48 UTC-4, Ed Keith wrote: 


I running on Mac OS X 10.6.8. 

On Wednesday, 4 September 2013 08:31:02 UTC-4, Ed Keith wrote: 


I can't figure out how to shut down Jenkins. 


Any help would be appreciated. 


   -EdK 





-- 
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 . 
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.


ERROR: Processing failed due to a bug in the code Jenkins 1.509.2

2013-09-04 Thread Mehdi Hayani
Hii,

Recently I'm getting the following error with my Jenkins (v1.509.2):

ERROR: Processing failed due to a bug in the code. Please report this to
jenkinsci-users@googlegroups.com
java.lang.NullPointerException: no workspace from node
hudson.slaves.DumbSlave@bc0a0e30 which is computer
hudson.slaves.SlaveComputer@51bf2e9a and has channel null
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:70)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802)
at
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:820)
at
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:771)
at
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584)
at hudson.model.Run.execute(Run.java:1575)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:237)
project=hudson.maven.MavenModuleSet@3665ea4b[projectName]
project.getModules()=[hudson.maven.MavenModule@5536055d[projectName/groupId:artifactId][projectName/groupId:artifactId][relativePath:],
hudson.maven.MavenModule@4d9a485f[projectName/groupId:artifactId-batch][projectName/groupId:artifactId-batch][relativePath:module-batch],
hudson.maven.MavenModule@4c057cc6[projectName/groupId:artifactId-child][projectName/groupId:artifactId-child][relativePath:pom-enfant],
hudson.maven.MavenModule@7c42d227[projectName/groupId:artifactId-composants][projectName/groupId:artifactId-composants][relativePath:module-composants],
hudson.maven.MavenModule@6f33e2d[projectName/groupId:artifactId-composants-test][projectName/groupId:artifactId-composants-test][relativePath:module-composants-test],
hudson.maven.MavenModule@4b76ffeb[projectName/groupId:artifactId-config][projectName/groupId:artifactId-config][relativePath:module-config],
hudson.maven.MavenModule@719bc401[projectName/groupId:artifactId-cryptage][projectName/groupId:artifactId-cryptage][relativePath:module-cryptage],
hudson.maven.MavenModule@296157ec[projectName/groupId:artifactId-delivery][projectName/groupId:artifactId-delivery][relativePath:module-delivery],
hudson.maven.MavenModule@35d35c2d[projectName/groupId:artifactId-interfaces][projectName/groupId:artifactId-interfaces][relativePath:module-interfaces],
hudson.maven.MavenModule@4748a9f6[projectName/groupId:artifactId-interfaces-test][projectName/groupId:artifactId-interfaces-test][relativePath:module-interfaces-test],
hudson.maven.MavenModule@738e7a09[projectName/groupId:artifactId-metier][projectName/groupId:artifactId-metier][relativePath:module-metier],
hudson.maven.MavenModule@eee2024[projectName/groupId:artifactId-modele][projectName/groupId:artifactId-modele][relativePath:module-modele],
hudson.maven.MavenModule@33802324[projectName/groupId:artifactId-persistence][projectName/groupId:artifactId-persistence][relativePath:module-persistence],
hudson.maven.MavenModule@21832ae6[projectName/groupId:artifactId-rules][projectName/groupId:artifactId-rules][relativePath:module-rules],
hudson.maven.MavenModule@2a75733a[projectName/groupId:artifactId-test-utils][projectName/groupId:artifactId-test-utils][relativePath:module-test-utils],
hudson.maven.MavenModule@4dffa9d[projectName/groupId:artifactId-wacom][projectName/groupId:artifactId-wacom][relativePath:module-wacom],
hudson.maven.MavenModule@cbe5beb[projectName/groupId:artifactId-webapp][projectName/groupId:artifactId-webapp][relativePath:module-webapp],
hudson.maven.MavenModule@2584a7d6[projectName/groupId:artifactId-webapp-borne][projectName/groupId:artifactId-webapp-borne][relativePath:module-webapp-borne],
hudson.maven.MavenModule@2826e5d8[projectName/groupId:artifactId-webapp-d2][projectName/groupId:artifactId-webapp-d2][relativePath:module-webapp-d2],
hudson.maven.MavenModule@11bbdc80[projectName/groupId:artifactId-webservices-mock][projectName/groupId:artifactId-webservices-mock][relativePath:module-webservices-mock],
hudson.maven.MavenModule@44896098
[projectName/groupId:artifactId-wsdl][projectName/groupId:artifactId-wsdl][relativePath:module-wsdl]]
project.getRootModule()=hudson.maven.MavenModule@5536055d
[projectName/groupId:artifactId][projectName/groupId:artifactId][relativePath:]
FATAL: no workspace from node hudson.slaves.DumbSlave@bc0a0e30 which is
computer hudson.slaves.SlaveComputer@51bf2e9a and has channel null
java.lang.NullPointerException: no workspace from node
hudson.slaves.DumbSlave@bc0a0e30 which is computer
hudson.slaves.SlaveComputer@51bf2e9a and has channel null
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:70)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at
hudson.model.AbstractB

Re: How do I stop Jenkins?

2013-09-04 Thread Ed Keith
Thank, I used ps to find the process, and killed it.

But it restarted (new pid). Something is clearly restarting it and I do not 
know what.

Thanks for getting me this far.

   -EdK

On Wednesday, 4 September 2013 08:55:06 UTC-4, KT wrote:
>
> Not too familiar with running the Jenkins app on Mac, only Mac slaves, but 
> if you can get to command line you should be able to run something like:
>
>  
>
> ps -ef | grep Jenkins
>
>  
>
> then kill that process...
>
>  --
>
> *From: *"Ed Keith" >
> *To: *jenkins...@googlegroups.com 
> *Sent: *Wednesday, September 4, 2013 7:52:01 AM
> *Subject: *Re: How do I stop Jenkins?
>
> I do not see jenkins listed in the Activity Monitor, so I can not kill it 
> there. 
>
> -EdK
>
> On Wednesday, 4 September 2013 08:49:48 UTC-4, Ed Keith wrote: 
>>
>> I running on Mac OS X 10.6.8.
>>
>> On Wednesday, 4 September 2013 08:31:02 UTC-4, Ed Keith wrote: 
>>>
>>> I can't figure out how to shut down Jenkins. 
>>>
>>> Any help would be appreciated.
>>>
>>>-EdK
>>>
>> -- 
> 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 .
> 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: How do I stop Jenkins?

2013-09-04 Thread david.doughty
How did you start Jenkins?
.
.
.
.
Assuming you did something like Java -jar  Jenkins.war

>From the command line

ps -aef | grep Jenkins.war

identify the process and

Kill -9 

dD

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ed Keith
Sent: 04 September 2013 13:52
To: jenkinsci-users@googlegroups.com
Subject: Re: How do I stop Jenkins?

I do not see jenkins listed in the Activity Monitor, so I can not kill it there.

-EdK

On Wednesday, 4 September 2013 08:49:48 UTC-4, Ed Keith wrote:
I running on Mac OS X 10.6.8.

On Wednesday, 4 September 2013 08:31:02 UTC-4, Ed Keith wrote:
I can't figure out how to shut down Jenkins.

Any help would be appreciated.

   -EdK
--
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.


This e-mail and any attachments are confidential and intended
solely for the addressee and may also be privileged or exempt from
disclosure under applicable law. If you are not the addressee, or
have received this e-mail in error, please notify the sender
immediately, delete it from your system and do not copy, disclose
or otherwise act upon any part of this e-mail or its attachments.

Internet communications are not guaranteed to be secure or
virus-free.
The Barclays Group does not accept responsibility for any loss
arising from unauthorised access to, or interference with, any
Internet communications by any third party, or from the
transmission of any viruses. Replies to this e-mail may be
monitored by the Barclays Group for operational or business
reasons.

Any opinion or other information in this e-mail or its attachments
that does not relate to the business of the Barclays Group is
personal to the sender and is not given or endorsed by the Barclays
Group.

Barclays Bank PLC. Registered in England and Wales (registered no.
1026167).
Registered Office: 1 Churchill Place, London, E14 5HP, United
Kingdom.

Barclays Bank PLC is authorised by the Prudential Regulation
Authority and regulated by the Financial Conduct Authority and the
Prudential Regulation Authority (Financial Services Register No.
122702).

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How do I stop Jenkins?

2013-09-04 Thread k . thieling


Not too familiar with running the Jenkins app on Mac, only Mac slaves, but if 
you can get to command line you should be able to run something like: 



ps -ef | grep Jenkins 



then kill that process... 



- Original Message -


From: "Ed Keith"  
To: jenkinsci-users@googlegroups.com 
Sent: Wednesday, September 4, 2013 7:52:01 AM 
Subject: Re: How do I stop Jenkins? 


I do not see jenkins listed in the Activity Monitor, so I can not kill it 
there. 


    -EdK 

On Wednesday, 4 September 2013 08:49:48 UTC-4, Ed Keith wrote: 


I running on Mac OS X 10.6.8. 

On Wednesday, 4 September 2013 08:31:02 UTC-4, Ed Keith wrote: 


I can't figure out how to shut down Jenkins. 


Any help would be appreciated. 


   -EdK 





-- 
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: How do I stop Jenkins?

2013-09-04 Thread Ed Keith
I do not see jenkins listed in the Activity Monitor, so I can not kill it 
there.

-EdK

On Wednesday, 4 September 2013 08:49:48 UTC-4, Ed Keith wrote:
>
> I running on Mac OS X 10.6.8.
>
> On Wednesday, 4 September 2013 08:31:02 UTC-4, Ed Keith wrote:
>>
>> I can't figure out how to shut down Jenkins.
>>
>> Any help would be appreciated.
>>
>>-EdK
>>
>

-- 
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 do I stop Jenkins?

2013-09-04 Thread Ed Keith
I running on Mac OS X 10.6.8.

On Wednesday, 4 September 2013 08:31:02 UTC-4, Ed Keith wrote:
>
> I can't figure out how to shut down Jenkins.
>
> Any help would be appreciated.
>
>-EdK
>

-- 
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 do I stop Jenkins?

2013-09-04 Thread David Aldrich
Does your Jenkins master run on Windows or Linux?

David

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ed Keith
Sent: 04 September 2013 13:31
To: jenkinsci-users@googlegroups.com
Subject: How do I stop Jenkins?

I can't figure out how to shut down Jenkins.

Any help would be appreciated.

   -EdK

-- 
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 do I stop Jenkins?

2013-09-04 Thread k . thieling


That depends on how you are running Jenkins. 



Windows service? / Linux? / Tomcat? / Inside some other container? 



- Original Message -


From: "Ed Keith"  
To: jenkinsci-users@googlegroups.com 
Sent: Wednesday, September 4, 2013 7:31:02 AM 
Subject: How do I stop Jenkins? 


I can't figure out how to shut down Jenkins. 


Any help would be appreciated. 


   -EdK 

-- 
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: How do I stop Jenkins?

2013-09-04 Thread Ginga, Dick
>From Manage Jenkins, select Prepare for Shutdown. This will prevent any more 
>jobs from running. When all jobs are finished, you simply (on Windows) stop 
>the service named Jenkins

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ed Keith
Sent: Wednesday, September 04, 2013 8:31 AM
To: jenkinsci-users@googlegroups.com
Subject: How do I stop Jenkins?

I can't figure out how to shut down Jenkins.

Any help would be appreciated.

   -EdK
--
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.


How do I stop Jenkins?

2013-09-04 Thread Ed Keith
I can't figure out how to shut down Jenkins.

Any help would be appreciated.

   -EdK

-- 
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.


Help needed with MsBuild plugin

2013-09-04 Thread David Aldrich
Hi

I have used Jenkins for a long time but am now using the MSBuild plugin for the 
first time, because we are migrating some build jobs from VC2008 to VC2010.

I have added a 'MSBuild installation' in Jenkins with the following path:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

In my job, I specify the following MSBuild command line arguments:

p:Configuration="My_release" /p:useenv=true 
/flp:logfile=MyOutput.log;verbosity=diagnostic

When I run the job I get this error:

error TRK0005: Failed to locate: "CL.exe". The system cannot find the file 
specified.

Visual C++ 2010 is installed on the build machine and CL.exe is definitely 
present.

I guess that MSBuild would typically be executed from a Visual Studio command 
prompt which would have the environment variables correctly set up.

Do I need to configure the path when running the MSBuild plugin from Jenkins?

Best regards

David

-- 
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.


Run Maven Job on multiple nodes

2013-09-04 Thread Gaurang shah
Hi Guys, 

Is there any way I can run one *maven *job on* multiple nodes parallel.*  ??
I didn't find anything so I create new job "*multi-configuration project", 
*however 
facing few question about that, would be glad if someone can explain things

I have created two nodes and in the job i have specify it to run on both 
the nodes.  As this is a maven project to run I am *invoking top level 
maven target. *The problem is it's not able to find the pom.xml inside the 
location i have specified.

I have specified my *custom workspace* as *C:\Users\gaurang_shah\workspace. 
*
And *pom.xml* path as *maventest\pom.xml *(maventest is inside custom 
workspace i specified) 

However when i run the project it tries to find out the pom.xml in 
following folder, LocalSlave_1 and LocalSlave_2 are two nodes i am running 
this job on. 

C:\Users\gaurang_shah\workspace\label\LocalSlave_1

C:\Users\gaurang_shah\workspace\label\LocalSlave_2


If I change the *pom.xml* path to *..\..\**maventest\pom.xm *it works fine, 
however the question is 


   1. Why it tries to search the pom.xml in different path than what i have 
mention ??
   2. Is there any way to run maven project on different nodes without creating 
new multi-congiuration job ? 


-- 
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: is Jenkins using the latest version from msysgit

2013-09-04 Thread nicolas de loof
right, and what's you issue then ?


2013/9/4 Ho Yeung Lee 

> i set the command like this without environment variables such as
> %WORKSPACE%,
>
> the path is using
>
> C:\Users\LAB-User2\Documents\GitHub\testing005
> C:\Users\LAB-User2\Documents\GitHub\testing005\.git
> C:\Users\LAB-User2\Documents\GitHub\testing005\Database3
> C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3.sln
> C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\sp_insert_rpt_criteria.sql
>
>
> 1. Execute window batch
>
> echo 'Copying Adventure Works Solution to Jenkins workspace...'
> xcopy /s /E /H /Y /R
> "C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3"
> "C:\Program Files (x86)\Jenkins\jobs\testing003\workspace"
>
> echo 'Deleting artifacts from previous builds...'
> del
> "C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\*_publish.zip"
> /F /Q
>
>
> 2. MSBUILD
>
> C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
>
> "C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\Database3.sqlproj"
> /p:Configuration=Database3 /p:Platform=AnyCPU /t:Build;Publish
> /p:SqlPublishProfilePath='C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\Database3.publish.xml'
> /p:UpdateDatabase=False
>
> --
> 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: Browser not opening in Other machine

2013-09-04 Thread Jonathan Rogers
pradeep kattekola wrote:
>  ok. below are the steps i followed -
>
> Created one job in jenkins to run the webdriver code which was running
> proper in main machine ( in which jenkins is installed).
> i called the jenkins in other machine with main machine ip
> address:8080. when i am executing the same job from remote machine ,
> the browser gets opening on main machine. I used Internet Explorer in
> my current scenario.

What do you mean by "called the jenkins in other machine?" Are you
talking about a Jenkins slave? Are you using WebDriver to control
Jenkins itself? I have Python tests which use WebDriver. A Jenkins job
runs the Python tests via a shell script but Jenkins has no direct
knowledge of WebDriver. If you're trying to run WebDriver tests on a
different host from that running the browser, that is a somewhat more
advanced topic which is outside Jenkins's scope. You may get better help
from the selenium project forums or mailing lists.

-- 
Jonathan Rogers

-- 
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.


shell execution produces "couldn't flush stdout" error

2013-09-04 Thread Matthias
Hello,

when using pipes in shell scripts I often get the error mentioned in the 
subject line.

To reproduce the issue add an "execute shell" build step to a new job and 
run the following:

echo replace e by a | sed 's_e_a_g' | echo done

This might not make much sense - but it generates the error "couldn't flush 
stdout" while this does not happen when executing the same in a terminal.


The jenkins console output produces:


[EnvInject] - Loading node environment variables.
Building on master in workspace 
/home/jenkins/build-server/jobs/test.sed/workspace
[workspace] $ /bin/sh -xe /tmp/hudson7236481234921041257.sh
+ echo replace e by a
+ echo done
done
+ sed s_e_a_g
sed: couldn't flush stdout: Broken pipe
Finished: SUCCESS



best regards,
Matthias

-- 
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.


is Jenkins using the latest version from msysgit

2013-09-04 Thread Ho Yeung Lee
i set the command like this without environment variables such as 
%WORKSPACE%,

the path is using 

C:\Users\LAB-User2\Documents\GitHub\testing005
C:\Users\LAB-User2\Documents\GitHub\testing005\.git
C:\Users\LAB-User2\Documents\GitHub\testing005\Database3
C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3.sln
C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\sp_insert_rpt_criteria.sql


1. Execute window batch

echo 'Copying Adventure Works Solution to Jenkins workspace...'
xcopy /s /E /H /Y /R 
"C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3" 
"C:\Program Files (x86)\Jenkins\jobs\testing003\workspace" 
 
echo 'Deleting artifacts from previous builds...'
del 
"C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\*_publish.zip"
 
/F /Q


2. MSBUILD

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

"C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\Database3.sqlproj"
 
/p:Configuration=Database3 /p:Platform=AnyCPU /t:Build;Publish 
/p:SqlPublishProfilePath='C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\Database3.publish.xml'
 
/p:UpdateDatabase=False

-- 
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 solve this msbuild.exe not recognized problem

2013-09-04 Thread Ho Yeung Lee
i solved by select msbuild name

On Wednesday, September 4, 2013 12:35:58 PM UTC+8, Richard Bywater wrote:
>
> Hi
>
> It's only been just over an hour since you asked the first time. Please 
> don't double post questions as it can make life harder for people trying to 
> help you.
>
> Richard
>
> On Wednesday, September 4, 2013, Ho Yeung Lee wrote:
>
>>
>> http://stackoverflow.com/questions/18588395/msbuild-exe-is-not-recognized-command-after-build-in-jenkins
>>  
>> -- 
>> 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: Browser not opening in Other machine

2013-09-04 Thread pradeep kattekola
 ok. below are the steps i followed -

Created one job in jenkins to run the webdriver code which was running 
proper in main machine ( in which jenkins is installed).
i called the jenkins in other machine with main machine ip address:8080. 
when i am executing the same job from remote machine , the browser gets 
opening on main machine. I used Internet Explorer in my current scenario.


Thanks,
Prathip

-- 
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.