Not able to login with chrome, chromium, opera - Only works with firefox

2013-03-07 Thread martin
Hello Guys,

I wrote a bug for my problem, though I'm not really sure if this is a 
Jenkins Bug. You can find it here: 

https://issues.jenkins-ci.org/browse/JENKINS-17101

Does anyone have an Idea what is wrong or what I might do wrong?

best
Martin

-- 
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: Using Jenkins to run MATLAB and PowerPoint

2013-03-07 Thread Johannes Wienke
On 03/07/2013 12:06 AM, jo2dad wrote:
 I'm running Jenkins as a service.  There is a Jenkins slave running on the 
 Window box I'm using.  I'm not sure how to tell whether the service has 
 permission to interact with the desktop.
 
 The rest of the script runs fine (MATLAB make its figures, PowerPoint 
 opens, does its thing and saves the results), it's just when it gets to the 
 end and tries to close PowerPoint when things go wrong.
 
 When I look at processes using Task Manager, MATLAB, PowerPoint and Jenkins 
 show up as NT Authority\SYSTEM.  I assumed this meant that everything was 
 running as System user and should have all necessary permissions.

IIRC there are some restrictions whata system user is allowed to do.
E.g. in one of our projects we tried to get the user directory, which
fails for the system services. Maybe powerpoint hits something similar.
Can you give it a try and let the slave for once run as a usual windows
user?

Cheers,
Johannes




signature.asc
Description: OpenPGP digital signature


Re: Jobs starting on slaves with no disk space

2013-03-07 Thread Pawel
I have expanded the script a bit, so it checks for free disk space:

import hudson.model.*;
import hudson.node_monitors.DiskSpaceMonitor;
import java.math.BigDecimal;

def thr = Thread.currentThread()
def computer = thr?.executable.getBuiltOn().toComputer()
def space = DiskSpaceMonitor.DESCRIPTOR.get(computer);
BigDecimal bd = new BigDecimal(space.getGbLeft());
long value = bd.setScale( 0, BigDecimal.ROUND_HALF_UP ).longValue();
if(value  X) {
  computer.setTemporarilyOffline(true);
}

Hopefuly Jenkins gets fixed so things like that are not required.



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Jobs-starting-on-slaves-with-no-disk-space-tp4656054p4658461.html
Sent from the Jenkins users mailing list archive at Nabble.com.

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




Re: GIT and Jenkins

2013-03-07 Thread nicolas de loof
right, ls-remote is used to validate repository URL (form master) and to
poll scm (single branch)


2013/3/7 Eduardo Dias eduardodia...@gmail.com

 I had the same problem and  done what Nicolas suggested and the
 message stopped. Even Jenkins does not use master to build the jenkis
 master try to access repository.


 2013/3/7 nicolas de loof nicolas.del...@gmail.com

 does the clone run on master or some slave ?

 this ls-remote command is executed on master, maybe you just miss the
 adequate ssh key there. Long term plan is to integrate
 ssh-credentials-plugin in git-plugin to manage this.


 2013/3/7 Jeff predato...@gmail.com

 I thought I asked this and fixed it before, but it has come up again and
 I am not seeing this in the archives

 When we setup a job that pulls source from GIT, I see this error shown
 below the Repository URL box:


 Failed to connect to repository : Error performing command:  ls-remote
 -h g...@github.com:myRepo/myApp.git HEAD

 or for projects using our internal GitoLIte repo:


  Failed to connect to repository : Error performing command:  ls-remote
 -h gitol...@git1.mycompany.int:myInternalApp.git HEAD

 The project clones and builds just fine, but I don't think the SCM
 Polling works properly and I think it is related to the above issue.

 Any idea what it might be?  Google searches indicate that the absolute
 path to the git binary must be specified, which I've set (/usr/bin/git).

 I've set the git user.name/user.email environment values on the job
 settings.

 I don't know what else to look at.  Thoughts?

 --
 Jeff Vincent
 See my LinkedIn profile at:
 http://www.linkedin.com/in/rjeffreyvincent
 I ♥ DropBox http://db.tt/9O6LfBX !!

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






 --

 Atenciosamente,

 Eduardo

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




Artifacts in the main page of the multiconfiguration job

2013-03-07 Thread krislodz
I have slave nodes that do builds and then in order to see their resulting 
artifacts I have to go into each configuration that was run. Is that an 
easy way to gather the results in the main page? Secondly, if I invoke a 
downstream job doing additional builds, is there an easy way to display the 
artifacts in the upstream's project main page?

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




From Jenkins Groovy: isSecurityEnabled()?

2013-03-07 Thread Merrow, Frank
Is there a way from the Groovy Console to ask is security enabled?

Bonus points if you can tell me the kind of security that is enabled and how to 
get to the security instance if it is project based security.

Frank

-- 
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: cygwin - how to use - quick question

