getting only an NPE when building a Jenkinsfile job, how to debug?

2016-06-16 Thread Mike Rooney
Hello there! We're using Jenkins 2.9 with the Bitbucket Branch Source Plugin 1.5. It picks up on a branch with a Jenkinsfile which is neat, but the only build output we get is: Started by user m a java.lang.NullPointerException at

Re: Jenkins Pipeline Extended Email

2016-06-16 Thread Slide
You currently cannot, token-macro, which is used to replace the tokens does not support pipeline yet. I am working on it, then email-ext will need to be updated. On Thu, Jun 16, 2016 at 12:47 PM Shannon Bigelow wrote: > How can setup the Jenkins pipeline to include

Jenkins Pipeline Extended Email

2016-06-16 Thread Shannon Bigelow
How can setup the Jenkins pipeline to include ${CHANGES} in email sent to my team? Jenkins Version 2.9 Jenkins email ext plugin installed. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving

Re: [Jenkins][BlueOcean] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile

2016-06-16 Thread Abe Fehr
What version of Java are you using? My JAVA_HOME was originally pointing to a Java 9 install which failed with the same error, but pointing it to Java 8 worked, or at least, it's farther right now. On Wednesday, June 8, 2016 at 9:55:09 PM UTC+2, Sebastian MusioĊ‚ wrote: > > Hello all, > > I have

Re: Jenkins plugin availability with Devops deployment tool.

2016-06-16 Thread Baptiste Mathus
First step: check you're able to do all that with only commands. No manual modifications allowed. Then create a job, either a freestyle or pipeline one. Add a step for the build part, then call that tool (another step, or line in a pipeline script). When you've tried it, don't hesitate to come

Re: anonymous user can cancel job

2016-06-16 Thread Daniel Beck
> On 09.06.2016, at 20:40, Hector Magnanao wrote: > > I have disabled the permission for anonymous to be able to cancel a job. > But when I see the jobs as anonymous, I'm still able to cancel a running job. If anonymous is allowed to start a build, anonymous can

Re: What are the rules for Jenkins Pipeline to allocate workspaces, are ephemeral workspaces possible?

2016-06-16 Thread James Read
Hey folks, I went poking around in the Jenkins source, and it seems that WorkspaceList.allocate() allows for workspace re-use if executor threads share the same context. Given that I've got a single master with some executors (small environment) and a single pipeline, I assume that my

Re: LTS release for 2.x

2016-06-16 Thread Daniel Beck
> On 16.06.2016, at 15:55, Dmitrijs Shahlovs > wrote: > > Do we have any estimates on LTS version for 2.x release? The first 2.x based LTS release will be 2.7.1, currently scheduled for release on July 6. For release schedule questions, the event calendar

Re: LTS release for 2.x

2016-06-16 Thread Stephen Connolly
july some time IIUC On 16 June 2016 at 14:55, Dmitrijs Shahlovs wrote: > Do we have any estimates on LTS version for 2.x release? > > In our project we are interested in updating up to 2.x , but not LTS > version wouldn't be supported by management. > > -- > You

Re: deleted job

2016-06-16 Thread CORNELIA SARBU
Hi, thank you for the audit Trail plugin hint:) Actually I found another solution:I was lucky because IT had a copy of the master maschine, and they were able to send me the bkps files. Cornelia On Sunday, June 12, 2016 at 3:27:53 PM UTC+3, Baptiste Mathus wrote: > > Hi, > > Didn't check in

LTS release for 2.x

2016-06-16 Thread Dmitrijs Shahlovs
Do we have any estimates on LTS version for 2.x release? In our project we are interested in updating up to 2.x , but not LTS version wouldn't be supported by management. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

Re: Syncing from multiple git repos

2016-06-16 Thread Mark Waite
The git plugin doesn't provide an exact match for your use case, but there are some things you can configure in the plugin which may still help you achieve your stated goal "to help save time spent in cloning everything from remote repos". The "Advanced clone behaviours" section in the

Re: Pipeline: stash includes with git directory

2016-06-16 Thread Sverre Moe
I found I could use useDefaultExcludes=false with stash stash includes: '**/*', name: 'root', useDefaultExcludes: false Will stash the entire git repository However it fails after trying to unstash java.io.IOException: remote file operation failed: /home/build/jenkins/workspace/projectA/master

Re: Security bug

2016-06-16 Thread Daniel Beck
> On 16.06.2016, at 13:07, Edward Ned Harvey (jenkins) > wrote: > > Where should I report security bugs? Please report security issues in Jenkins or its public plugins in the SECURITY project in our issue tracker. References: https://jenkins.io/security/

Syncing from multiple git repos

2016-06-16 Thread Milan Satpathy
We had a job to poll and fetch updates from a remote git repo. Recently we have a mirror repo set locally. But the locally set repo lags behind the remote one by an hour or so. So the idea was to re-configure the jenkins job in such a way that: 1) it clones from the locally set repo first ( if

Security bug

2016-06-16 Thread Edward Ned Harvey (jenkins)
Where should I report security bugs? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on

Jenkins plugin availability with Devops deployment tool.

2016-06-16 Thread Manik sharma
Hi Team , I have been using one of the in-house tool named as DEVOPS (not open source) for the deployment purposes. As i was not able to find the plugin available to sync up with the jenkins . I wanted to know whether there is any plugin available for that or if it is not there how i can i

Pipeline: stash includes with git directory

2016-06-16 Thread Sverre Moe
I need the git directory stashed because I need git archive, which does not work unless the git repository is present. I have tried several patterns, but been unsuccessful. stash includes: '**', name: 'root' stash includes: '**/*', name: 'root' stash includes: '**/.*, **/*', name: 'root' stash

Re: QUESTION: launch Jenkins builds/slave connections with 'nice'

2016-06-16 Thread Baptiste Mathus
Seems like it should be fairly feasible at least for jnlp if you start the JVM with nice. Though I'm not sure at all that kind of thing is inherited. So any step spawned from the agent's running jar might have a nice value back to 0. Le 14 juin 2016 10:24 AM, "Victor Martinez"

Re: Mulit-Branch Project Plugin and Post-build action "Publish artifacts in Maven repository (deploy)"

2016-06-16 Thread 'Sandra Parsick' via Jenkins Users
I have tried the Multi Branch Pipeline plugin. In my case it have't worked because I have to increase the timeout for cloning and at the moment it is not possible to increase the timeout because of a bug (https://issues.jenkins-ci.org/browse/JENKINS-31924). At the end I could solve my problem