Making the jenkins scm checkout smart

2018-10-29 Thread touseef
Hi , I have a source code repository having multiple branches say branch1, branch2 and so on. Currently i have a jenkins jobs which builds the master or whatever i specify in job configuration.Now what i wish to achieve is if i commit my changes to branch 1 , my jenkins job should automaticall

Eclipse Editor for jenkinsfile

2018-10-29 Thread panneerrselvam natarajan
Hi Team, I am new to Jenkins pipeline and Eclipse, I need to use the eclipse editor to create and compile the Jenkins file and finally need to store in Git repository. I have already installed Jenkins editor plugin for Eclipse, Please help me to use the editor and compile the pipeline code

Re: curl syntax to send and receive REST Service API response (xml) from jenkins

2018-10-29 Thread panneerrselvam natarajan
Hi Prasad, Thanks for your response. I am getting response using HTTP instead of HTTPS and stored in xml file.. How do i read the xml file? The new XmlParser().parseText() displayed some error Regards Panneer panneerrselvam natarajan wrote: > Hi All, > > I need to execute the test suite us

Problem with Java 8 update 191?

2018-10-29 Thread James Fairweather
Today I installed the version of Java from 8 build 181 to 8 build 191 on several build slaves. After doing that, Jenkins started allocating a 2nd workspace on the some of the build agents. For example, instead of running here: D:\projects\lion\main They were running here: D:\projects\lion\main

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-29 Thread Ulli Hafner
You need to point your update center to the experimental update center url, see https://jenkins.io/doc/developer/publishing/releasing-experimental-updates/ Von meinem iPad gesendet > Am 29.10.2018 um 15:43 schrieb dean warren : > > Thanks @sagar for your reply. > > But the link https://updates

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-29 Thread dean warren
Thanks @sagar for your reply. But the link https://updates.jenkins.io/download/plugins/warnings/ does not contain version 5.0. Perhaps because this is a beta? So do I have to build / repackage it, of is there another link that will give me the .hpi file? On Mon, Oct 29, 2018 at 2:22 PM sagar ute

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-29 Thread sagar utekar
from here you can download hpi file for warnings plugin https://updates.jenkins.io/download/plugins/warnings/ and add it using upload section of manage plugin -> advanced section On Mon, Oct 29, 2018 at 7:39 PM def wrote: > OK, from here: > https://github.com/jenkinsci/warnings-plugin/tree/5.0

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-29 Thread def
OK, from here: https://github.com/jenkinsci/warnings-plugin/tree/5.0 But Jnekins requires a .*hpi* file. Do I have to build this, or package it somehow? On Monday, 29 October 2018 14:02:45 UTC, def wrote: > Thanks @ulli for your reply. > > *'Did you install the 5.0 beta version of the plugin? Th

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-29 Thread dean warren
Thanks @ulli for your reply. *'Did you install the 5.0 beta version of the plugin? This step is not available in the 4.x version.*' Ahh... :) No. Where do I get that from and how to install in Jenkins? On Sat, Oct 27, 2018 at 6:07 PM Ulli Hafner wrote: > > > Von meinem iPad gesendet > > Am 26.1

Re: BitBucket endPoint configuration from script error

2018-10-29 Thread Nicholas Brown
doh, simple typo. I'm just not very good at reading the error messages. bitbucketEndpointConfiguration.updateEndpoint(BitbucketServerEndpoint) should be: bitbucketEndpointConfiguration.updateEndpoint(endPoint) On Monday, 29 October 2018 13:00:10 UTC, Nicholas Brown wrote: > > I've been trying

Re: How to build in specify container in freestyle job when using Kubernetes plugin?

2018-10-29 Thread Carlos Sanchez
you can't, you can only do it with pipeline jobs On Mon, Oct 29, 2018 at 1:56 PM 徐志远 wrote: > I set up a Container Template as follows, and want to execute shell in it > > > [image: Untitled picture.png] > > > > but when I use label "pyenv" in freestyle job and use python, I got error > message:

BitBucket endPoint configuration from script error

2018-10-29 Thread Nicholas Brown
I've been trying to configure and Bitbucket Server endpoint using groovy script from the script console. I've been following the example given here: https://plugins.jenkins.io/cloudbees-bitbucket-branch-source but using a BitbucketServerEndpoint instead of bitbucketCloudEndpoint. My code is:

Re: Connecting Jenkins to GitHub

2018-10-29 Thread HB
Thank you. After installing the GitHub integration plugin and watching the video, I was able to create a project just as in the video. My GitHub repository contains only the README.md file as well, however the difference is that my repo is private. The item I create to my private repo on GitH

How to build in specify container in freestyle job when using Kubernetes plugin?

2018-10-29 Thread 徐志远
I set up a Container Template as follows, and want to execute shell in it [image: Untitled picture.png] but when I use label "pyenv" in freestyle job and use python, I got error message: + whoami jenkins + python -V python: command not found + pip install python-jenkins line 17: pip:

Re: How should I configure a Jenkins maven job that will implement the .mvn/extensions.xml?

2018-10-29 Thread Adam Hardy
Thanks. I run it locally like this: mvn clean deploy Locally mvn can read the pom.yml because it loads the .mvn/extensions.xml in the project directory first. It looks like the Jenkins maven functionality just can't do this, judging by your answer recommending the command line approach. Is

[Announce] Gerrit Code Review plugin v0.3.1 is out - supports integration with the Gerrit Trigger Plugin

2018-10-29 Thread Luca Milanesio
Hi all, I am pleased to announce that after the Jenkins World 2018 summit in Nice last week, the Gerrit Code Review plugin (https://wiki.jenkins.io/display/JENKINS/Gerrit+Code+Review+Plugin) has received new contributions (thanks Alon) and now support many more use-cases: Integrates with the Ge