Combining the build from multiple VCSes...

2017-05-15 Thread Kirill Peskov
Hi All! A rookie question... ;) I've got a project where 'source' code of the web application (PHP) comes from SVN repo and the installers (for the deb and rpm packages) do come from GIT (each from separate repository). What would be the best approach to automate such a build (I know it's a fake

Re: Unable to connect to to the git repository, can any one please suggest what is wrong with the configuration

2017-05-15 Thread Victor Martinez
Hi there, As far as I see there is a error trace ERROR: Timeout after 10 minutes What does it mean? Default cloning/git operations within the Git Plugin for jenkins is about 10 minutes. Therefore, if there is a network latency or the git repo is massive then you might need to tune/tweak

Unable to connect to to the git repository, can any one please suggest what is wrong with the configuration

2017-05-15 Thread bharat Joshi
I am getting below exception while trying to fetch the files from the git Repo Building in workspace C:\Program Files (x86)\Jenkins\workspace\Git Example > C:\Program Files\Git\bin\git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > C:\Program

Cucumber report plugin, How can I get custom Output text to show on the report

2017-05-15 Thread James Nord
https://gist.github.com/aslakhellesoy/4072962 -- 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 this discuss

Cucumber report plugin, How can I get custom Output text to show on the report

2017-05-15 Thread James Nord
I'm pretty sure I implemented this... Which plugin are you using in jenkins (there are about 3 or 4 of them :( ) -- 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

Re: Chrome autofilling

2017-05-15 Thread Richard Ginga
Mark, we recently implemented LastPass. Thank You! I would never have made that connection On Mon, May 15, 2017 at 3:27 PM, Mark Waite wrote: > My most recent auto-fill problems were coming from my deep attachment to > LastPass. It was auto-filling fields in Jenkins forms. If you're a > LastPa

Re: Chrome autofilling

2017-05-15 Thread Mark Waite
My most recent auto-fill problems were coming from my deep attachment to LastPass. It was auto-filling fields in Jenkins forms. If you're a LastPass user, you might need to disable the form filling settings in the LastPass preferences. If you're not a LastPass user, sorry for the distraction. M

Shared Library - reference global in library-defined class

2017-05-15 Thread Christopher Burke
Hi I'm testing out use of shared libraries by trying to expand on some of the sample code from https://jenkins.io/doc/book/pipeline/shared-libraries/. I created the 'sayHello' step and thought I'd try to call that step from a class with the goal of being able to provide pre-packaged pipelin

java.lang.NoClassDefFoundError: hudson/remoting/PipeWindow$Key Error in jenkins

2017-05-15 Thread venkatesh guttal
Hi , I am getting below error when we start the build. *java.lang.NoClassDefFoundError: hudson/remoting/PipeWindow$Key* at hudson.remoting.Channel.getPipeWindow(Channel.java:802) at hudson.remoting.ProxyOutputStream.connect(ProxyOutputStream.java:85) at hudson.remoting.Pro

RE: Syntax for "mail to" in declarative script?

