Re: Problem in using jenkins

2015-10-02 Thread Baptiste Mathus
Hi, You typically put your source code in your source control management system (be it Git, subversion, clearcase, perforce, and so on). And then configure Jenkins to retrieve the content from that location. Cheers Le 1 oct. 2015 7:19 AM, "veer verma" a écrit : > > Hi, > > Thanks for your reply

Re: Script executed. The exit code is 255.

2015-10-02 Thread Baptiste Mathus
Are you sure it's legal/portable to put things *before* the shebang? My 2 cents Le 30 sept. 2015 2:44 PM, "Nayan Jyoti Gogoi" a écrit : > Hi All, > > I am executing a shell script using jenkins on a hpux machine. > It goes like this. > -- > set

Re: [workflow-plugin] Null Pointer Failure when launching multiple downstream workflow jobs

2015-10-02 Thread Anshu Arya
Reported at: https://issues.jenkins-ci.org/browse/JENKINS-30759 On Thursday, October 1, 2015 at 11:40:19 PM UTC-7, Anshu Arya wrote: > > I have a parent workflow job that launches 10-15 downstream workflow jobs > with the build step. > > Something like this: > > for(int i = 0; i < 15; i++) { > >

Re: Combining Maven Repository Server Plugin and CloudBees Folders Plugin

2015-10-02 Thread Nick Stolwijk
For now we have chosen to not use the Folder plugin, but go with the Repository Server Plugin. At the moment the Maven job is good enough for us, but I guess we will move over to the Freestyle job in time. I would be very interested if the MRSP would also work for that type of job. Also, I wonder

Git commit counter with system Groovy??

2015-10-02 Thread Brantone
It almost feels like this should be pretty basic functionality, but thus far in my searches : no luck. Looking to just get the Git commit counter. I know I can use "git rev-list HEAD --count" from within the workspace, but for various reason I'm using groovy and need to set it as a parameter du

Pass parameters to Ant build in URL

2015-10-02 Thread Frank Winkler
I try to start an Ant build using an URL like this: /build?myParameter=myValue&delay=0sec The job starts without a problem, but in the job's Ant script myParameter is undefined. We're still using Jenkins 1.484. Thx in advance for any help! Frank -- You received this

groovy postbuild launcher

2015-10-02 Thread Niksan
Does anyone know if you can get at the launcher via groovy postscript, so one can do launcher.launch rather than reinvent the wheel and do string.execute()? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and st

RE: Pass parameters to Ant build in URL