2013-03-07 Thread Slide
I use Cygwin completely in my builds, I don't try and call cygwin
applications from a Windows Batch area, I always use the shell script build
step and then set the path to Cygwin's bash in the global configuration.
This works just fine for us.


On Thu, Mar 7, 2013 at 9:30 AM, Aris Green aris.gr...@gmail.com wrote:

 I've tortured myself several times trying to call Cygwin neatly from the
 Windows CMD shell.  Only to forget how I did it months later.  One
 question... This is very easy to do with a little Groovy script.  You could
 save the script using the Scriptler plug-in.  Google Groovy md5 hash and
 you'll see a lot of examples.  You can then forget about having to call
 Cygwin.


 On Wednesday, March 6, 2013 8:11:57 PM UTC-7, zw wrote:

 Hi All

 We have an .exe file under C:\jenkins\workspace\install\**app.exe

 We tried using build step a Windows batch command to check the files
 md5sum with

 set PATH=/cygdrive/c/cygwin/bin;$**PATH
 /cygdrive/c/cygwin/bin/bash.**exe /cygdrive/c/cygwin/bin/md5sum.**exe
 /cygdrive/c/jenkins/workspace/**job2/app.exe


 But we get
 [job2] $ cmd /c call
 C:\Users\rrr\AppData\Local\**Temp\**jenkins1634104131808727925.bat

 c:\jenkins\workspace\job2set PATH=/cygdrive/c/cygwin/bin;$**PATH

 c:\jenkins\workspace\job2/**cygdrive/c/cygwin/bin/bash.exe
 /cygdrive/c/cygwin/bin/md5sum.**exe
 /cygdrive/c/jenkins/workspace/**job2/app.exe
 The system cannot find the path specified.

 How do we get cygwin to run in a job to get app.exe's md5sum ?

 Thanks

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






-- 
Website: http://earl-of-code.com

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




github plugin: commit status configuration/authentication?

2013-03-07 Thread Andy Freeland
I've been trying to use the commit status functionality from the latest 
version of the GitHub plugin 
(https://github.com/jenkinsci/github-plugin/pull/23). I built and installed 
the plugin, but I haven't found anywhere to configure authentication to 
actually post the commit statuses.

In my repository, I've tried setting the git url to 
https://oauth_to...@github.com/rouge8/jenkins-test.git, but I've also tried 
git://github.com/rouge8/jenkins-test.git with no luck.

I have the post-build action Set build status on GitHub commit activated, 
but I haven't found anywhere to configure the authentication.

Has anyone successfully configured the plugin?

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




Re: Jenkins + FindBugs plugin: use rank instead of priority in Jenkins

2013-03-07 Thread Ulli Hafner
You can't define the ranks on your own. Rank is a kind of new priority 
introduced by the FindBugs team. So each bug has a constant priority and rank. 
What I'm doing in my plug-in is to map either each bug rank (if the check boy 
is set) or priority to one of the three plug-in priorities LOW, NORMAL, HIGH. 
The checkbox just determines which value is used to assign a bug to one of the 
plug-in priorities.

The mapping is defined in 
https://github.com/jenkinsci/findbugs-plugin/blob/master/plugin/src/main/java/hudson/plugins/findbugs/parser/FindBugsParser.java#L329

Ulli


 
Am 07.03.2013 um 21:32 schrieb Paulo Cheadi Haddad Filho paulo...@gmail.com:

 Hey guys!
 
 I'm setting up a Jenkins server with Sonar for code analysis and coverage 
 with FindBugs, Cobertura and PMD.
 
 Then I was asked to create a job in it that runs tests for some project and 
 if Findbugs find some scary or worst problem then the build results in 
 failure.
 
 After some googling I came up to this where it says
 Release 4.26
 Added option to either use FindBugs bug priority or rank when mapping the 
 plug-in warning priorities
 I thought that, with this change, I could set ranks in thresholds seen in 
 this image
 
 
 
 
 
 So, I would like to know if it's possible to do what I was asked to and, if 
 so, how to do it. And if I got it wrong, what's use rank as priority stands 
 for?
 
 Thanks in advance!
 
 -- 
 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: github plugin: commit status configuration/authentication?

2013-03-07 Thread Andy Freeland
I'm also not seeing any logs from the post-build actions, so I have no idea 
what it's doing.

On Thursday, March 7, 2013 4:05:14 PM UTC-5, Andy Freeland wrote:

 I've been trying to use the commit status functionality from the latest 
 version of the GitHub plugin (
 https://github.com/jenkinsci/github-plugin/pull/23). I built and 
 installed the plugin, but I haven't found anywhere to configure 
 authentication to actually post the commit statuses.

 In my repository, I've tried setting the git url to 
 https://oauth_to...@github.com/rouge8/jenkins-test.git, but I've also 
 tried git://github.com/rouge8/jenkins-test.git with no luck.

 I have the post-build action Set build status on GitHub commit 
 activated, but I haven't found anywhere to configure the authentication.

 Has anyone successfully configured the plugin?


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