[JIRA] [workflow-plugin] (JENKINS-35430) maven breaks build

2016-06-07 Thread burtse...@mail.ru (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Yuriy Burtsev commented on  JENKINS-35430 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: maven breaks build  
 
 
 
 
 
 
 
 
 
 
http://stackoverflow.com/questions/37667409/jenkins-2-7-pipeline-build-in-docker-container 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [workflow-plugin] (JENKINS-35430) maven breaks build

2016-06-07 Thread burtse...@mail.ru (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Yuriy Burtsev created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-35430 
 
 
 
  maven breaks build  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Jesse Glick 
 
 
 

Components:
 

 workflow-plugin 
 
 
 

Created:
 

 2016/Jun/07 3:28 PM 
 
 
 

Environment:
 

 Jenkins 2.8  maven 3.2.5 or 3.3.3  open or Oracle JDK 1.8  Docker 1.9.1  CentOS 7 with 4.6.0-1.el7.elrepo.x86_64 
 
 
 

Labels:
 

 jenkins 2.0 workflow 
 
 
 

Priority:
 
  Blocker 
 
 
 

Reporter:
 
 Yuriy Burtsev 
 
 
 
 
 
 
 
 
 
 
My Jenkins server is docker container from docker hub, which using docker server as a node (docker). I am trying to build my project with Jenkins and pipeline plugin in docker container. My Jenkinsfile looks like this: 
node('docker') { docker.image('build-node:1').inside { stage 'scm checkout' checkout scm 
 stage 'maven build' try  { sh 'mvn clean | tee mvn.log' } 
 catch (e) { println "Maven failed : $ {e} 
" } } } 
Output: