Jenkins job only runs by user jenkins

2017-01-15 Thread steven ylu
I installed Jenkins in CentOS 6.4 Linux machine. I created user builder. I also have installed following plug-ins: - Credentials plugin - Credentials Binding plugin

Re: Memory leak (groovy)

2017-01-15 Thread Daniel Beck
Given that there's ClassInfo in there, could this be https://issues.jenkins-ci.org/browse/JENKINS-33358 ? > On 11.01.2017, at 09:07, Сергей Баранов wrote: > > Thanks for your reply. > I'v checked this, and found that all our workflow jobs uses SCM, as I know, > in this mode 'groovy sandbox' e

jenkins, saml and Keycloak SSO

2017-01-15 Thread James Regis
Hello, I am trying to make jenkins + saml plugin + keycloak working together and I am facing a issue. I have gnerate the IDP metadata and once I am trying to login : http://jenkins.example.com/securityRealm/finishLogin, I am redirected to the keycloak login page. When I am trying to login wit

Multiple Pipelines in one GitHub Repository

2017-01-15 Thread George Reilly
We have multiple projects in one large GitHub repository. Call them `server`, `web`, `android`, and `ios`. Each project has a very different build. When we push a change to, say, the `server` directory tree to GitHub, we want to build `server`—and only `server`. We do not want to build every projec

Re: Pipeline: combining milestone, lock and parallel executions

2017-01-15 Thread Michael Kobit
That is useful! Did you discover an open issue for that? Is it just not supported yet? On Sun, Jan 15, 2017 at 4:17 PM ST wrote: > After even more investigation it seems that *nested lock() statements are > not supported*. Thats what caused all my headache. When using a single > lock() statement

Re: Pipeline: combining milestone, lock and parallel executions

2017-01-15 Thread ST
After even more investigation it seems that *nested lock() statements are not supported*. Thats what caused all my headache. When using a single lock() statement with inversePrecedence:true, and two milestone() statements, then the LIFO queue for running the integration tests works like a charm. H

Pipeline-groovy, ProcessImpl, not serializable variables

2017-01-15 Thread Martin Holeček
Hello! I need to start a new process in groovy and check some files on the disk whle also checking if the process still runs and then terminate him. The point is, that groovy says, that ProcessImlp is not serializable. I dont care actually - I can live with the fact, that the build/job will be

Re: Problems using jenkins-cli quiet-down -block

2017-01-15 Thread Joe
After some more tests it looks like the problem affects pipeline jobs but not freestyle jobs. I guess this is a bug so have raised a jira https://issues.jenkins-ci.org/browse/JENKINS-41085 On Wednesday, 11 January 2017 09:59:46 UTC, Joe wrote: > > > Hi all, > > I want to run some scripts exter

Re: Pipeline: combining milestone, lock and parallel executions

2017-01-15 Thread ST
Found this Jenkins bug which I guess is the cause of my problems, so added a comment there: https://issues.jenkins-ci.org/browse/JENKINS-40787 On Sun, Jan 15, 2017 at 12:28 AM, ST wrote: > I'm trying to understand why the construct below doesnt work as I expect > it to, but have spent hours over