Re: tidying up Ext-email output

2016-06-10 Thread Slide
Are you using a template for this? Or are you generating everything by hand
using content tokens? If you are using a template, can you send it?

On Fri, Jun 10, 2016 at 11:16 AM Ginga, Dick 
wrote:

> I don’t know what you consider large, but it all looks more or less like
> this:
>
>
>
> *13:08:49* CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file:
> c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
>
> *13:08:49* CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file:
> c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
>
> *13:08:49* CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file:
> c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
>
> *13:08:49* CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file:
> c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
>
> *13:08:49* CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file:
> c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
>
> *13:08:49* CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file:
> c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
>
> *13:08:49* CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file:
> c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
>
> *13:08:49* CORE CHEM ERROR: m_at [0] != kccNoAb && m_at [0] < m_at [1] &&
> m_at [1] < m_at [2] && (m_at [2] < m_at [3] || m_at [3] == kccNoAb) at
> line: 210, file:
> c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libcc\src\cc_stereo.cpp
>
> *13:08:49**** Value of: (int)queryHitSet.NumHits() |   Actual: 17 |
> Expected: numExpected | Which is: 1 | Hit count  failed for: test1.cdxml
>
> *13:08:49**** Value of: (int)queryHitSet2.NumHits() |   Actual: 17 |
> Expected: numExpected | Which is: 1 | Hit count2 failed for: test1.cdxml
>
> *13:08:49* *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST
>
> *13:08:49* *** Starting test LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER
>
> *13:08:49* CORE CHEM ERROR: m_fQuery || sopts.FullStruct() at line: 420,
> file:
> c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libcc\src\cc_screens.cpp
>
> *13:08:49* CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file:
> c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
>
> *13:08:49* CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file:
> c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
>
> *13:08:49* CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file:
> c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
>
> *13:08:49* CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file:
> c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
>
> *13:08:49* CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file:
> c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
>
> *13:08:49* CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file:
> c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
>
>
>
>
>
> *From:* jenkinsci-users@googlegroups.com [mailto:
> jenkinsci-users@googlegroups.com] *On Behalf Of *Slide
> *Sent:* Friday, June 10, 2016 2:11 PM
>
>
> *To:* jenkinsci-users@googlegroups.com
> *Subject:* Re: tidying up Ext-email output
>
>
>
> Can you supply a larger amount of test from the build log that I can try
> locally?
>
>
>
> On Fri, Jun 10, 2016 at 11:01 AM Ginga, Dick 
> wrote:
>
> The complete source of the email is:
>
>
>
> meta http-equiv="Content-Type" content="text/html; charset=utf-8">
>
> BODY, TABLE, TD, TH, P {
>
>   font-family:Verdana,Helvetica,sans serif;
>
>   font-size:11px;
>
>   color:black;
>
> }
>
> h1 { color:black; }
>
> h2 { color:black; }
>
> h3 { color:black; }
>
> TD.bg1 { color:white; background-color:#C0; font-size:120% }
>
> TD.bg2 { color:white; background-color:#4040FF; font-size:110% }
>
> TD.bg3 { color:white; background-color:#8080FF; }
>
> TD.test_passed { color:blue; }
>
> TD.test_failed { color:red; }
>
> TD.console { font-family:Courier New; }
>
> 
>
> 
>
>
>
>
>
>
>
> 
>
>   http:///static/e59dfe28/images/32x32/yellow.gif
> 
> ">
>
>   BUILD
> UNSTABLE
>
>   Build URLhttp:///job/Build-Run-CommonCS-Tests-Win/13/
> 

Re: Getting started with Pipeline

2016-06-10 Thread Craig Rodrigues
Hi,

You can try something like this to get started:


def gitUrl = "https://github.com/twisted/twisted.git;
def gitBranch = "trunk"

node {
stage "Check out from Git"
git branch: "$gitBranch", url: "$gitUrl"

stage "Build code"
sh "sudo -Hs build_tool arg1 $gitUrl subproject_a $gitBranch"
}



I would recommend going further.  Make your Pipeline job parameterized.
Add a parameter GIT_BRANCH,
and set the default value of that to the branch you want to build in that
specific job.


def gitUrl = "https://github.com/twisted/twisted.git;
def gitBranch

if (getBinding().hasVariable("GIT_BRANCH")) {
gitBranch = GIT_BRANCH
}

node {
stage "Check out from Git"
git branch: "$gitBranch", url: "$gitUrl"

stage "Build code"
sh "sudo -Hs build_tool arg1 $gitUrl subproject_a $gitBranch"
}



You can add more build parameters as you need.

--
Craig

On Fri, Jun 10, 2016 at 8:40 AM, Jerry Steele 
wrote:

> Hello,
>
> I'm looking into getting Jenkins to build feature branches for our github
> projects, but I'm not entirely sure where to start. Pipeline looks like it
> might fit the bill, but I'm having trouble getting my head round the
> Jenkinsfile. I've found the online docs and the "Groovy" generator but am
> not really sure how to tie it all together. If anyone has a bit oftime to
> help me, that would be great :)
>
> We currently use our own build tool to test code as deployed to github,
> then build the artifacts into a debian package which is uploaded to Amazon
> S3 and deployed by hand later.
>
> We currently have separate jobs for each of the major branches of our
> project:
>
> subproject_a-qa
> subproject_a-staging
> subproject_a-production
>
> subproject_b-qa
> subproject_b-staging
> subproject_b-production
>
> subproject_c-qa
> subproject_c-staging
> subproject_c-production
>
> The jobs are very simple - they poll github, looking at a specific branch,
> then if that has changed, they will execute a shell script which looks like
> this (generic):
>
> sudo -Hs build_tool arg1 $GIT_URL   prod)>
>
> So, what I'd need is something that builds the following jobs when a
> feature branch is pushed to look something like:
>
> sudo -Hs build_tool arg1 $GIT_URL  
> sudo -Hs build_tool arg1 $GIT_URL  
> sudo -Hs build_tool arg1 $GIT_URL  
>
> Or else, know how to build those.
>
> Is this possible with Pipeline? Or am I looking at the wrong tool here?
> I've started a multibranch test project, but am basically stuck at the
> Jenkinsfile stage, and most tutorials appear to refer to using mvn, which
> I'm not familiar with. the build tool is written in Python and is testing
> building for Ruby on Rails :)
>
> Any help very much appreciated. Any more info needed, please let me know...
>
> Thanks
>
> Jerry
>
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAG%3DrPVcHvoExjTDciveK%3DjF%3DtmCHEQASxZ%3DANXwUy2O4MLn4aw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: tidying up Ext-email output

