Pipeline holds executor while waiting for Input

2016-06-08 Thread Vishal Biyani
Hi, We have built a pipeline which builds and deploys to Dev environment and after tests deployed to QA. Beyond QA the promotions waits for input for deployment to UAT and Pre-Prod. Now here is the problem, after artifact has been deployed to QA - promotion to UAT might happen a day or two la

Re: Issue getting Docker Pipeline plugin to build an image

2016-06-08 Thread Lyle Dietz
I've made progress, it only happens when I get Upstart to start Jenkins. If I start Jenkins from within a byobu session it works fine. I'm guessing it has something to do with the environment. Now I just have to track down what that difference is. -- You received this message because you are s

Matrix-project-plugin with CloudBees Docker Custom Build Environment Plugin to run specific configuration to specific docker image.

2016-06-08 Thread ashiq
Hello everybody, Is it possible to execute specific configuration on specific docker image using matrix-project-plugin and CloudBees Docker Custom Build Environment Plugin. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

Re: Moving a job to a Folder

2016-06-08 Thread Sverre Moe
Try the Groovy Postbuild Plugin You could also use the build step "Execute system Groovy script" torsdag 9. juni 2016 08.05.39 UTC+2 skrev kumar naresh følgende: > > > Hi Sverre Moe, > > > thanks that works really good. > > I'm actually trying to add build step to execute shell existing jenkins >

Re: Moving a job to a Folder

2016-06-08 Thread kumar naresh
Hi Sverre Moe, thanks that works really good. I'm actually trying to add build step to execute shell existing jenkins job using groovy script, let me know if there any steps to do so. Regareds, kumar. On Monday, June 6, 2016 at 7:02:47 PM UTC+5:30, Sverre Moe wrote: > > import com.cloudbees.h

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

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 install

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 Thursd

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 bui

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 usi

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 wr

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 th

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) and

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" qu

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 (https://i

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 'Checkout'

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 informa

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 be

[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] java.

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: Er

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 ch

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 https://wiki.jenkins-ci.org/display/JENKINS/Plugins+affected+by+fix+for+SECURITY-170

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 failedja

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

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 re

Re: Jenkins LTS v1.651.3 - OPEN issues.

2016-06-08 Thread Daniel Beck
> On 07.06.2016, at 22:39, Ashish Yadav wrote: > > Issue 32340 is related to issue 32580 which is still OPEN Read the comments. > Issue 34858 is related to issue 34753 which is still OPEN It's in a plugin. > Issue 34808 is related to issue 22722 which is currently IN PROGRESS It's from 2014

Re: File as parameter not working

2016-06-08 Thread sivarajesh jarugula
Hi Jonathan, I got a question related to your post. I have a requirement to browse a directory (which is multiple files and sub directories) instead of a file (which is done by File parameter plugin). I know with string parameter, I can ask user to give the path of the directory. But this is er

Jenkins plugin for Directory Parameter

2016-06-08 Thread sivarajesh jarugula
I know there is a Plugin called 'File Parameter' by which I can browse a file and get into the jenkin workspace. Is there any similar way I can Browse a directory and get the whole directory and copied it to the Jenkins workspace? Thanks In Advace Rajesh -- You received this message because yo