Issue Type: Bug Bug
Assignee: vjuranek
Components: docker-build-step, plugin
Created: 30/Jul/14 1:17 PM
Description:

Trying to start a container providing the following:

Docker command: Start Containers(s)
Container ID(s): $DOCKER_CONTAINER_IDS
Wait for ports: $DOCKER_CONTAINER_IDS 22

error:

[Docker] INFO: started container id df65196e50c8b48963d0f3cd8c1f3e548effe03d2b3b1ad4e36564985f6a1cf6
[Docker] ERROR: command 'Start container(s)' failed: No such container $DOCKER_CONTAINER_IDS
ERROR: No such container $DOCKER_CONTAINER_IDS
ERROR: Publisher com.nirima.jenkins.plugins.docker.publisher.DockerPublisherControl aborted due to exception
java.lang.NullPointerException
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685)
at hudson.model.Run.execute(Run.java:1757)
at hudson.plugins.project_inheritance.projects.InheritanceBuild.run(InheritanceBuild.java:96)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:234)

NOTE: I am not sure how to break down DOCKER_CONATAINER_IDS into individual ids when used in wait for ports field. At the moment I only create one container so problem yet.

Environment: docker pull orchardup/jenkins
+
RUN apt-get install -y apt-transport-https
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
RUN echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list
RUN apt-get update
RUN apt-get install -y net-tools lxc-docker-1.0.1

# upgrade and workaround JENKINS-24041
RUN apt-get install -y jenkins=1.574 openjdk-7-jre

# manual?? pick jdk7
## update-alternatives --config java
Project: Jenkins
Priority: Major Major
Reporter: Aiko Mastboom
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to