{"action":"opened","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5387","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5387/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5387/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5387/events","html_url":"https://github.com/travis-ci/travis-ci/issues/5387","id":124566333,"number":5387,"title":"Using DOCKER_PASSWORD with `)` character in value fails build","user":{"login":"Stephanvs","id":375631,"avatar_url":"https://avatars.githubusercontent.com/u/375631?v=3","gravatar_id":"","url":"https://api.github.com/users/Stephanvs","html_url":"https://github.com/Stephanvs","followers_url":"https://api.github.com/users/Stephanvs/followers","following_url":"https://api.github.com/users/Stephanvs/following{/other_user}","gists_url":"https://api.github.com/users/Stephanvs/gists{/gist_id}","starred_url":"https://api.github.com/users/Stephanvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stephanvs/subscriptions","organizations_url":"https://api.github.com/users/Stephanvs/orgs","repos_url":"https://api.github.com/users/Stephanvs/repos","events_url":"https://api.github.com/users/Stephanvs/events{/privacy}","received_events_url":"https://api.github.com/users/Stephanvs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-01T23:09:26Z","updated_at":"2016-01-01T23:09:26Z","closed_at":null,"body":"I ran into an issue where I'm trying to build a docker image.\r\n\r\n`.travis.yml`:\r\n```yml\r\n...\r\nbefore_install:\r\n    - docker login -e=\"$DOCKER_EMAIL\" -u=\"$DOCKER_USERNAME\" -p=\"$DOCKER_PASSWORD\"\r\n...\r\n```\r\n\r\nDOCKER_PASSWORD=somethingwhichcontains)character\r\n\r\ninteresting log parts:\r\n```\r\nSetting environment variables from repository settings\r\n$ export DOCKER_USERNAME=[secure]\r\n$ export DOCKER_PASSWORD=[secure]\r\n/home/travis/build.sh: eval: line 45: syntax error near unexpected token `)'\r\n/home/travis/build.sh: eval: line 45: `export DOCKER_PASSWORD=xxxxxxx)xxxxxxxx'\r\n$ export DOCKER_EMAIL=[secure]\r\n...\r\n$ docker login -e=\"$DOCKER_EMAIL\" -u=\"$DOCKER_USERNAME\" -p=\"$DOCKER_PASSWORD\"\r\nPassword: \r\n```\r\n\r\nHere it just hangs until terminated.\r\n\r\nFind log output here: https://gist.github.com/Stephanvs/c9ebb28d1bdf434669bc"}}