Re: Jenkins Failure for initial Build

2018-01-16 Thread Cuong Tran
It looks like the project you referenced in the job doesn't exist. On Sunday, November 26, 2017 at 4:32:51 AM UTC-8, Sridhar Babu wrote: > > Hi I am new to Jenkins and started Learning and for my trail getting below > Failure message. > Could you please tell me what could be the issue > >

How to run jobs on oraclelinux container.

2018-01-16 Thread Ivan Fernandez Calvo
You can build your own docker image based in this https://github.com/jenkinsci/docker-jnlp-slave but extending this one https://hub.docker.com/_/oraclelinux/ , you only need to be sure that Java is in it -- You received this message because you are subscribed to the Google Groups "Jenkins

Re: Security Access Violation?

2018-01-16 Thread Ivan Fernandez Calvo
There is an issue reported https://issues.jenkins-ci.org/browse/JENKINS-27306 And there is some that I am not sure but they seem related https://issues.jenkins-ci.org/browse/JENKINS-43934 https://issues.jenkins-ci.org/browse/JENKINS-27916 -- You received this message because you are subscribed

Re: Configuration that works for PRs and master

2018-01-16 Thread Cuong Tran
If you use Jenkinsfile, you can use BRANCH_NAME environment to detect whether it's from a PR or not. What you describes is pretty straight forward to do with Jenkins file. Check out: https://jenkins.io/doc/book/pipeline/syntax/#when On Tuesday, January 16, 2018 at 7:52:57 AM UTC-8, Hiesgen,

Re: Multi-branch pipeline without Jenkinsfile in the repo?

2018-01-16 Thread Mark Waite
On Tue, Jan 16, 2018 at 8:52 AM wrote: > Is it still possible to have this triggered on PR on the repository > without the Jenkinsfile ? > > I don't think so. Using a "shadow repository" with a Jenkinsfile is a temporary technique that I used while exploring

Configuration that works for PRs and master

2018-01-16 Thread Hiesgen, Raphael
Hello fellow Jenkins users, I'll start with my goal, shortly describe what we have and than what I've tried to achieve said goal. # Goal Create a Jenkins configuration that is triggered when a PR is opened or manually to build the master branch for several OS / compiler configurations. #

Re: Multi-branch pipeline without Jenkinsfile in the repo?

2018-01-16 Thread dhl-dev
Is it still possible to have this triggered on PR on the repository without the Jenkinsfile ? On Sunday, April 30, 2017 at 1:46:32 AM UTC+2, Mark Waite wrote: > > > > On Saturday, April 29, 2017 at 3:06:32 PM UTC-6, Kaido Kert wrote: >> >> Hi, >> >> I've been using Freestyle multibranch project

Re: Pipeline Recipe for Timer Cause vs User Build Button Cause?

2018-01-16 Thread Victor Martinez
I guess the below can help you out with the build cause: - https://github.com/jenkinsci/pipeline-examples/tree/master/pipeline-examples/get-build-cause cheers -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and

Pipeline Recipe for Timer Cause vs User Build Button Cause?

2018-01-16 Thread jieryn
I use the latest Jenkins release with all the common plugins fully up to date on RHEL 7 via Java 8. Does anyone happen to have a recipe I can follow to set different `defaultValue` for ```parameters { booleanParam (defaultValue: xxx, ...) }``` depending on whether the this run was triggered by a

Re: Linting Jenkinsfile

2018-01-16 Thread Mayur Nagekar
Hi Daniel, Many thanks for letting me know and updating the page with the right information. Thanks, Mayur On Tuesday, January 16, 2018 at 4:00:49 PM UTC+5:30, Daniel Beck wrote: > > > > On 16. Jan 2018, at 11:00, Mayur Nagekar > wrote: > > > > Thank you for looking

AW: Jenkins Docker Plugin with custom registry

2018-01-16 Thread Markus Petzsch
Hello again, I found the solution myself. Putting the registry into the image name like so solved it: registry:4567/XXX/buildslaves:java Best Regards Markus Petzsch -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Re: Linting Jenkinsfile

2018-01-16 Thread Daniel Beck
> On 16. Jan 2018, at 11:00, Mayur Nagekar wrote: > > Thank you for looking into it. I checked /configure as the first > step but didn't find much there :( > Is it that I need some plugin to be installed for it ? > Since Jenkins 2.51 the SSHD port configuration is

