Re: Jenkins SAML + nginx + ELB

2016-06-08 Thread Fred Clausen
Are you setting the " X-Forwarded-Proto" header? This guide might be useful. You could also try and make the "Postback URL" be "http" since that is what the request will arrive as on the Jenkins server itself.

Re: java.lang.NoSuchMethodError: No such DSL method 'git' found

2016-06-08 Thread John McC
I have: Git client plugin 1.19.6 Git plugin 2.4.4 Git server plugin 1.6 Github API plugin 1.75 [a few other github plugins] On Wednesday, June 8, 2016 at 7:19:51 PM UTC-7, Michael Neale wrote: > > normally that means that the git plugin is not installed, but I think it > is included with the

Re: Issue getting Docker Pipeline plugin to build an image

2016-06-08 Thread Lyle Dietz
> The original worked fine when using "sh 'docker build..." inside a pipeline script? Yeah, I used that to confirm there wasn't some problem with the daemon because I was starting to get paranoid. --- sh 'docker build -t openshift/wildfly:10 .' --- Works just fine. Mind you, the VM I

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

2016-06-08 Thread Michael Neale
if you are looking at kicking the tyres - docker with "jenkinsci/blueocean" should have a fairly recent build available (docker run -p 8080:8080 jenkinsci/blueocean I believe it is) - may be an easier way to get started. Hopefully will be in the update center soon for people to try. On

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

2016-06-08 Thread Michael Neale
Sorry Sebastian - can't really tell much from that failure. Try a clean checkout? I know people are now building on OSX and windows (almost working there) and linux. On Thursday, June 9, 2016 at 5:55:09 AM UTC+10, Sebastian Musioł wrote: > > Hello all, > > I have an issue with blueocean

Re: Issue getting Docker Pipeline plugin to build an image

2016-06-08 Thread Michael Neale
Sanity - well that is much more serious ;) OK, well new VM to me implies it was to do with the forever problematic bind mounting and docker (perhaps users and permissions), although this normally shows up with ".inside" not so much with build that I have seen. The original worked fine when

Re: Issue getting Docker Pipeline plugin to build an image

2016-06-08 Thread Lyle Dietz
I don't feel stupid anymore, I feel like I'm going insane. I just set up a brand new VM and the exact same repository builds. Maybe I need a holiday. On the original VM I didn't have any issues with building when using a shell command. On Thursday, 9 June 2016 12:23:49 UTC+10, Michael Neale

Re: Issue getting Docker Pipeline plugin to build an image

2016-06-08 Thread Michael Neale
Try not to feel stupid ;) The @ directories I believe due to locking - when a direcotry is locked and a step or a build wants to run in there, it appends a number, but I don't think that is your problem. Docker pipeline bind mounts in the workspace, so perhaps how your daemon is running vs

Re: java.lang.NoSuchMethodError: No such DSL method 'git' found

2016-06-08 Thread Michael Neale
normally that means that the git plugin is not installed, but I think it is included with the "recommended" - can you double check the installed plugin list? On Thursday, June 9, 2016 at 7:52:07 AM UTC+10, John McC wrote: > > I just downloaded and installed the Mac OSX package (Jenkins 2.8)

Re: Multibranch pipeline and github integration

2016-06-08 Thread Michael Neale
Those API limits will be hit quick when unathenticated, which is what you are seeing. Adding credentials is correct - are you using this plugin: https://wiki.jenkins-ci.org/display/JENKINS/Credentials+Plugin ? Perhaps some screen caps might make it clearer. This isn't a "clueless newbie"

Scheduled infrastructure maintenance window June 14 00:00 UTC

2016-06-08 Thread R. Tyler Croy
Consider this notice that there will be a scheduled maintenance window June 14th 00:00 UTC or June 13th 16:00 PDT for project infrastructure. This is a followup window to try to get JIRA upgraded, which we punted during last week's maintenance window. The work is tracked in this ticket

Multibranch pipeline and github integration

2016-06-08 Thread Warren Strange
This is probably a clueless newbie problem, but here goes: I am getting hit with github API rate limits, and want to use an authenticated account for api calls. There is a "scan credentials" drop down - but I have no idea how to add credentials to show up in the drop down. I have added a

