Docker container delete from Jenkins hangs

I tried today to configure my nodes in Jenkins with with docker 1.3.1, and Jenkins docker plugin v0.8.

The docker containers started successfully from jenkins but jenkins rejected them as the there were some echos in my bashrc.
I deleted these nodes manually from Docker server.

  • PDO connection error when running PHINX migration on a Docker Container
  • Restrict ssh user to their respective docker container
  • Docker Engine command run --blkio-weight doesn't work
  • Forward Docker log to logstash using syslog driver
  • Why does apt-get exit without an error during Dockerfile build?
  • Rabbitmq in Kubernetes cluster
  • Now, I need to delete these nodes from jenkins and I cannot delete them. The delete operation simply hangs.
    Any change to Jenkins configuration also hangs.

    Any suggestions please?

    tried using

    1. Groovy console to delete Docker nodes

    2. Tried using delete option from Manage jenkins -> nodes

    3. Tried using Jenkins-cli script to delete these nodes.

    Container logs

    SSH connection reports a garbage before a command execution.
    Check your .bashrc, .profile, and so on to make sure it is quiet.
    The received junk text is as follows:
        at hudson.plugins.sshslaves.SSHLauncher.verifyNoHeaderJunk(
        at hudson.plugins.sshslaves.SSHLauncher.access$100(
        at hudson.plugins.sshslaves.SSHLauncher$
        at hudson.plugins.sshslaves.SSHLauncher$
        at java.util.concurrent.FutureTask$Sync.innerRun(
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$
    [11/05/14 15:54:55] Launch failed - cleaning up connection
    [11/05/14 15:54:55] [SSH] Connection closed.

    Since any change in the configuration cannot be performed, I am totally stuck.

  • Non-root user in Docker
  • Nginx docker container returning corrupt JSON file, renamed file
  • application configuration as a docker image
  • Kubernetes executor on Gitlab ERROR: Job failed: image pull failed
  • How to access a docker container from another machine than its windows host?
  • Do Docker containers share a single Python GIL?
  • One Solution collect form web for “Docker container delete from Jenkins hangs”

    Manually removed elements from jenkins/config.xml and restarted jenkins

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.