2015-10-02 Thread Matthew.Webber
Is myParameter defined as a build parameter in the job that you trigger? As far as I know, you can’t use the URL to pass arbitrary parameters, only pre-defined ones. If myParameter _is_ a job parameter, how is your ant script referencing it? Matthew From: jenkinsci-users@googlegroups.com [mailt

examine slave LA

2015-10-02 Thread Ilya.Dorohov
Hello! Is there any way to check LoadAverage on Jenkins slaves and (or) tell master-server to push scheduled task to slave with minimum cpu load? Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Re: Deleting Jenkins Bindings

2015-10-02 Thread Kevin Meredith
Solution: *Jenkins -> Credentials -> Select Binding -> Delete* -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To

Re: Git plugin unable to acces local repository

2015-10-02 Thread milki milk
Did you set the credentials to be used the scm section? You need to both define the credentials _and_ use the credentials. On Thursday, October 1, 2015 at 1:38:38 PM UTC-7, Henk van Voorthuijsen wrote: > > I did - there is a credential for user "git" in the global credentials. > -- You receive

Using the Team Foundation Server plugin

2015-10-02 Thread Andy Falanga
First off, before this week, all I knew of Jenkins was the name and that it is used for continuous integration or *whatever you might want* to happen automatically. At work we use Jenkins for building on Linux. We use TFS for revision control. I'm looking to update to the 4.0.0 version of the

[ANN] mailing list for JAM coordination

2015-10-02 Thread Kohsuke Kawaguchi
Going forward, Alyssa is going to spend more time with JAM, so I created a mailing list for her for that to coordinate. https://groups.google.com/forum/#!forum/jenkinsci-jam This is a part of the attempt to make it easier for those who are involved in the community but not in the development of J

Re: Pass parameters to Ant build in URL

2015-10-02 Thread Frank Winkler
No, the job is not parameterized. So I think this is the reason why the Ant script doesn't receive the parameter. Maybe there is another way to pass a parameter to the job when it is triggered by an URL. Frank -- You received this message because you are subscribed to the Google Groups "Jenki

Can't connect to slave after restart Jenkins

2015-10-02 Thread Aneesh Sampath
Hello, I restarted Jenkins using "sudo service jenkins stop" and then "sudo service jenkins start". In between the restart, I added my previously backed up JENKINS_HOME directory into the specified location of the JENKINS_HOME. When I started Jenkins, there is a red x icon on the slave node.

Local User as well as AD User

2015-10-02 Thread Eric Fetzer
When Jenkins is integrated with AD, is it also possible to have 1 or more local users? I'd like to have a local user that builds can be called remotely from to perform automated builds via the CLI. I know I can obviously use my user and add an id_rsa key to use my own user, but I'd like the u

Re: Templates Plugin (Jenkins Enterprise)

2015-10-02 Thread Cuong Tran
Martin, We use the Templates plugin to simplify the job creation interface and standardize common job types. Combined with the folder plugin, we can restrict what can be created within a folder, making it even simpler for end users. The xml transformation isn't bad since you can just create a j

Re: Local User as well as AD User

2015-10-02 Thread Eric Fetzer
Sorry for the posting, I found it wandering around. Credentials / Global Credentials / New Credentials / Create as "SSH Username with private key" Thanks, Eric On Friday, October 2, 2015 at 12:29:04 PM UTC-6, Eric Fetzer wrote: > When Jenkins is integrated with AD, is it also possible to have

Re: Local User as well as AD User

2015-10-02 Thread Eric Fetzer
Well, this didn't work. I added the user in Global Credentials: - Global User - username = apache - Private key = Enter Directly (I added this from cat ~/.ssh/id_rsa.pub that for the user running the build from another server) When I attempt to build, I get: Authentication failed

[Rebuild plugin] Request for feedback about current behaviour for build cause

2015-10-02 Thread Baptiste Mathus
Hi, I'm a maintainer on the buildtriggerbadge plugin (named BTB hereafter). I've received a request from a user about the behaviour of my plugin wrt to using rebuild. And I've found this is seemingly actually more a Rebuild question to enable something in BTB in the end. Here's the case: * a bui

Re: Templates Plugin (Jenkins Enterprise)

2015-10-02 Thread Baptiste Mathus
+1 for the Job DSL plugin if you don't have hard security requirements on your Jenkins instance. (i.e. all users are allowed to modify anything). 2015-10-02 20:37 GMT+02:00 Cuong Tran : > Martin, > > We use the Templates plugin to simplify the job creation interface and > standardize common job t

Re: Local User as well as AD User

2015-10-02 Thread Eric Fetzer
This has taken a turn so I'm going to open a new item... Sorry for the confusion. On Friday, October 2, 2015 at 12:29:04 PM UTC-6, Eric Fetzer wrote: > > When Jenkins is integrated with AD, is it also possible to have 1 or more > local users? I'd like to have a local user that builds can be ca

Authenticate with Global Credential from Remote Server

2015-10-02 Thread Eric Fetzer
I added a user in Global Credentials: - Global User - username = apache - Private key = Enter Directly (I added this from cat ~/.ssh/id_rsa.pub for the user running the build from other server - username is apache on other server but I don't think that matters) When I attempt t

Re: Under Jenkins SignTool Error "No certificates were found", works fine logged on as user

2015-10-02 Thread Vikram Parthasarathy
Not related to Jenkins - I'm trying exactly the same thing with an IIS server and ran into the same problem. No luck yet. By the way, the Symantec EV certificate/USB token has a way to enable single sign-on. I wonder if Digicert has something like that. On Thursday, August 27, 2015 at 9:51:29 A