Re: Building Jenkins in Eclipse

2019-01-03 Thread Steffen Elste
Hi, gave it at try this morning. I downloaded the current 'Eclipse IDE for Enterprise Java Developers' (the smaller 'Eclipse IDE for Java Developers' should do as well). Cloned the repository - without importing any projects in the first place - then imported 'Existing Maven Projects' into the w

Using Groovy Label Assignment plugin to define a fallback label

2019-01-03 Thread Dirk Heinrichs
Hi, we just got some new build nodes which are faster than the others. We want to assign certain jobs to these nodes via label, but those jobs should not be put to wait when those nodes are busy otherwise. So I thought I'd use the Groovy Label Assignment Plugin to achieve this. However, the doc

Re: Building Jenkins in Eclipse

2019-01-03 Thread Baptiste Mathus
@Steffen and James, can you pretty please update the wiki page for Eclipse? I'd do it myself, but I don't use Eclipse anymore, so my experience is ~3 years outdated now. IMO, do not hesitate to remove many things, and make it very short, so that it does not become stale too quickly. For the `targ

Re: Error when manually updating Role-Strategy, when initially configured via JCasC plugin

2019-01-03 Thread Oleg Nenashev
Could you please create a Jenkins JIRA issue for that? https://wiki.jenkins.io/display/JENKINS/How+to+report+an+issue On Wednesday, December 19, 2018 at 12:57:37 PM UTC+1, spikkie wrote: > > Hi Jenkins JCasC-Plugin and Role-Strategy-Plugin teams, > > I found a work around for this issue. :-) > >

problems using google chat notification plugin

2019-01-03 Thread Faad Sayaou
Hello everyone, I am trying to use the Google chat notification plugin to post successful or failed builds I used the pipeline snippet generator to generate the command for this. However there are different ways of the defining the URL. I am now trying to configure google webhook but I do not k

Re: Building Jenkins in Eclipse

2019-01-03 Thread Steffen Elste
Hi Baptiste, i did a quick check - removed the projects from the workspace, deleted all Eclipse-related files and folders, then bumped the version of the plugin up to 3.0.0 - but i still get the compile error, the build path is not set. Can You give me a hint on how to go about updating the wiki

Re: Building Jenkins in Eclipse

2019-01-03 Thread Steffen Elste
Hi, after i modified the pom.xml of the *cli* project to include org.codehaus.mojo build-helper-maven-plugin 3.0.0 add-source generate-sources add-source

Re: why won't builds trigger with multibranch pipeline github branch source ?

2019-01-03 Thread Neil T
I meant to add that the I can see the triggers are firing from github in the jenkins logs. On Thursday, 3 January 2019 13:32:52 UTC, Neil T wrote: > > Hi All > > My desired behaviour for triggering multi branch pipelines is: > > - trigger build on commit / push to git hub > - don't trigger build

Jenkins is keeping all the old builds

2019-01-03 Thread madhvendra.thakur via Jenkins Users
Hi, I'm using Jenkins to build the war file. I have configured everything like a number of build or number or artifacts etc. I have multiple customers, So I have written a script to build the war file for a specific one. With the log, it showing that Jenkins building the war for only one custom

Move work space in Jenkins File

2019-01-03 Thread vinit ratan
Hi All, Can some one please suggest the code to move work space to job screen in Jenkins file. Thanks and Regards Vinit Ratan Automation Test Engineer Infosys Ltd. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this grou

Conversion of XML REport to HTML in Jenkins

2019-01-03 Thread vinit ratan
Hi All, I am get the correct script to convert the report generated in xml to HTML format in Jenkins File while working on Jenkins PipeLine. If some one can please help. Thanks and Regards Vinit Ratan Automation Test Engineer Infosys Ltd. -- You received this message because you are subscribe

Re: why won't builds trigger with multibranch pipeline github branch source ?

2019-01-03 Thread Neil T
Right, I think the docs are misleading me https://support.cloudbees.com/hc/en-us/articles/115003019232-GitHub-Webhook-Pipeline-Multibranch *Notes: Suppress Automatic SCM trigger property: It disables any automatic triggering, not only coming from push / pull request / repository notification bu

Re: Kubernetes plugin configuration using groovy

2019-01-03 Thread unguiculus
Did you manage to solve the issue? I'm actually having the same problem but I do use the CasC plugin as Carlos suggested. Everything looks ok in the UI but only starts working if I hit "Save". I copied away the whole JENKINS_HOME before and after hitting "Save". As expected, the diff doesn't sh

Re: Jenkins is keeping all the old builds

2019-01-03 Thread Neil T
I think you need to hire a jenkins consultant! On Thursday, 3 January 2019 14:44:42 UTC, madhvend...@dogmasystems.com wrote: > > Hi, > I'm using Jenkins to build the war file. > I have configured everything like a number of build or number or artifacts > etc. > I have multiple customers, So I h

Re: Move work space in Jenkins File

2019-01-03 Thread Neil T
Hi Vinit The workspace is a file system. The job screen is HTML page. What you are asking makes no sense (to me) unless you mean you want to archive artifacts produced by job/pipeline and have the linked in the job details screen ? In which case search on 'archiving artifacts'. It's easy with

Re: Kubernetes plugin configuration using groovy

2019-01-03 Thread Alex
Hi there, It works for me with the CASC plugin like this: jenkins: clouds: - kubernetes: name: "Kubernetes" skipTlsVerify: true namespace: "jenkins" jenkinsUrl: "http://localhost:8080"; connectTimeout: 0 readTimeout: 0 containerCapStr:

Re: Jenkins is keeping all the old builds

2019-01-03 Thread Jan Monterrubio
Does the building of all the wire files for all the customers also happen outside of jenkins? This might be a misconfiguration of maven (I assume since you mention war and target folder). On Thu, Jan 3, 2019 at 8:44 AM madhvendra.thakur via Jenkins Users < jenkinsci-users@googlegroups.com> wrote:

Re: Building Jenkins in Eclipse

2019-01-03 Thread Gerry Storm
Thank you all very much. I am not particularly fond of Eclipse per se. I have used it in the past and it was my first choice. If you think Apache NetBeans or IntelliJ IDEA are better I will switch to one of those. Which one would you recommend and are there instructions available I could follow? O

Re: Building Jenkins in Eclipse

2019-01-03 Thread Jan Monterrubio
I personally use intellij idea, since it lets you import a project ( and if it is maven it will wire things up on its own). https://blog.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/ On Thu, Jan 3, 2019 at 10:55 AM Gerry Storm wrote: > Thank you all very much. I am not parti

Re: Issue with setting up Jenkins agent to run everytime on windows reboot.

2019-01-03 Thread Pravin Patil
I tried with following settings on the task within task-scheduler : Right click on your task > "Properties" > "General "Run with highest privileges" (test both options) "Run wheter user is logged on or not" (test both options) "Configure for" is set to machine's OS version But that hasnt helped.

not able to download tfs plugin in jenkins 2.15 version

2019-01-03 Thread Sreedevi vasudevan
trying to download tfs (visual sudio) plugin shows read timeout issue . i want to download plug in . please help -- 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

'make' exit code is ignored in declarative script

2019-01-03 Thread David Aldrich
I have a declarative script that builds a C++ application on multiple agents in parallel. A stage looks like: stage('build') { parallel { stage('znsim08') { agent { label "znsim08" } steps { sh ''

Disable 'Build' button when there is one item in a list

2019-01-03 Thread samyakpuram
I have few Jenkins job which builds with parameters. Parameters are like Dev, Val and Prod. Few jobs has only one parameter like Dev or Val or Prod. In these cases I would like to disable the Build button. The Build button must be active only if all three parameters exists in the job. Attache

Re: Disable 'Build' button when there is one item in a list

2019-01-03 Thread Bassam Khouri
To disable the "Build" button, you need to disable the Job. this way, a Jenkins user will not be able to trigger a build. On Thu, Jan 3, 2019 at 2:19 PM wrote: > I have few Jenkins job which builds with parameters. > Parameters are like Dev, Val and Prod. > > Few jobs has only one parameter lik

Re: Building Jenkins in Eclipse

2019-01-03 Thread Gerry Storm
I have tried inlelliji and still got one error when building projects: Error:(26, 25) java: package hudson.cli.client does not exist in cli/src/main/java/hudson/cli/CLI.java at "import hudson.cli.client.Messages;" On Thu, Jan 3, 2019 at 8:56 AM Jan Monterrubio wrote: > I personally use intell

Re: Building Jenkins in Eclipse

2019-01-03 Thread Gerry Storm
I'm a bit surprised. jenkins is widely used and it looks looks like there are tons of contributors. I assumed it would be a breeze to build it from the source. I wonder if this is just my bad luck? On Thu, Jan 3, 2019 at 12:08 PM Gerry Storm wrote: > I have tried inlelliji and still got one erro

Re: Building Jenkins in Eclipse

2019-01-03 Thread Slide
It could be your bad luck, I have never had the same issues you are having. I just imported the top level directory into IntelliJ IDEA as a Maven project and it worked flawlessly for me. On Thu, Jan 3, 2019 at 1:19 PM Gerry Storm wrote: > I'm a bit surprised. jenkins is widely used and it looks

Re: Building Jenkins in Eclipse

2019-01-03 Thread Bassam Khouri
I had an issue trying to create a plugin one. I has a settings.xml in my ~/.m2 folder. If you've got a settings.xml file, I wonder if it can be causing the issue you are encountering. Back it up, remove it, and see if you can build. --- "What we can or cannot do, what we consider possible or im

Re: Error when manually updating Role-Strategy, when initially configured via JCasC plugin

2019-01-03 Thread spikkie
hi, I created folloing issue https://issues.jenkins-ci.org/browse/JENKINS-55394 Error when manually updating Role-Strategy, when initially configured via JCasC plugin kind regards, Bas Am Donnerstag, 3. Januar 2019 12:43:08 UTC+1 schrieb Oleg Nenashev: > > Could you please create a Jenkins J

Re: Building Jenkins in Eclipse

2019-01-03 Thread Ullrich Hafner
Building is quite easy:-) Just importing it into an IDE is complex since Jenkins uses a lot of hacks around the maven infrastructure so it does not work out of the box. E.g., the compile error in IntelliJ is due to missing generated resource files. These generated sources are not picked up aut

Re: Building Jenkins in Eclipse

2019-01-03 Thread Gerry Storm
Thank you Ullrich and all. I was able to import and build jenkins as follows: 1) git clone https://github.com/jenkinsci/jenkins.git 2) cd jenkins; mvn install -DskipTests 3) Started inlellij, imported and built the projects, no errors just tons of warnings. I now want to debug the jenkins.war. I

Re: Move work space in Jenkins File

2019-01-03 Thread vinit ratan
Hi Neil, By default when we are using Jenkins Pipeline, in order to see workspace we need to follow below steps:- Click on build no. => Click On Pipeline Steps=> Click on Allocate Node Start link.=> Here uset sees workspace on Left However what we need is to have workspace on the project home pa

Re: Building Jenkins in Eclipse

2019-01-03 Thread Baptiste Mathus
That is definitely abnormal. This is an Eclipse bug then, because that configuration is already inherited by the cli module (you can check yourself using mvn help:effective-pom). Le jeu. 3 janv. 2019 à 14:17, Steffen Elste a écrit : > Hi, > after i modified the pom.xml of the *cli* project to in