2016-06-10 Thread Ginga, Dick
I don’t know what you consider large, but it all looks more or less like this:

13:08:49 CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file: 
c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
13:08:49 CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file: 
c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
13:08:49 CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file: 
c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
13:08:49 CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file: 
c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
13:08:49 CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file: 
c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
13:08:49 CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file: 
c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
13:08:49 CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file: 
c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
13:08:49 CORE CHEM ERROR: m_at [0] != kccNoAb && m_at [0] < m_at [1] && m_at 
[1] < m_at [2] && (m_at [2] < m_at [3] || m_at [3] == kccNoAb) at line: 210, 
file: 
c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libcc\src\cc_stereo.cpp
13:08:49*** Value of: (int)queryHitSet.NumHits() |   Actual: 17 | Expected: 
numExpected | Which is: 1 | Hit count  failed for: test1.cdxml
13:08:49*** Value of: (int)queryHitSet2.NumHits() |   Actual: 17 | 
Expected: numExpected | Which is: 1 | Hit count2 failed for: test1.cdxml
13:08:49 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST
13:08:49 *** Starting test LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER
13:08:49 CORE CHEM ERROR: m_fQuery || sopts.FullStruct() at line: 420, file: 
c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libcc\src\cc_screens.cpp
13:08:49 CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file: 
c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
13:08:49 CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file: 
c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
13:08:49 CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file: 
c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
13:08:49 CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file: 
c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
13:08:49 CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file: 
c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp
13:08:49 CORE CHEM ERROR: CoordsAvail (a1, a2, a3) at line: 815, file: 
c:\builds\workspace\build-run-commoncs-tests-win\commoncs\libsdg\src\sdg_chains.cpp


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide
Sent: Friday, June 10, 2016 2:11 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: tidying up Ext-email output

Can you supply a larger amount of test from the build log that I can try 
locally?

On Fri, Jun 10, 2016 at 11:01 AM Ginga, Dick 
> wrote:
The complete source of the email is:

