Re: Blue Ocean Alpha Plugin - HTTP error of HTTPS

2016-07-27 Thread Michael Neale
Oh good catch. I am still curious why it would redirect to http - in *theory* the header is available so it can know the forwarded protocol... but good to hear this is resolved. On Thursday, July 28, 2016 at 10:16:25 AM UTC+10, Dominic Scheirlinck wrote: > > Hi Michael, > > The relevant part

Re: scm.gitTool in Jenkinsfile

2016-07-27 Thread nicolas de loof
Any reason you don't set git in default path ? Would be so simpler ;) Le 27 juil. 2016 10:56 PM, "Nigel Magnay" a écrit : > No, as it's not on the path so would not be found. > > Oddly, if I do > scm.gitTool = 'win git' > echo scm.gitTool > > it responds with 'null' - so

Getting build cause

2016-07-27 Thread Shade Alabsa
I've been trying to write a Jenkinsfile to do different tasks based on whether it's a PR or a merge in Jenkins 2. I've found the snippet below which will tell me if the build was triggered by a user or via Github. The problem is that if the build was started via a PR or a merge the reason is

Re: Multibranch Pipeline Jenkinsfile job script not seeing Credentials

2016-07-27 Thread Francis Lalonde
It just doesn't run. I've seen this behavior with the maven settings file, if you specify something that could not be found, the code within the block is just skipped. I've made sure to use the ugly ID in my script, but I didn't put it in my example for clarity. That no credentials appear

Re: BlueOcean JavaScript Error

2016-07-27 Thread John D. Ament
One more thing. Hitting this endpoint: /blue/rest/search/?q=type:pipeline;excludedFromFlattening:jenkins.branch.MultiBranchProject has this stacktrace in it: java.io.IOException: Failed to write status at org.kohsuke.stapler.export.Property.safeGetValue(Property.java:151) at

BlueOcean JavaScript Error

2016-07-27 Thread John D. Ament
Was recommended to try the blue ocean plugin for jenkins. After setting it up, in my existing jenkins instance. I get the screen "No pipelines found" even though I have pipelines, and found the following javascript error: jenkins-js-extension.js:15863 SyntaxError: Unexpected token in JSON

Re: Blue Ocean Alpha Plugin - HTTP error of HTTPS

2016-07-27 Thread Dominic Scheirlinck
Hi Michael, The relevant part is the proxy_redirect directive (I had mine at 'off'). Jenkins generates a redirect, and nginx (if acting as a reverse proxy) has to rewrite the location to the correct one (Jenkins, running behind the reverse proxy, is relatively correct in redirecting to HTTP I

Re: Blue Ocean Alpha Plugin - HTTP error of HTTPS

2016-07-27 Thread Michael Neale
Are you able to share the relevant parts of your nginx config? I that redirect seems to be the problem (it should not redirect to non https, that seems a bug). I assume you are using example.com instead of your actual url just by way of example? On Thursday, July 28, 2016 at 9:59:53 AM

Re: Blue Ocean Alpha Plugin - HTTP error of HTTPS

2016-07-27 Thread Dominic Scheirlinck
Here's what's going on according to my testing: - /blue/js-extensions/ is the only affected resource - The page attempts to load https://example.com/blue/js-extensions (NB: no trailing slash) - This results in a 302, redirecting to Location: http://example.com/blue/js-extensions/ (NB: trailing

Re: Jenkins CLI, trouble installing plugin from local hpi

2016-07-27 Thread James Richard
Manually uploading the files to the server works fine, I can upgrade/downgrade and install any specific version without trouble. There is only an issue when I use the Jenkins CLI -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe

Programmatically check if Jenkins service is up and running

2016-07-27 Thread Liora Milbaum
My chef cookbook deploys Jenkins and few plugins. A restart is required after the plugins are installed. It takes few seconds to the service coming back. Till than, no additional configuration can be executed on that Jenkins service. The easiest way is to sleep for lets say 60 seconds and than

Re: Multibranch Pipeline Jenkinsfile job script not seeing Credentials

2016-07-27 Thread Michael Neale
Should the credentialsId be the horrible ugly ID in advanced in credentials? is there no error, but it just doesn't run? On Thursday, July 28, 2016 at 7:34:51 AM UTC+10, Francis Lalonde wrote: > > Hi - > > I am writing a Jenkinsfile script to automate the creation of pipelines > using the

Re: Blue Ocean Alpha Plugin - HTTP error of HTTPS

2016-07-27 Thread Michael Neale
It's hard to say, it could be a quirk of proxy settings. The resources don't specify any absolute paths that I can tell. if you use chrome, can you see what resources are trying to load that way, and what is triggering them? inspecting the JS will help a bit. note that 'X-Forwarded-Proto'

Error while running maven install

2016-07-27 Thread neha tayal
I am trying to run the scm plugin. After running maven install it gives are below error Here is the error log WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:1.117 is missing, no dependency information available [WARNING] Failed to build parent project for

Multibranch Pipeline Jenkinsfile job script not seeing Credentials

2016-07-27 Thread Francis Lalonde
Hi - I am writing a Jenkinsfile script to automate the creation of pipelines using the multibranch plugin. The Jenkinsfile appears at the root of a github repo. Branch Indexing is working fine and the first stages (Maven commands) go trough without a hitch. But then I am trying to deploy

Jenkins CLI, trouble installing plugin from local hpi

2016-07-27 Thread James Richard
Using Jenkins 1.642.4, I installed an older version of my plugin from a local hpi using the Jenkins CLI and did a safe restart. When I try to install a newer version from a local hpi using the Jenkins CLI, http://localhost:8080/pluginManager/installed still shows the older version is

Re: Java 8 build are failing... please help..

2016-07-27 Thread Mark Waite
http://stackoverflow.com/questions/23442621/ant-class-not-found-javac1-8 seems to hint that the Ant version you're using may not be compatible with Java 8. Mark Waite On Wed, Jul 27, 2016 at 2:42 PM Prasu S wrote: > We are planning to migrate to Jboss 6. . I installed JDK

Re: scm.gitTool in Jenkinsfile

2016-07-27 Thread Nigel Magnay
No, as it's not on the path so would not be found. Oddly, if I do scm.gitTool = 'win git' echo scm.gitTool it responds with 'null' - so something is odd in the field setter :-/ On Wed, Jul 27, 2016 at 9:53 PM, Mark Waite wrote: > Have you tried configuring your git

Re: scm.gitTool in Jenkinsfile

2016-07-27 Thread Mark Waite
Have you tried configuring your git executable to be "git" rather than "/usr/bin/git"? That's what I've used in multi-platform environments and it has worked well for me. Mark Waite On Wed, Jul 27, 2016 at 1:57 PM Nigel Magnay wrote: > In a bitbucket-sourced

Java 8 build are failing... please help..

2016-07-27 Thread Prasu S
We are planning to migrate to Jboss 6. . I installed JDK 1.8 on our test server . It now has both JDK 1.7 and JDK1.8 so that Jenkins jobs can use either JDK1.7 or JDK 1.8 . When I compile our code with JDK 1.8, I'm receiving this error: C:/Jenkins/XYZ/workspace/build.xml :116 :Class not

Re: Scaling - executors vs slaves

2016-07-27 Thread Baptiste Mathus
Good practices to scale, IMO: * don't build on the master * Yes. Add agents/slaves, see below. * Never put more than one executor per agent (slave term now deprecated). Engineering time is far more expensive than having N agents, preventing builds to step over each other's toes. ** We initially

RE: Scaling - executors vs slaves

2016-07-27 Thread John Mellor
The system load associated with any given build varies extremely widely, so I do not think that it is possible to provide guidelines for how many executors to configure. Some jobs just do a lot of disk i/o, while other use all possible processor threads to build (e.g: make –j steps). It may

Re: Scaling - executors vs slaves

2016-07-27 Thread Stephen Connolly
You really want a few build agents. FTR you are not even close to scaling limits... I'm giving a talk on how to scale Jenkins at this years Jenkins World... I don't want to spoil the fun of that talk so I'm not giving out details, but if you cannot get to Jenkins World it will be available

scm.gitTool in Jenkinsfile

2016-07-27 Thread Nigel Magnay
In a bitbucket-sourced multibranch repository, I need to ensure the git checkout doesn't occur with /usr/bin/git, but with a tool that stands a chance of executing on Windows. I had rather hoped it would simply be the case of doing scm.gitTool = 'win git'; before my checkout scm But it still

RE: Scaling - executors vs slaves

2016-07-27 Thread Jackson, Randy
Bruce, If you need to expand the number of executors on your master and prevent the jobs you need to run in sequence from running in parallel, I would look into using the Parameterized Trigger Plugin. You can create a control job to fire off the jobs you want to run one after the other by

Scaling - executors vs slaves

2016-07-27 Thread Bruce Epstein
Hi - I'm an experienced Jenkins user (writing Ant scripts, using plugins, etc.) but not an IT/administrator, and my IT dept is not that familiar with Jenkins scaling. If anyone can point me to a comprehensive discussion of the best way to scale, please provide a url. Current architecture:

Re: Blue Ocean Alpha Plugin - HTTP error of HTTPS

2016-07-27 Thread Dan QAmbox
Sorry forgot link: http://stackoverflow.com/questions/18251128/why-am-i-suddenly-getting-a-blocked-loading-mixed-active-content-issue-in-fire On Wednesday, July 27, 2016 at 2:40:24 PM UTC-4, Dan QAmbox wrote: > > This is the issue it seems, but have no idea where to look to set the src >

Re: Blue Ocean Alpha Plugin - HTTP error of HTTPS

2016-07-27 Thread Dan QAmbox
This is the issue it seems, but have no idea where to look to set the src locally in the files to src=//. On Wednesday, July 27, 2016 at 10:33:39 AM UTC-4, Dan QAmbox wrote: > > Wonder is this may be related: > https://issues.jenkins-ci.org/browse/JENKINS-14223 > > On Wednesday, July 27, 2016

Re: accounts.jenkins.io problems not able to reset password or sign up

2016-07-27 Thread Narahari 'n' Savitha
Thank You Sir. I was able to reset the password now. Appreciate your help. Regards, -Narahari On Tuesday, July 26, 2016 at 9:41:36 PM UTC-4, Narahari 'n' Savitha wrote: > > Hello: > I tried to reset the password on the accounts.jenkins.io site and here is > what I see. > > *HTTP ERROR 500* >

Re: How to set request header size for jetty

2016-07-27 Thread Mohammed Zahriya
HI Andreas, were you able to resolve this issue? We have Jenkins installed on Linux using the RPM and need to increase the header size to get our SSO operational. What configuration file and parameter did you update to resolve the issue? Error Currently encountered:

Log Parser and Reporting tool

2016-07-27 Thread Bubunia Patra
Hi all, I was looking for a jenkins plugin that can parse the jenkins console logs after all the tests are run and put a report something as follows: TestName : Status(Fail/Pass) : Error Message: LogPath (html link for testcaselog) format so that I can access the log by clicking on the html

Share same jenkins home directory across multiple jenkins master in AWS environment

2016-07-27 Thread vivek . dhrhel
Hi Guys, I am trying to share same home directory across multiple jenkins master in AWS environment using ELB ( Load balancer ) & EFS ( NFS server ) to keep the jenkins home in sync & share the load across multiple masters . Sometime i get an error like you have shared a home directory

Re: accounts.jenkins.io problems not able to reset password or sign up

2016-07-27 Thread R. Tyler Croy
(replies inline) On Tue, 26 Jul 2016, Narahari 'n' Savitha wrote: > Hello: > I tried to reset the password on the accounts.jenkins.io site and here is > what I see. Please try again an issue behind the scenes was preventing the LDAP operations from completing. > > *HTTP ERROR 500* > >

Re: Blue Ocean Alpha Plugin - HTTP error of HTTPS

2016-07-27 Thread Dan QAmbox
Wonder is this may be related: https://issues.jenkins-ci.org/browse/JENKINS-14223 On Wednesday, July 27, 2016 at 9:49:43 AM UTC-4, Dan QAmbox wrote: > > I restarted the server after updating the url in the configs to use https. > Still getting the same error. Is still thinks that the url is

Urgent Req : for Core Java Developer's with Web Services Mclean VA Fulltime

2016-07-27 Thread lucky samudrala
HI Professional This is Manish from Agile Enterprise solutions This is in reference to the following position. * Please find below job description if you feel comfortable please revert with updated resume, Rate and contact details ASAP * *Title : **Core Java Developer* *Start

Re: Blue Ocean Alpha Plugin - HTTP error of HTTPS

2016-07-27 Thread Dan QAmbox
I restarted the server after updating the url in the configs to use https. Still getting the same error. Is still thinks that the url is http. Is there another place I need to set the https in the configs? Sincerely On Wednesday, July 27, 2016 at 2:13:28 AM UTC-4, James Dumay wrote: > > Does

Pipeline: parallel and produced artifacts

2016-07-27 Thread Manuel Vacelet
Hi there, I'm using Jenkins 2.7.1 with Pipeline 2.2. My Jenkinsfile uses parallel to execute 2 type of tests but I don't have an aggregation of test results. I only get one of them: stage "Test" parallel 'rest-c6-php53-httpd22-mysql51': { node('docker') { checkout scm

Deployment

2016-07-27 Thread Raghu Goud
Hi , Iam new to jenkins ,i have checkout code form svn and generate build ear . please help me to deploy ear file from one server to another remote server. Let me know the steps... -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: Blue Ocean Alpha Plugin - HTTP error of HTTPS

2016-07-27 Thread James Dumay
Does bouncing your Jenkins server help? Strangely we use https on blueocean.io right now and we are not seeing any issues. On Wednesday, July 27, 2016 at 6:24:55 AM UTC+10, Dan QAmbox wrote: > > I went in and updated that to be HTTPS. I saved it but still getting the > same error in the console

Re: Blue Ocean Alpha Plugin - HTTP error of HTTPS

2016-07-27 Thread Michael Neale
This is odd, others use https and haven't seen this... the blue ocean url has https in it? On Wednesday, July 27, 2016 at 6:24:55 AM UTC+10, Dan QAmbox wrote: > > I went in and updated that to be HTTPS. I saved it but still getting the > same error in the console when trying to go to the blue