java.lang.NoSuchMethodError: No such DSL method 'git' found

2016-06-08 Thread John McC
I just downloaded and installed the Mac OSX package (Jenkins 2.8) and created a test pipeline, using the sample script (shown below). The plugins seem to be in place (I opted to let the install choose the common ones for me). node { // Mark the code checkout 'stage' stage

Re: How to use classes in pipeline script?

2016-06-08 Thread Lars Meynberg
I'm aware that there is the possibility of the workflow-cps-global-lib-plugin but I like to now if it's possible without it or is that another groovy restriction for pipeline scripts like Closures? Am Mittwoch, 8. Juni 2016 12:08:37 UTC+2 schrieb Lars Meynberg: > > We want to group some

Configure pre-commit build in Jenkins

2016-06-08 Thread Amila Wijayarathna
Hi all, I have locally installed jenkins server and I'm trying to add a pre-commit job in jenkins. I made the basic configurations but I'm not sure how to set the build triggers for pre-commit builds. Any idea about this is thoroughly appreciated. Thank you! -- You received this message

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

2016-06-08 Thread Sebastian Musioł
Hello all, I have an issue with blueocean building. After executing 'mvn clean install' command there is an error visible: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project blueocean-commons: Compilation failure [ERROR]

Jenkins SAML + nginx + ELB

2016-06-08 Thread Nick T
I have my Jenkins server running with an nginx reverse proxy sitting in front of it. In front of that i have an AWS ELB that is terminating the SSL. So the problem is that Okta posts to https://myjenkins.mycompany.com, but on the jenkins side it sees http. so it fails. Any tips? WARNING:

Re: Deploy Mule application

2016-06-08 Thread Mark Bidewell
What my company wound up doing was creating an internal application that used the MMC REST API to deploy the artifact. For jenkins deployments we made our own maven plugin which is called in its own job. On Tuesday, June 7, 2016 at 9:16:22 PM UTC-4, GBANE FETIGUE wrote: > > > Hi FOLKS , > >

JUnit tests reported twice after upgrading to 2.8

2016-06-08 Thread RDR
Hi, I've just upgraded from 1.559 to 2.8. There were a few oddities in the upgrade process which I've worked my way past, but there is one that has stumped me. For some (but not all) of my projects Jenkins is showing a 100% increase in the number of Unit tests. I'm surprised by this as I've not

Re: Jenkins LTS v1.651.3 - OPEN issues.

2016-06-08 Thread Arnaud Héritier
> > --- > > If I were upgrading from 1.642.x to 1.651.x, I'd look into SECURITY-170 > related issues first: > > > https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2016-05-11 > > And especially

Re: Problems running a job with rake

2016-06-08 Thread 'Björn Pedersen' via Jenkins Users
Am Mittwoch, 8. Juni 2016 00:30:32 UTC+2 schrieb ziffification: > > > I have rake running as default OS version of ruby > > > > > Building in workspace /var/lib/jenkins/workspace/test2 > [test2] $ rake --rakefile /var/lib/jenkins/workspace/test2/Rakefile features > FATAL: rake execution

Re: Jenkins plugin for Restricting who can push to a branch in Github

2016-06-08 Thread Mattias Nilsson
Thanks, we are already running unit tests before we merge to master. But I am hesitant to run any more tests before the merge since that will slow down the integration to much. What we are after is more fail fast-fix fast behaviour, rather than never-fail on master. Den fredag 3 juni 2016 kl.

Multibranch Pipeline: How to parameterize?

2016-06-08 Thread Sverre Moe
Jenkins Pipeline can be parameterized, but not multibranch pipelines. There is no option for "This build is parameterized" in the configuration of a multibranch pipeline. Why is that? I have a multibranch project for each repository with multiple branches. ProjectA master develop

Skip syncing the Source Code even though Source Code Engagement is Configured in a Job

2016-06-08 Thread rama krishna
Hi, In my current working project I need to " skip syncing the source code when a Jenkins job triggers even though job is configured with Source Code management (Perforce) " in it. As per my use case I need to perform this step whenever a build trigger by a " RemoteCause " instead of " Self /