2017-05-15 Thread David Aldrich
I'm a little further on - I've added a call to emailext. Below is declarative script. But I get error: An attempt to send an e-mail to empty list of recipients, ignored. How can I set the recipients list? Do I need another script step? stages { stage('build') {

Chrome autofilling

2017-05-15 Thread Richard Ginga
For the past 3 weeks, when I configure some long existing free-style jobs, Chrome seems to be auto "changing" fields like project name, some conditional fields, some plugin parameters fields. If I go to configure and then go back to the project dashboard, it asks me to stay or leave as if there has

Cucumber report plugin, How can I get custom Output text to show on the report

2017-05-15 Thread Jason Koelewyn
We have a lot of result text that shows in the console, but not in the report when our cuke tests run. Is there any way to raise those messages so they show on the report? Thank you Jason -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To uns

Publishing MSTests in pipeline

2017-05-15 Thread Thiago Carvalho Davila
Hi, I'm having problems to transpose the use of MSTest Plugin to pipeline as code. I don't know the correct syntax, but I think is something like:     stage('Unit Tests'){     steps {     echo "\"${tool 'vstest.console_v14'}\" ${VSTest_TestFiles} ${VSTest_Args}"

Re: Declarative Pipeline - Pipeline Shared Library

2017-05-15 Thread 'Daniel' via Jenkins Users
As far as I know, the chances are low that this will be implemented any time soon, for various (including technical) reasons. At FOSDEM I talked to Andrew Bayer, the author of declarative pipeline about this, and the conclusion was that you don't have to use declarative pipeline. Use it when it

Attempting to use the node and label plugin to launch

2017-05-15 Thread BenH
Hi, I'm attempting to use the node and label plugin to execute a project that does some initialization on a slave node. I want this project to execute on each node that has a specific label. I've read the documentation for the node and label add-in and it seems like this is pretty easy to co

Re: BlueOcean Pipeline and huge number of parallel steps

2017-05-15 Thread Clément Gautier
up ? On Friday, May 12, 2017 at 2:16:01 PM UTC+2, Clément Gautier wrote: > > Hello there :) > > We have in our company a build that launch a lot of tests on our code base > and result in more that 400 paralell branches, each of them executed on a > different slave node. > Actually we face an iss

Re: Declarative Pipeline - Pipeline Shared Library

2017-05-15 Thread ctrlengineeringuk
I am really looking for this feature too. so far my efforts have failed... -- 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...@googlegro

RE: Syntax for "mail to" in declarative script?

2017-05-15 Thread David Aldrich
Asking my question another way: Where can I find a list of objects / variables that a script can access, e.g. ${currentBuild.fullDisplayName} ? Best regards David > -Original Message- > From: jenkinsci-users@googlegroups.com [mailto:jenkinsci- > us...@googlegroups.com] On Behalf Of Dav

pipeline script : Job Weight

2017-05-15 Thread Kenneth Johansson
We have been using the heavy job plugin and configured the nodes so that they have as many executors as cpus. There we could set in the job the job weight to as many cpus the job really used. But we shifted over to using pipeline and groovy script and now that parameter is not possible to set

Syntax for "mail to" in declarative script?

2017-05-15 Thread David Aldrich
Hi Where can I find a definition and syntax for "mail to" for a declarative script? Specifically I want to know: 1) Is it possible to specify a recipient by user name rather than full email address? 2) How to specify 'committers'? 3) How can I set the message body to be similar to that sent by

Default way to see workspace in Blue Ocean

2017-05-15 Thread James Nord
If you want to see the files (rather than parsed results from files) then you need to fall back to the classic UI to browse the workspace (on the build, workflow steps, find the node containing the bit you want, go to that step, click browse workspace) Workspaces are designed to be ephemeral so

Default way to see workspace in Blue Ocean

2017-05-15 Thread Thiago Carvalho Davila
Hi, This is a very basic question. I want to see the files downloaded from de SCM and resulting files (compilations, analysis, etc). What is the default way of doing that in Blue Ocean? Do I have to install a plugin just for that? What options do I have? Thanks, Thiago - "Esta mensagem do

Re: Jenkins Upgrade Wizard fails from 1.609.3 -> 2.46.2

2017-05-15 Thread sweeney
On Thursday, May 4, 2017 at 12:49:53 PM UTC+1, Daniel Beck wrote: > > > > On 03.05.2017, at 17:51, sweeney > wrote: > > > > I can see no way to easily upgrade to the latest Jenkins 2 goodies. Any > advice? > > These plugins are available on the Jenkins plugin manager. Just check the > 'avai

Invoking a declarative pipeline from shared libraries

2017-05-15 Thread ctrlengineeringuk
Hi, I am trying to invoke my declarative pipeline from shared libraries (so my jenkinsfile is as brief as possible) but it doesn't seem to work properly and the "pipeline" block seems to get executed, but functions like "when" are not evaluated... Jenkinsfile: #!groovy def application = Const

Re: Jenkins 2.0 pipeline as code executor question

2017-05-15 Thread Marslo Jiao
I think this is the Jenkins Slave issue. And create a issue at: https://issues.jenkins-ci.org/browse/JENKINS-44267 -- 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

Setting a default value of a build parameter

2017-05-15 Thread Will Newton
Hi, I think I have a simple question but I am new to Jenkins so I'm not sure how best to solve it. I have two parameters to my build (ghprbSourceBranch and ghprbActualCommit) one of which I want to use to name my build so I have the branch name in the build name, and one I use to select the a

Global properties - Environment variables displayed wrongly on GUI

2017-05-15 Thread Limor Shemesh
i'm using Jenkins 2.60 - on the Manage Jenkins - Configure System - the Global properties - Environment variables - display the same variable as the number of the variables that defined in config.xml. In the config.xml the variables are correct. Is it known issue? Is there something I can do to f

get numer of lines,lines after and lines before function in groovy template for email-ext

2017-05-15 Thread venkatesh guttal
Hi, I am using below groovy script template for my usage.. <% if(build.result==hudson.model.Result.SUCCESS) { %> CONSOLE OUTPUT <% build.getLog(20).each() { line -> %> ${org.apache.commons.lang.StringEscapeUtils.escapeHtml(line)} <% } %> <% } %> *Is there any function to get number of