[JIRA] [docker-build-step-plugin] (JENKINS-35322) NPE when trying to pull Docker image as first build step

2016-06-09 Thread stephen.don...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stephen Donner closed an issue as Not A Defect 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
This ended up being my mistake, of course - I hadn't specified the Docker REST API url/endpoint. 
 
 
 
 
 
 
 
 
 
 Jenkins /  JENKINS-35322 
 
 
 
  NPE when trying to pull Docker image as first build step  
 
 
 
 
 
 
 
 
 

Change By:
 
 Stephen Donner 
 
 
 

Status:
 
 Open Closed 
 
 
 

Resolution:
 
 Not A Defect 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [docker-build-step-plugin] (JENKINS-35322) NPE when trying to pull Docker image as first build step

2016-06-03 Thread stephen.don...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stephen Donner updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-35322 
 
 
 
  NPE when trying to pull Docker image as first build step  
 
 
 
 
 
 
 
 
 

Change By:
 
 Stephen Donner 
 
 
 
 
 
 
 
 
 
 Steps to Reproduce:1. With the above installed, create a job with "Execute Docker command" which does:Pull ImageName: owasp/zap2docker-weeklyTag: latestRegistry: [blank[ or DockerDocker Registry URL; https://hub.docker. com/ r/owasp/zap2docker-weekly/Registry Credentials: [none]2. In Jenkins, click "Build Now"Actual Results:I get the following stack trace/exception:Started by user anonymousBuilding in workspace /var/lib/jenkins/workspace/Docker-ZAP > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url https://github.com/stephendonner/docker-zap.git # timeout=10Fetching upstream changes from https://github.com/stephendonner/docker-zap.git > /usr/bin/git --version # timeout=10 > /usr/bin/git -c core.askpass=true fetch --tags --progress https://github.com/stephendonner/docker-zap.git +refs/heads/*:refs/remotes/origin/* > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10Checking out Revision 827ab1e2eb5888f8b612610fe3f6b9f62f7e219f (refs/remotes/origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 827ab1e2eb5888f8b612610fe3f6b9f62f7e219f > /usr/bin/git rev-list 827ab1e2eb5888f8b612610fe3f6b9f62f7e219f # timeout=10ERROR: Build step failed with exceptionjava.lang.NullPointerException at com.github.dockerjava.jaxrs.DockerCmdExecFactoryImpl.init(DockerCmdExecFactoryImpl.java:105) at com.github.dockerjava.core.DockerClientImpl.withDockerCmdExecFactory(DockerClientImpl.java:64) at com.github.dockerjava.core.DockerClientBuilder.build(DockerClientBuilder.java:63) at org.jenkinsci.plugins.dockerbuildstep.DockerBuilder$DescriptorImpl.createDockerClient(DockerBuilder.java:132) at org.jenkinsci.plugins.dockerbuildstep.DockerBuilder$DescriptorImpl.getDockerClient(DockerBuilder.java:204) at org.jenkinsci.plugins.dockerbuildstep.DockerBuilder.perform(DockerBuilder.java:68) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410)Build step 'Execute Docker command' marked build as failureFinished: FAILURE 
 
 
 
 
 
 
 
 
 
 
 
 
  

[JIRA] [docker-build-step-plugin] (JENKINS-35322) NPE when trying to pull Docker image as first build step

2016-06-02 Thread stephen.don...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stephen Donner updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-35322 
 
 
 
  NPE when trying to pull Docker image as first build step  
 
 
 
 
 
 
 
 
 
 
Pertinent (hopefully) part of job config 
 
 
 
 
 
 
 
 
 

Change By:
 
 Stephen Donner 
 
 
 

Attachment:
 
 Screen Shot 2016-06-02 at 4.01.54 PM.png 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [docker-build-step-plugin] (JENKINS-35322) NPE when trying to pull Docker image as first build step

2016-06-02 Thread stephen.don...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stephen Donner updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-35322 
 
 
 
  NPE when trying to pull Docker image as first build step  
 
 
 
 
 
 
 
 
 
 
Error output from Build Now 
 
 
 
 
 
 
 
 
 

Change By:
 
 Stephen Donner 
 
 
 

Attachment:
 
 Screen Shot 2016-06-02 at 3.48.59 PM.png 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [docker-build-step-plugin] (JENKINS-35322) NPE when trying to pull Docker image as first build step

2016-06-02 Thread stephen.don...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stephen Donner created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-35322 
 
 
 
  NPE when trying to pull Docker image as first build step  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 vjuranek 
 
 
 

Components:
 

 docker-build-step-plugin 
 
 
 

Created:
 

 2016/Jun/02 10:55 PM 
 
 
 

Environment:
 

 Linux localhost.localdomain 4.5.4-300.fc24.x86_64 #1 SMP Wed May 11 17:57:16 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux   I should note this is a Fedora install running inside VMWare Fusion, on OS X 10.11.6 Beta (15G7b)   openjdk version "1.8.0_91"  OpenJDK Runtime Environment (build 1.8.0_91-b14)  OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)   Jenkins: 1.651.2 (LTS)  Docker-build-step: 1.35  Docker Commons Plugin: 1.31 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Stephen Donner 
 
 
 
 
 
 
 
 
 
 
Steps to Reproduce: 
1. With the above installed, create a job with "Execute Docker command" which does: 
Pull Image 
Name: owasp/zap2docker-weekly Tag: latest Registry: [blank[ or Docker Docker Registry URL; https://hub.docker.r/owasp/zap2docker-weekly/ Registry Credentials: [none] 
2. In Jenkins, click "Build Now" 
Actual Results: 
I get the following stack trace/exception: