[JIRA] (JENKINS-36332) docker.WithRun allow CMD args

2016-06-29 Thread domingo.ki...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Domingo K commented on  JENKINS-36332  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: docker.WithRun allow CMD args   
 

  
 
 
 
 

 
 Jesse Glick - are there steps anywhere to fork/build/install this workflow plugin until this issues is resolved?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-36332) docker.WithRun allow CMD args

2016-06-29 Thread domingo.ki...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Domingo K created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36332  
 
 
  docker.WithRun allow CMD args   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Jesse Glick  
 
 
Components: 
 docker-workflow-plugin  
 
 
Created: 
 2016/Jun/29 6:55 PM  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Domingo K  
 

  
 
 
 
 

 
 As a user of docker.WithRun, I Should Be Able To specify command arguments for the Docker run So That I Can provide arguments to containers that are meant to be run like commands (e.g have custom entrypoints defined). == Acceptance Criteria == Given I run a docker container When I run the Groovy syntax of docker.image(busybox).withRun(args: "-v /tmp:/tmp", command: "ls -la /tmp") Then I expect the underlying docker run command to look like the following "docker run -d -v /tmp:/tmp busybox ls -la /tmp" === Notes  Expand arguments to https://github.com/jenkinsci/docker-workflow-plugin/blob/153c70d5e863eb499b49d08d6992f3eff3ca586a/src/main/resources/org/jenkinsci/plugins/docker/workflow/Docker.groovy#L133 to allow "command" optional argument as well.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment