Re: Pipeline Maven: Running on Windows slave

2017-09-11 Thread Sverre Moe
The fix was to set the Windows slave Remote Root Directory to Windows URI C:\cygwin64\home\username mandag 11. september 2017 08.35.29 UTC+2 skrev Sverre Moe følgende: > > Well, adding a new JDK in Jenkins Tools pointing to the Windows path of > Java worked > Then withMaven(jdk: "jdk1.8-win") > >

Re: Pipeline Maven: Running on Windows slave

2017-09-11 Thread Baptiste Mathus
Hello, I know the developers of that plugin would like to make it as good as possible. To that, if so, could you please try and summarize what you think could be made easier/better? And even if possibly a config error, if you think the error could help more quickly understand what is wrong? Thanks

Re: Multiple repository and git parameter plugin

2017-09-11 Thread Tony Martinet
Hi, Thanks for your answer Mark, and sorry for the delay of mine. I played with the pipeline script, and it's a nice solution, but i feel it doesn't suit my need completely. I want to be able to build a firmware with new libraries or SDK without creating a branch on the FW. I think with pipelin

Re: Multiple repository and git parameter plugin

2017-09-11 Thread Mark Waite
I don't know if the git parameter plugin should handle that use case or not. It is unexpected (to me) that it behaves differently on subsequent repositories than it does on the first repository. I wonder if you want multiple SCM's, each with a single repository, rather than a single SCM with mult

Re: Is it possible to apply several pipeline to one github repository ?

2017-09-11 Thread Sowlène
Hi Ian, Thank for your answer ! I will read carefully what is in links ! Sowlene. Le jeudi 7 septembre 2017 10:26:08 UTC+2, Ian Smith a écrit : > > Hi, > > I think I can give you part of a reply. Since Pipeline:Multibranch plugin > version 2.15, you can define a "Jenkinsfile" with different nam

Re: Dynamic Choice Parameter in Jenkinsfile

2017-09-11 Thread Trever
I don't know if this helps...https://stackoverflow.com/questions/40758132/dynamic-parameter-in-jenkinsfile/42230455#42230455 On Friday, September 8, 2017 at 9:26:06 AM UTC-7, Shalabh srivastava wrote: > > Hi, > > How to use dynamic choice parameter in jenkinsfile? > -- You received this message

Redirect Jenkins from http to https

2017-09-11 Thread Prasu S
How to redirect users from http to https in Jenkins? TIA -- 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 t

RE: EXTERNAL: Redirect Jenkins from http to https

2017-09-11 Thread Joaquin Henriquez
https://wiki.jenkins.io/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Prasu S Sent: 11 September 2017 17:51 To: Jenkins Users Subject: EXTERNAL: Redirect Jenkins from http to https How to redire

Re: EXTERNAL: Redirect Jenkins from http to https

2017-09-11 Thread Prasu S
Thanks Joaquin . FYI .. Jenkins is running as Windows service. I'm not quite clear which file needs to be updated? TIA On Monday, September 11, 2017 at 12:54:05 PM UTC-4, Joaquin Henriquez wrote: > > > https://wiki.jenkins.io/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy > > > > *From:*

Where to COPY my app files, etc when jenkins pipeline docker container runtime settings are overriding my Dockerfile settings?

2017-09-11 Thread Daniel Petersen
Greetings, I'm trying to setup a pipeline where a container is built, run, and appropriate tests run in the container, all during the job. The challenge I'm hitting is that jenkins seems to be overriding my WORKDIR and USER that I specify in my Dockerfile. My Dockerfile looks like this: FROM nod

Re: Building docker images with declarative pipeline

2017-09-11 Thread Alex B
Hi Drew, Could you post where you found the example using script{} block? I'm looking into building Docker images in ephemeral jenkins agents but having difficulty finding proper documentation for the syntax. -Alex On Thursday, June 1, 2017 at 1:23:11 AM UTC-5, drew@computecanada.ca wrote

Jenkins slave (EC2 AWS plugin) fails occasionally when build takes too long with error "Caused: java.io.IOException: Unexpected termination of the channel"

2017-09-11 Thread Lax Clarke
I have Jenkins configured to launch EC2 instances (via AWS plugin) to execute a build. The actual build steps use the Execute Shell method, and launch ansible scripts. I find that if the ansible script runs for too long, the Jenkins slave on the EC2 system goes down. The Jenkins GUI shows this

Grading untrusted student code and 1000 untrusted student repos with Jenkins?

2017-09-11 Thread Lawrence
Hi, I'm interested in using Jenkins to help test and grade student code written for CS programming assignments. The code might be in a git repo or might be submitted on a web form. I need a security boundary because I don't trust the student code and also want to keep some things hidden from t

Declarative pipeline: how to execute steps before SCM checkout

2017-09-11 Thread Elifarley Cruz
The checkout scm step, as I understand it, is automatically executed in a declarative pipeline. You don't have to declare it. However, I need to execute a shell script just before checking out the code. How can I achieve this in a declarative pipeline? Thanks! -- You received this message bec

Re: Declarative pipeline: how to execute steps before SCM checkout

2017-09-11 Thread Mark Waite
As far as I understand it, you'll need to prevent the implicit checkout that is part of declarative, and then perform the checkout yourself within the declarative pipeline. Refer to declarative options and the skipDefaultCheckout. Mark Waite

Re: Parallel jobs and HTML Publisher plugin

2017-09-11 Thread Ann B
I found a way around this issue. I'm only executing publishHTML when an error occurs and am giving the HTML Report link in the left nav a unique value (including the test name) so that each test failure has a link to the HTML artifacts. Ann -- You received this message because you are subscri