Re: Linting Jenkinsfile

2018-01-16 Thread Richard Bywater
Configuration details are provided in the page I linked to in my previous email. Richard On Tue, 16 Jan 2018, 10:23 PM Mayur Nagekar, wrote: > Hi Richard, > > How do I configure the sshd port for jenkins ? Can you guide me ? > > Thanks, > Mayur > > > On Tuesday,

Re: Linting Jenkinsfile

2018-01-16 Thread Mayur Nagekar
Hey Ben, Thank you for looking into it. I checked /configure as the first step but didn't find much there :( Is it that I need some plugin to be installed for it ? Thanks, Mayur P.S I am good. Really ecstatic to hear from you. Looks like your love for jenkins is still alive and kicking :) On

How to run jobs on oraclelinux container.

2018-01-16 Thread pbasanta2002
Hi , We have a problem on Jenkins on which container the job will run. By default jenkins job is using jnlp container to run the Jobs. inorder to run the jobs on the oraclelinux image. 1. We Successfully created docker-jnlp-slave image with oraclelinux image. 2. Able to pull docker-jnlp-slave

Re: Linting Jenkinsfile

2018-01-16 Thread Benjamin Lau
Hey Mayur, Check in the Manage Jenkins menu. If you search for sshd you should find it pretty quick. :-) /configure Ben P.S. How's it hanging former co-worker? On Tue, Jan 16, 2018 at 1:23 AM, Mayur Nagekar wrote: > Hi Richard, > > How do I configure the sshd port

Re: Linting Jenkinsfile

2018-01-16 Thread Mayur Nagekar
Hi Richard, How do I configure the sshd port for jenkins ? Can you guide me ? Thanks, Mayur On Tuesday, January 16, 2018 at 2:08:22 PM UTC+5:30, Richard Bywater wrote: > > Hi Mayur > > You need to connect to Jenkins' SSH port and not the system port number. > See

Re: Linting Jenkinsfile

2018-01-16 Thread Richard Bywater
Hi Mayur You need to connect to Jenkins' SSH port and not the system port number. See https://wiki.jenkins.io/display/JENKINS/Jenkins+SSH for more info. Richard. On Tue, 16 Jan 2018 at 21:25 Mayur Nagekar wrote: > ssh -i ~/.ssh/id_rsa_jenkins -p 22 declarative-linter

Re: [EXTERNAL] - Re: Linting Jenkinsfile

2018-01-16 Thread Dirk Heinrichs
Am 16.01.2018 um 09:25 schrieb Mayur Nagekar: > I have no idea where that comes from ? And thats why my question. Well, according to your other reply you do: | ssh -i ~/.ssh/id_rsa_jenkins -p 22declarative-linter /full/path/to/declarative-linter mailto:dirk.heinri...@recommind.com> *Website*:

Re: Linting Jenkinsfile

2018-01-16 Thread Mayur Nagekar
ssh -i ~/.ssh/id_rsa_jenkins -p 22 declarative-linter < Jenkinsfile I have been trying to test a *declarative pipeline *style Jenkinfile. On Tuesday, January 16, 2018 at 1:10:17 PM UTC+5:30, ok999 wrote: > > Somethings that you need to add in your help request: > 1. How are connecting to the

Re: Linting Jenkinsfile

2018-01-16 Thread Mayur Nagekar
I have no idea where that comes from ? And thats why my question. On Tuesday, January 16, 2018 at 1:20:40 PM UTC+5:30, Dirk Heinrichs wrote: > > Am 16.01.2018 um 08:34 schrieb Mayur Nagekar: > > bash: declarative-linter: command not found > > > Is the directory containing declarative-linter in

Re: Linting Jenkinsfile

2018-01-16 Thread Mayur Nagekar
ssh -i ~/.ssh/id_rsa_jenkins -p 22 declarative-linter < Jenkinsfile I have been trying to test a *declarative pipeline *style Jenkinfile. @ok999 On Tuesday, January 16, 2018 at 1:04:30 PM UTC+5:30, Mayur Nagekar wrote: > > Hello all, > > I have been trying to find a way to lint Jenkinsfile