meta http-equiv="Content-Type" content="text/html; charset=utf-8">
BODY, TABLE, TD, TH, P {
  font-family:Verdana,Helvetica,sans serif;
  font-size:11px;
  color:black;
}
h1 { color:black; }
h2 { color:black; }
h3 { color:black; }
TD.bg1 { color:white; background-color:#C0; font-size:120% }
TD.bg2 { color:white; background-color:#4040FF; font-size:110% }
TD.bg3 { color:white; background-color:#8080FF; }
TD.test_passed { color:blue; }
TD.test_failed { color:red; }
TD.console { font-family:Courier New; }






  http:///static/e59dfe28/images/32x32/yellow.gif">
  BUILD 
UNSTABLE
  Build URLhttp:///job/Build-Run-CommonCS-Tests-Win/13/">http:///job/Build-Run-CommonCS-Tests-Win/13/
  Build 

Re: Docker Slave : saving artifacts

2016-06-10 Thread nicolas de loof
Here is my way to do this :

I build the binary using docker and a build Dockerfile

then I create a container from resulting image and cp artifact from it into
local working directory - you can't cp from image, so need to create a
container, no need to start it, but need to create one

then I build a second docker image using a production Dockerfile, to
include built artifact, and push to repo (maybe you don't need this step,
if you don't use docker as target artifact)

sample here :
https://github.com/cfpio/callForPapers/blob/master/Jenkinsfile.sh


2016-06-10 20:07 GMT+02:00 Matthew Ceroni :

> Using a docker container as a slave to build RPM packages.
>
> My ideal setup would be to have one job build the RPM and then a dependent
> job upload the RPM to our internal repositories. However I haven't figured
> out yet how to get the RPM outside the container so other jobs can pick it
> up. Once the job finishes, the container is torn down.
>
> Looking at the settings for the docker plugin the Remote Root FS setting
> and volume mapping seem to be what I would want, I use a volume mapping
> from ${WORKSPACE} to the /home/jenkins directory inside the container (as
> that is where the build is happening) but I don't think ${WORKSPACE} was
> expanded to its value as upon container creation it 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...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/f85895a6-87ab-4c4f-9931-9140837924a2%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzmQDgNsWNcP%2BBtU4iqOLx9_Vyr99RY%3D9%2BDx76fK4ROQqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: tidying up Ext-email output

2016-06-10 Thread Slide
Can you supply a larger amount of test from the build log that I can try
locally?

On Fri, Jun 10, 2016 at 11:01 AM Ginga, Dick 
wrote:

> The complete source of the email is:
>
>
>
> meta http-equiv="Content-Type" content="text/html; charset=utf-8">
>
> BODY, TABLE, TD, TH, P {
>
>   font-family:Verdana,Helvetica,sans serif;
>
>   font-size:11px;
>
>   color:black;
>
> }
>
> h1 { color:black; }
>
> h2 { color:black; }
>
> h3 { color:black; }
>
> TD.bg1 { color:white; background-color:#C0; font-size:120% }
>
> TD.bg2 { color:white; background-color:#4040FF; font-size:110% }
>
> TD.bg3 { color:white; background-color:#8080FF; }
>
> TD.test_passed { color:blue; }
>
> TD.test_failed { color:red; }
>
> TD.console { font-family:Courier New; }
>
> 
>
> 
>
>
>
>
>
>
>
> 
>
>   http:///static/e59dfe28/images/32x32/yellow.gif;>
>
>   BUILD
> UNSTABLE
>
>   Build URLhttp:///job/Build-Run-CommonCS-Tests-Win/13/;>
> http:///job/Build-Run-CommonCS-Tests-Win/13/
>
>   Build Loghttp:///job/Build-Run-CommonCS-Tests-Win/13/console;>
> http:///job/Build-Run-CommonCS-Tests-Win/13/console
>
>   Project:Build-Run-CommonCS-Tests-Win
>
>   Date of build:Fri, 10 Jun 2016 13:05:06 -0400
>
>   Build duration:30 min
>
>   Stream:null
>
>   Build Number:13
>
>   Build Type:null
>
> 
>
> 
>
>
>
> 
>
>
>
> 
>
> CHANGES
>
>
>
> No Changes
>
>
>
>   
>
> 
>
>
>
>
>
> 
>
>
>
>
>
> 
>
>
>
>
>
> 
>
>
>
>
>
>   
>
> 
>
>
>
> 
>
>
>
>
>
> 
>
>
>
>
>
>
>
> 
>
>
>
> ***br FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST
>
> ***br FAIL: LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER
>
> ***br FAIL: LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT
>
>
>
>
>
> 
>
>
>
> *From:* Ginga, Dick
> *Sent:* Friday, June 10, 2016 1:57 PM
> *To:* jenkinsci-users@googlegroups.com
> *Subject:* RE: tidying up Ext-email output
>
>
>
> I have tried  and escaped and not escaped HTML and  … 
> around my build-log-regex and I get this:
>
>
>
> *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST *** FAIL:
> LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER *** FAIL:
> LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT
>
>
>
>
>
>
>
> *From:* jenkinsci-users@googlegroups.com [
> mailto:jenkinsci-users@googlegroups.com ]
> *On Behalf Of *Slide
> *Sent:* Friday, June 10, 2016 11:20 AM
>
>
> *To:* jenkinsci-users@googlegroups.com
> *Subject:* Re: tidying up Ext-email output
>
>
>
> Have you tried using  instead of \n?
>
>
>
> On Fri, Jun 10, 2016, 08:18 Ginga, Dick 
> wrote:
>
> yes
>
>
>
> *From:* jenkinsci-users@googlegroups.com [mailto:
> jenkinsci-users@googlegroups.com] *On Behalf Of *Slide
> *Sent:* Friday, June 10, 2016 11:15 AM
> *To:* jenkinsci-users@googlegroups.com
> *Subject:* Re: tidying up Ext-email output
>
>
>
> Are you using html email?
>
>
>
> On Fri, Jun 10, 2016, 08:01 Ginga, Dick 
> wrote:
>
> Hello all, just trying to create a “better” email response.
>
>
>
> I have some custom written tests that produce lots of test output, but I
> only want the failures (FAIL:) in the email,
>
>
>
> *09:53:06* *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST
>
> …
>
> *09:54:09* *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER
>
> …
>
> *09:54:15* *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT
>
>
>
> so I use
>
>
>
> ${BUILD_LOG_REGEX, regex="(?i)( FAIL:.*)", substText="\n$1\n",
> showTruncatedLines=false, escapeHtml=true}
>
>
>
> But I get this,
>
>
>
> *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST *** FAIL:
> LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER *** FAIL:
> LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT
>
>
>
> I would like each of these failures to be on its own line. That is what I
> thought maybe the substText might do but apparently not.
>
>
>
> Is there a way to do this?
>
>
>
> *Dick Ginga, Informatics R*
>
> *PerkinElmer Inc. *
> *| For the Better **HUMAN HEALTH **|* *ENVIRONMENTAL HEALTH*
> 940 Winter Street, Waltham MA 02451
>
>
>
> *dick.ginga**@perkinelmer.com *
>
> Mobile – 508-847-1434
>
> Office – 781-663-6947
>
>
>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711C23%40AMERMBX02.PERKINELMER.NET
> 
> .
> For more options, visit https://groups.google.com/d/optout
> 

Docker Slave : saving artifacts

2016-06-10 Thread Matthew Ceroni
Using a docker container as a slave to build RPM packages. 

My ideal setup would be to have one job build the RPM and then a dependent 
job upload the RPM to our internal repositories. However I haven't figured 
out yet how to get the RPM outside the container so other jobs can pick it 
up. Once the job finishes, the container is torn down.

Looking at the settings for the docker plugin the Remote Root FS setting 
and volume mapping seem to be what I would want, I use a volume mapping 
from ${WORKSPACE} to the /home/jenkins directory inside the container (as 
that is where the build is happening) but I don't think ${WORKSPACE} was 
expanded to its value as upon container creation it 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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f85895a6-87ab-4c4f-9931-9140837924a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: tidying up Ext-email output

2016-06-10 Thread Ginga, Dick
The complete source of the email is:

meta http-equiv="Content-Type" content="text/html; charset=utf-8">
BODY, TABLE, TD, TH, P {
  font-family:Verdana,Helvetica,sans serif;
  font-size:11px;
  color:black;
}
h1 { color:black; }
h2 { color:black; }
h3 { color:black; }
TD.bg1 { color:white; background-color:#C0; font-size:120% }
TD.bg2 { color:white; background-color:#4040FF; font-size:110% }
TD.bg3 { color:white; background-color:#8080FF; }
TD.test_passed { color:blue; }
TD.test_failed { color:red; }
TD.console { font-family:Courier New; }






  http:///static/e59dfe28/images/32x32/yellow.gif;>
  BUILD 
UNSTABLE
  Build URLhttp:///job/Build-Run-CommonCS-Tests-Win/13/;>http:///job/Build-Run-CommonCS-Tests-Win/13/
  Build Loghttp:///job/Build-Run-CommonCS-Tests-Win/13/console;>http:///job/Build-Run-CommonCS-Tests-Win/13/console
  Project:Build-Run-CommonCS-Tests-Win
  Date of build:Fri, 10 Jun 2016 13:05:06 -0400
  Build duration:30 min
  Stream:null
  Build Number:13
  Build Type:null






CHANGES

No Changes

  












  











***br FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST
***br FAIL: LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER
***br FAIL: LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT




From: Ginga, Dick
Sent: Friday, June 10, 2016 1:57 PM
To: jenkinsci-users@googlegroups.com
Subject: RE: tidying up Ext-email output

I have tried  and escaped and not escaped HTML and  …  around 
my build-log-regex and I get this:

*** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST *** FAIL: 
LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER *** FAIL: 
LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT



From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide
Sent: Friday, June 10, 2016 11:20 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: tidying up Ext-email output


Have you tried using  instead of \n?

On Fri, Jun 10, 2016, 08:18 Ginga, Dick 
> wrote:
yes

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com]
 On Behalf Of Slide
Sent: Friday, June 10, 2016 11:15 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: tidying up Ext-email output


Are you using html email?

On Fri, Jun 10, 2016, 08:01 Ginga, Dick 
> wrote:
Hello all, just trying to create a “better” email response.

I have some custom written tests that produce lots of test output, but I only 
want the failures (FAIL:) in the email,

09:53:06 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST
…

09:54:09 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER
…

09:54:15 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT

so I use

${BUILD_LOG_REGEX, regex="(?i)( FAIL:.*)", substText="\n$1\n", 
showTruncatedLines=false, escapeHtml=true}

But I get this,

*** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST *** FAIL: 
LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER *** FAIL: 
LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT

I would like each of these failures to be on its own line. That is what I 
thought maybe the substText might do but apparently not.

Is there a way to do this?

Dick Ginga, Informatics R
PerkinElmer Inc. | For the Better
HUMAN HEALTH | ENVIRONMENTAL HEALTH
940 Winter Street, Waltham MA 02451

dick.gi...@perkinelmer.com
Mobile – 508-847-1434
Office – 781-663-6947

--
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711C23%40AMERMBX02.PERKINELMER.NET.
For more options, visit 
https://groups.google.com/d/optout.
--
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: tidying up Ext-email output

2016-06-10 Thread Ginga, Dick
I have tried  and escaped and not escaped HTML and  …  around 
my build-log-regex and I get this:

*** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST *** FAIL: 
LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER *** FAIL: 
LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT



From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide
Sent: Friday, June 10, 2016 11:20 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: tidying up Ext-email output


Have you tried using  instead of \n?

On Fri, Jun 10, 2016, 08:18 Ginga, Dick 
> wrote:
yes

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com]
 On Behalf Of Slide
Sent: Friday, June 10, 2016 11:15 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: tidying up Ext-email output


Are you using html email?

On Fri, Jun 10, 2016, 08:01 Ginga, Dick 
> wrote:
Hello all, just trying to create a “better” email response.

I have some custom written tests that produce lots of test output, but I only 
want the failures (FAIL:) in the email,

09:53:06 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST
…

09:54:09 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER
…

09:54:15 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT

so I use

${BUILD_LOG_REGEX, regex="(?i)( FAIL:.*)", substText="\n$1\n", 
showTruncatedLines=false, escapeHtml=true}

But I get this,

*** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST *** FAIL: 
LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER *** FAIL: 
LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT

I would like each of these failures to be on its own line. That is what I 
thought maybe the substText might do but apparently not.

Is there a way to do this?

Dick Ginga, Informatics R
PerkinElmer Inc. | For the Better
HUMAN HEALTH | ENVIRONMENTAL HEALTH
940 Winter Street, Waltham MA 02451

dick.gi...@perkinelmer.com
Mobile – 508-847-1434
Office – 781-663-6947

--
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711C23%40AMERMBX02.PERKINELMER.NET.
For more options, visit 
https://groups.google.com/d/optout.
--
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVerq2uUTBOzeY8Gwp2ebPRthjObtJ_A4M%3DeU1OZtRcA1w%40mail.gmail.com.

For more options, visit 
https://groups.google.com/d/optout.
--
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 discussion on the web visit 

Re: Getting started with Pipeline

2016-06-10 Thread Thomas Zoratto
Hello, 

I’m not sure to understand correctly but your needs seems quite straightforward.

To achieve that, you want to create a multibranch pipeline job (as you have 
already done I see) which will scan all your project’s branches looking for 
Jenkinsfiles.

In those Jenkinsfiles, you’ll have to describe your pipeline. Basically, you 
have to checkout the project and then execute your step. I suppose you can run 
your build tool with a "shell step" like sh 'build_tool ' if your 
build_tool is in the PATH. 

This way you’ll have a Jenkinsfile per branch.

Then, if you wanna define a real pipeline (tests then deploy to some 
environment and then deploy again somewhere else for example) the 
documentation/tutorials will help you I think


> Le 10 juin 2016 à 17:40, Jerry Steele  a écrit :
> 
> Hello,
> 
> I'm looking into getting Jenkins to build feature branches for our github 
> projects, but I'm not entirely sure where to start. Pipeline looks like it 
> might fit the bill, but I'm having trouble getting my head round the 
> Jenkinsfile. I've found the online docs and the "Groovy" generator but am not 
> really sure how to tie it all together. If anyone has a bit oftime to help 
> me, that would be great :)
> 
> We currently use our own build tool to test code as deployed to github, then 
> build the artifacts into a debian package which is uploaded to Amazon S3 and 
> deployed by hand later.
> 
> We currently have separate jobs for each of the major branches of our project:
> 
> subproject_a-qa
> subproject_a-staging
> subproject_a-production
> 
> subproject_b-qa
> subproject_b-staging
> subproject_b-production
> 
> subproject_c-qa
> subproject_c-staging
> subproject_c-production
> 
> The jobs are very simple - they poll github, looking at a specific branch, 
> then if that has changed, they will execute a shell script which looks like 
> this (generic):
> 
> sudo -Hs build_tool arg1 $GIT_URL  
> 
> 
> So, what I'd need is something that builds the following jobs when a feature 
> branch is pushed to look something like:
> 
> sudo -Hs build_tool arg1 $GIT_URL  
> sudo -Hs build_tool arg1 $GIT_URL  
> sudo -Hs build_tool arg1 $GIT_URL  
> 
> Or else, know how to build those.
> 
> Is this possible with Pipeline? Or am I looking at the wrong tool here? I've 
> started a multibranch test project, but am basically stuck at the Jenkinsfile 
> stage, and most tutorials appear to refer to using mvn, which I'm not 
> familiar with. the build tool is written in Python and is testing building 
> for Ruby on Rails :)
> 
> Any help very much appreciated. Any more info needed, please let me know...
> 
> Thanks
> 
> Jerry
> 
> 
> -- 
> 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 discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/1414775a-307d-49fe-9119-2f77995385ce%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9D3FDAAB-1C30-40A0-9D1C-AB85BF424A46%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Getting started with Pipeline

2016-06-10 Thread Jerry Steele
Hello,

I'm looking into getting Jenkins to build feature branches for our github 
projects, but I'm not entirely sure where to start. Pipeline looks like it 
might fit the bill, but I'm having trouble getting my head round the 
Jenkinsfile. I've found the online docs and the "Groovy" generator but am 
not really sure how to tie it all together. If anyone has a bit oftime to 
help me, that would be great :)

We currently use our own build tool to test code as deployed to github, 
then build the artifacts into a debian package which is uploaded to Amazon 
S3 and deployed by hand later.

We currently have separate jobs for each of the major branches of our 
project:

subproject_a-qa
subproject_a-staging
subproject_a-production

subproject_b-qa
subproject_b-staging
subproject_b-production

subproject_c-qa
subproject_c-staging
subproject_c-production

The jobs are very simple - they poll github, looking at a specific branch, 
then if that has changed, they will execute a shell script which looks like 
this (generic):

sudo -Hs build_tool arg1 $GIT_URL  

So, what I'd need is something that builds the following jobs when a 
feature branch is pushed to look something like:

sudo -Hs build_tool arg1 $GIT_URL  
sudo -Hs build_tool arg1 $GIT_URL  
sudo -Hs build_tool arg1 $GIT_URL  

Or else, know how to build those.

Is this possible with Pipeline? Or am I looking at the wrong tool here? 
I've started a multibranch test project, but am basically stuck at the 
Jenkinsfile stage, and most tutorials appear to refer to using mvn, which 
I'm not familiar with. the build tool is written in Python and is testing 
building for Ruby on Rails :)

Any help very much appreciated. Any more info needed, please let me know...

Thanks

Jerry

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1414775a-307d-49fe-9119-2f77995385ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: tidying up Ext-email output

2016-06-10 Thread Slide
Have you tried using  instead of \n?

On Fri, Jun 10, 2016, 08:18 Ginga, Dick  wrote:

> yes
>
>
>
> *From:* jenkinsci-users@googlegroups.com [mailto:
> jenkinsci-users@googlegroups.com] *On Behalf Of *Slide
> *Sent:* Friday, June 10, 2016 11:15 AM
> *To:* jenkinsci-users@googlegroups.com
> *Subject:* Re: tidying up Ext-email output
>
>
>
> Are you using html email?
>
>
>
> On Fri, Jun 10, 2016, 08:01 Ginga, Dick 
> wrote:
>
> Hello all, just trying to create a “better” email response.
>
>
>
> I have some custom written tests that produce lots of test output, but I
> only want the failures (FAIL:) in the email,
>
>
>
> *09:53:06* *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST
>
> …
>
> *09:54:09* *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER
>
> …
>
> *09:54:15* *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT
>
>
>
> so I use
>
>
>
> ${BUILD_LOG_REGEX, regex="(?i)( FAIL:.*)", substText="\n$1\n",
> showTruncatedLines=false, escapeHtml=true}
>
>
>
> But I get this,
>
>
>
> *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST *** FAIL:
> LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER *** FAIL:
> LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT
>
>
>
> I would like each of these failures to be on its own line. That is what I
> thought maybe the substText might do but apparently not.
>
>
>
> Is there a way to do this?
>
>
>
> *Dick Ginga, Informatics R*
>
> *PerkinElmer Inc. *
> *| For the Better **HUMAN HEALTH **|* *ENVIRONMENTAL HEALTH*
> 940 Winter Street, Waltham MA 02451
>
>
>
> *dick.ginga**@perkinelmer.com *
>
> Mobile – 508-847-1434
>
> Office – 781-663-6947
>
>
>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711C23%40AMERMBX02.PERKINELMER.NET
> 
> .
> For more options, visit https://groups.google.com/d/optout
> 
> .
>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVerq2uUTBOzeY8Gwp2ebPRthjObtJ_A4M%3DeU1OZtRcA1w%40mail.gmail.com
> 
> .
>
>
> For more options, visit https://groups.google.com/d/optout
> 
> .
>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711CA0%40AMERMBX02.PERKINELMER.NET
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfBHhTwfNGgSwn_Rs5i8%2B0BWO0ceHWfREE3qcywv2rG8w%40mail.gmail.com.
For more 

RE: tidying up Ext-email output

2016-06-10 Thread Ginga, Dick
I can try that. the tests run for 45 minutes…

But it looks to me like $1 is eval’ing to ALL 3 lines instead of EACH line


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide
Sent: Friday, June 10, 2016 11:20 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: tidying up Ext-email output


Have you tried using  instead of \n?

On Fri, Jun 10, 2016, 08:18 Ginga, Dick 
> wrote:
yes

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com]
 On Behalf Of Slide
Sent: Friday, June 10, 2016 11:15 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: tidying up Ext-email output


Are you using html email?

On Fri, Jun 10, 2016, 08:01 Ginga, Dick 
> wrote:
Hello all, just trying to create a “better” email response.

I have some custom written tests that produce lots of test output, but I only 
want the failures (FAIL:) in the email,

09:53:06 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST
…

09:54:09 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER
…

09:54:15 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT

so I use

${BUILD_LOG_REGEX, regex="(?i)( FAIL:.*)", substText="\n$1\n", 
showTruncatedLines=false, escapeHtml=true}

But I get this,

*** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST *** FAIL: 
LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER *** FAIL: 
LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT

I would like each of these failures to be on its own line. That is what I 
thought maybe the substText might do but apparently not.

Is there a way to do this?

Dick Ginga, Informatics R
PerkinElmer Inc. | For the Better
HUMAN HEALTH | ENVIRONMENTAL HEALTH
940 Winter Street, Waltham MA 02451

dick.gi...@perkinelmer.com
Mobile – 508-847-1434
Office – 781-663-6947

--
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711C23%40AMERMBX02.PERKINELMER.NET.
For more options, visit 
https://groups.google.com/d/optout.
--
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVerq2uUTBOzeY8Gwp2ebPRthjObtJ_A4M%3DeU1OZtRcA1w%40mail.gmail.com.

For more options, visit 
https://groups.google.com/d/optout.
--
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 discussion on the web visit 

RE: tidying up Ext-email output

2016-06-10 Thread Ginga, Dick
yes

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide
Sent: Friday, June 10, 2016 11:15 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: tidying up Ext-email output


Are you using html email?

On Fri, Jun 10, 2016, 08:01 Ginga, Dick 
> wrote:
Hello all, just trying to create a “better” email response.

I have some custom written tests that produce lots of test output, but I only 
want the failures (FAIL:) in the email,

09:53:06 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST
…

09:54:09 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER
…

09:54:15 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT

so I use

${BUILD_LOG_REGEX, regex="(?i)( FAIL:.*)", substText="\n$1\n", 
showTruncatedLines=false, escapeHtml=true}

But I get this,

*** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST *** FAIL: 
LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER *** FAIL: 
LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT

I would like each of these failures to be on its own line. That is what I 
thought maybe the substText might do but apparently not.

Is there a way to do this?

Dick Ginga, Informatics R
PerkinElmer Inc. | For the Better
HUMAN HEALTH | ENVIRONMENTAL HEALTH
940 Winter Street, Waltham MA 02451

dick.gi...@perkinelmer.com
Mobile – 508-847-1434
Office – 781-663-6947

--
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711C23%40AMERMBX02.PERKINELMER.NET.
For more options, visit 
https://groups.google.com/d/optout.
--
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVerq2uUTBOzeY8Gwp2ebPRthjObtJ_A4M%3DeU1OZtRcA1w%40mail.gmail.com.
For more options, visit 
https://groups.google.com/d/optout.

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711CA0%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.


Re: tidying up Ext-email output

2016-06-10 Thread Slide
Are you using html email?

On Fri, Jun 10, 2016, 08:01 Ginga, Dick  wrote:

> Hello all, just trying to create a “better” email response.
>
>
>
> I have some custom written tests that produce lots of test output, but I
> only want the failures (FAIL:) in the email,
>
>
>
> *09:53:06* *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST
>
> …
>
> *09:54:09* *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER
>
> …
>
> *09:54:15* *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT
>
>
>
> so I use
>
>
>
> ${BUILD_LOG_REGEX, regex="(?i)( FAIL:.*)", substText="\n$1\n",
> showTruncatedLines=false, escapeHtml=true}
>
>
>
> But I get this,
>
>
>
> *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST *** FAIL:
> LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER *** FAIL:
> LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT
>
>
>
> I would like each of these failures to be on its own line. That is what I
> thought maybe the substText might do but apparently not.
>
>
>
> Is there a way to do this?
>
>
>
> *Dick Ginga, Informatics R*
>
> *PerkinElmer Inc. *
> *| For the Better **HUMAN HEALTH **|* *ENVIRONMENTAL HEALTH*
> 940 Winter Street, Waltham MA 02451
>
>
>
> *dick.ginga**@perkinelmer.com *
>
> Mobile – 508-847-1434
>
> Office – 781-663-6947
>
>
>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711C23%40AMERMBX02.PERKINELMER.NET
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVerq2uUTBOzeY8Gwp2ebPRthjObtJ_A4M%3DeU1OZtRcA1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


tidying up Ext-email output

2016-06-10 Thread Ginga, Dick
Hello all, just trying to create a "better" email response.

I have some custom written tests that produce lots of test output, but I only 
want the failures (FAIL:) in the email,

09:53:06 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST
...

09:54:09 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER
...

09:54:15 *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT

so I use

${BUILD_LOG_REGEX, regex="(?i)( FAIL:.*)", substText="\n$1\n", 
showTruncatedLines=false, escapeHtml=true}

But I get this,

*** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST *** FAIL: 
LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER *** FAIL: 
LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT

I would like each of these failures to be on its own line. That is what I 
thought maybe the substText might do but apparently not.

Is there a way to do this?

Dick Ginga, Informatics R
PerkinElmer Inc. | For the Better
HUMAN HEALTH | ENVIRONMENTAL HEALTH
940 Winter Street, Waltham MA 02451

dick.gi...@perkinelmer.com
Mobile - 508-847-1434
Office - 781-663-6947


-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711C23%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.


withCredentials not working in multibranch project?

2016-06-10 Thread Michael Irwin
Versions (current for each)...
- Jenkins - 2.8
- Credentials Plugin - 2.0.7
- Credentials Binding Plugin - 1.7
- Pipeline: Multibranch - 2.6
(let me know if you need any others)

- Working in a multibranch project
- Created a "Secret File" credential in the Global scope (just for testing) 
with id "settings-file".  
- Jenkinsfile has:

node {
  ...
  withCredentials([$class: 'FileBinding', credentialsId: 'settings-file', 
variable: 'SETTINGS_LOCATION']) {
sh "cp $SETTINGS_LOCATION ./settings.xml"
  }
  ...
}

When it runs, get hit with...

groovy.lang.MissingPropertyException: No such property: SETTINGS_LOCATION for 
class: groovy.lang.Binding


Oddly, when I open the "Pipeline Syntax" at the project, I'm able to produce a 
Groovy snippet for the credential.  But, if I open the "Pipeline Syntax" at the 
branch level (within the project folder), there are no credentials available 
for me to select in the snippet generator.  So, it seems that the folder isn't 
getting the same visibility to the credential (even though it was defined 
globally).

Any pointers?

--
Michael Irwin

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/fc46345f-7bd6-439c-a627-afce5ee8b988%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Exception in Active Directory plugin when accessing web UI

2016-06-10 Thread Sebastian Schuberth
Hi,

since today I'm getting the following exception in Jenkins 2.5 with 
active-directory plugin 1.47 when accessing the web UI (even 
unauthenticated):

java.lang.IllegalArgumentException: Cannot pass null or empty values to 
constructor
at org.acegisecurity.userdetails.User.(User.java:127)
at 
hudson.plugins.script_realm.ScriptSecurityRealm.loadUserByUsername(ScriptSecurityRealm.java:105)
at 
com.michelin.cio.hudson.plugins.rolestrategy.RoleMap.hasPermission(RoleMap.java:110)
at 
com.michelin.cio.hudson.plugins.rolestrategy.RoleMap.access$000(RoleMap.java:64)
at 
com.michelin.cio.hudson.plugins.rolestrategy.RoleMap$AclImpl.hasPermission(RoleMap.java:341)
at hudson.security.SidACL._hasPermission(SidACL.java:80)
at hudson.security.SidACL.hasPermission(SidACL.java:52)
at hudson.security.ACL.checkPermission(ACL.java:62)
at hudson.model.Node.checkPermission(Node.java:464)
at jenkins.model.Jenkins.getTarget(Jenkins.java:4303)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:674)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
at org.kohsuke.stapler.Stapler.service(Stapler.java:238)

I looks a bit like the issue at [1], but the stack trace is slightly 
different. Has anyone else seen this? As a work-around I've tried to 
downgrade the active-directory plugin to version 1.46 and also version 
1.38, and upgraded Jenkins to version 2.8, both without any luck.

[1] https://issues.jenkins-ci.org/browse/JENKINS-31880

Regards,
Sebastian

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/500d76a5-2491-4eea-8445-a08910c3a0cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins 2.0 github organization folder not showing up

2016-06-10 Thread Daniel Beck

> On 10.06.2016, at 12:35, Tuomas-Matti Soikkeli  wrote:
> 
> I can't see the organization folder job type in new items view.  Any hints?

If this is right after plugin installation, try restarting. There was an issue 
a while back that the org folder doesn't show up right away, maybe it's back.

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9189E29C-8635-438A-9D37-2D747FAF6508%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins 2.0 github organization folder not showing up

2016-06-10 Thread Thomas Zoratto
Hi, 

Did you restart your Jenkins instance after installing these plugins ?

If you look at others thread in the ML you’ll find same kind of problems and 
the solution was to restart. (a known bug it seems)

Thomas

> Le 10 juin 2016 à 12:35, Tuomas-Matti Soikkeli  a écrit :
> 
> 
> 
> 
> 
> Good day.
> 
> I'm migrating to pipelines and other Jenkins 2.0 goodies. However I stumbled 
> into problems in the first steps. I can't see the organization folder job 
> type in new items view.  Any hints? Most of the getting started tutorials 
> state there should be one. Screenshot included. Tested 2.8, 2.3 and 2.0, last 
> two we're docker releases.
> 
> Screenshot:
> 
>  
> 
> 
> Thanks, Tuomas
> 
> 
> 
> -- 
> 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 discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/1773b3a6-c45d-4d9b-9064-52d309fb2518%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/BD73C7DC-806F-449D-A34C-D9CF6C909360%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins 2.0 github organization folder not showing up

2016-06-10 Thread Tuomas-Matti Soikkeli





Good day.

I'm migrating to pipelines and other Jenkins 2.0 goodies. However I 
stumbled into problems in the first steps. I can't see the organization 
folder job type in new items view.  Any hints? Most of the getting started 
tutorials state there should be one. Screenshot included. Tested 2.8, 2.3 
and 2.0, last two we're docker releases.

Screenshot:



Thanks, Tuomas


-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1773b3a6-c45d-4d9b-9064-52d309fb2518%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


symbolic link with jenkins

2016-06-10 Thread inforedaster .
Hi,

I have à jenkins 1.642.2 master without slave, my jenkins home directory is
/var/lib/jenkins and for jobs directory i have been made a symbolic link :

lrwxrwxrwx.   1 jenkins jenkins  24 May 27 12:00 jobs ->
/lun/data1/jenkins/jobs/

all my projects work well exept one a meven project multi modules is a
project where i have a wsdl parssing take an error in every build (the same
problem with the maven and free-style job) :

in the first step of maven plugin execution all wsdl files is located with
the symbolik link but in the parssing it's located by physical link

when i do mvn install ine the server it's works well

can you help or any idea to resolve this probleme



[INFO] --- jaxws-maven-plugin:2.3:wsimport (wsimport-from-userrights) @
usrMgrInterface ---
[INFO] Processing:
file:/var/lib/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1.wsdl
[INFO] jaxws:wsimport args: [-keep, -s,
/var/lib/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/target/jaxws,
-d,
/var/lib/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/target/classes,
-verbose, -encoding, UTF-8, -Xnocompile, -wsdllocation,
META-INF/wsdl/usrmgr-userrights_v1.wsdl, -b,
/var/lib/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1.xjb,
-b,
/var/lib/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1_def.xjb,
"file:/var/lib/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1.wsdl"]
parsing WSDL...


[ERROR] 
"file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1.wsdl"
is not a part of this compilation. Is this a mistake for
"file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1.xjb"?
  line 4 of
file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1.xjb

[ERROR]
"file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1_def.wsdl"
is not a part of this compilation. Is this a mistake for
"file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1_def.xjb"?
  line 8 of
file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1_def.xjb

[ERROR]
"file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1.xsd"
is not a part of this compilation. Is this a mistake for
"file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1_def.xjb"?
  line 16 of
file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1_def.xjb

[ERROR]
"file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/technical-environment_v2.xsd"
is not a part of this compilation. Is this a mistake for
"file:/var/lib/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/technical-environment_v2.xsd"?
  line 24 of
file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1_def.xjb


-- 

*Cordilally*

*Cordialement.*

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAE-yB-M_Q7G4siWOMoArpPRCyT6Rh7Ug83JTtobD5GHrximcaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problems running a job with rake

2016-06-10 Thread 'Björn Pedersen' via Jenkins Users
jenkins -> Manage jenkins -> global tool configuration 
(or if you have many slaves with different locations,  in node config -> 
node properties.

Björn


Am Donnerstag, 9. Juni 2016 19:32:03 UTC+2 schrieb ziffification:
>
> thanks Bjorn!
>
> can I ask how I specify the path ?  it looks like in the pull down you can 
> just select a version of rake 
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/64bac6c1-8c2a-41b5-a8eb-ad659518cbd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple SCM plugin CANNOT track multiple revisions (i.e. branches or tags) on one repository?

2016-06-10 Thread Craig Rodrigues
Hi,

If you feel that you need to use the Multiple SCMs plugin,
I would strongly encourage you *not* to use it.  The Multiple SCMs plugin
was written
at a time when it was needed to overcome some limitations of the existing
model of Jenkins jobs,
where it was only possible to have one SCM configured for one job.  It was
never supported by the core Jenkins developers.  The Multiple SCMs plugin
kind of works, and people do use it,
but it has limitations, and problems that people run into all the time.

If inside your job you feel you need to do "hg clone" or "hg update"
operations, then explicitly
add those operations in your build steps.
It is not ideal, but it will get you going.

However, if I can encourage you to go in this direction, I would seriously
for you to learn pipeline (
https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin ).

Pipeline is being actively worked on by the core Jenkins developers and is
supported.
With Pipeline, you can check out from multiple repositories (even hg
repositories), and do it in
a supported way.

You can get going with Pipeline by reading some of the documentation here:
https://github.com/jenkinsci/pipeline-plugin#gettings-started

To give you some ideas, you could write a Pipeline that checkouts out from
two hg repositories by doing something like:


node {
stage "Checkout Python 3.5 source code"
checkout([ $class: 'MercurialSCM', credentialsId: '', revision: '3.5',
source:
  'https://hg.python.org/cpython', subdir: 'directory1' ])

stage "Checkout Python 2.7 source code"
checkout([$class: 'MercurialSCM', credentialsId: '', revision: '2.7',
source:
  'https://hg.python.org/cpython', subdir: 'directory2'])

}


--
Craig



On Thu, Jun 9, 2016 at 9:43 AM, Chastina Li  wrote:

> I've been trying to get the Multiple SCM plugin to manage multiple
> repositories, each with default, qa and prod branches, on Mercurial. But
> there doesn't seem to be a way of tracking multiple branches from a single
> repository using one Multiple SCM task.
> I've read through the official doc here
> and
> looked online but I can't find any information regarding whether this
> feature exists or not.
> Is it possible to achieve multi-revision management using one SCM task
> through Jenkins? Or else I will have to "hg clone and checkout" all
> branches, which is a bit of a pain.
> Thanks!
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAG%3DrPVcsgJ53Oz-X2Ai2hRCPGav_Ae12BonRJrTs8A3TL17aUg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: FATAL: Connection reset the error i am getting after checking out total source code from the tfs server

2016-06-10 Thread Ashok Paramasivam
Did you find the solution? I am having the same trouble


On Monday, November 30, 2015 at 2:26:02 AM UTC-8, Venkata Lakshma Reddy 
Gade wrote:
>
> during first build in jenkins i am able to proper checkout while running 2nd 
> build after checkout it is failing with below error do any one faced this 
> type of error please help me..
>
> i think after checkout it contacting some webservice, do i need to set any 
> proxy if so how to set 
>
> Thanks in advance 
>
> Lakshman 
>
> [PPIUK] $ tf get . -recursive -version:D2015-11-30T07:20:02Z -noprompt 
> 
> All files are up to date.
> FATAL: Connection resetcom.microsoft.tfs.core.exceptions.TECoreException 
> :
>  Connection reset
>   at 
> com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:99)
>  
> 
>   at 
> com.microsoft.tfs.core.exceptions.mappers.RegistrationExceptionMapper.map(RegistrationExceptionMapper.java:23)
>  
> 
>   at 
> com.microsoft.tfs.core.clients.registration.RegistrationData.newFromServer(RegistrationData.java:70)
>  
> 
>   at 
> com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationData(RegistrationClient.java:645)
>  
> 
>   at 
> com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationEntry(RegistrationClient.java:188)
>  
> 
>   at 
> com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationEntry(RegistrationClient.java:167)
>  
> 
>   at 
> com.microsoft.tfs.core.clients.webservices.IdentityManagementService.(IdentityManagementService.java:65)
>  
> 
>   at hudson.plugins.tfs.model.Project.getVCCHistory(Project.java:86) 
> 
>   at 
> hudson.plugins.tfs.model.Project.getDetailedHistory(Project.java:130) 
> 
>   at 
> hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:38) 
> 
>   at 
> hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:220)
>  
> 
>   at hudson.model.AbstractProject.checkout(AbstractProject.java:1275) 
> 
>   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
>  
> 
>   at 
> jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) 
> 
>   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) 
> 
>   at hudson.model.Run.execute(Run.java:1741) 
> 
>   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 
> 
>   at hudson.model.ResourceController.execute(ResourceController.java:98) 
> 
>   at hudson.model.Executor.run(Executor.java:408) 
> 
> Caused by: com.microsoft.tfs.core.ws.runtime.exceptions.TransportException 
>