{"action":"created","issue":{"url":"https://api.github.com/repos/sameersbn/docker-runner-gitlab/issues/2","labels_url":"https://api.github.com/repos/sameersbn/docker-runner-gitlab/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/sameersbn/docker-runner-gitlab/issues/2/comments","events_url":"https://api.github.com/repos/sameersbn/docker-runner-gitlab/issues/2/events","html_url":"https://github.com/sameersbn/docker-runner-gitlab/issues/2","id":65625700,"number":2,"title":"How runners work?","user":{"login":"epiphyllum","id":8348065,"avatar_url":"https://avatars.githubusercontent.com/u/8348065?v=3","gravatar_id":"","url":"https://api.github.com/users/epiphyllum","html_url":"https://github.com/epiphyllum","followers_url":"https://api.github.com/users/epiphyllum/followers","following_url":"https://api.github.com/users/epiphyllum/following{/other_user}","gists_url":"https://api.github.com/users/epiphyllum/gists{/gist_id}","starred_url":"https://api.github.com/users/epiphyllum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epiphyllum/subscriptions","organizations_url":"https://api.github.com/users/epiphyllum/orgs","repos_url":"https://api.github.com/users/epiphyllum/repos","events_url":"https://api.github.com/users/epiphyllum/events{/privacy}","received_events_url":"https://api.github.com/users/epiphyllum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-01T07:46:33Z","updated_at":"2015-04-01T13:58:27Z","closed_at":null,"body":"I have set up gitlab, gitlab-ci, and runner-gitlab. \r\n\r\nIn my gitlab,   I have a simple project called perl-private,   in this project, I have only one file: hello.sh\r\n\r\n## hello.sh\r\n\r\n```\r\n#/!bin/bash\r\necho \"hellol world\" \r\necho \"hello world\";\r\n```\r\n\r\nand I set the buildscript in GitLab-CI for this project like this:\r\n\r\n## build script\r\n\r\n```bash\r\n./hello.sh > hello.log 2>&1\r\n```\r\nthen I go to my wokring box and push some changes to gitlab,  the ci is immediately triggered. \r\nbut the result is failed.  and I check the hello.log in the runner. got this message\r\n\r\n```\r\n/tmp/executor20150401-21-1lf9trp: line 9: ./hello.sh: No such file or directory\r\n```\r\nso I just wonder how those runner works? \r\n\r\n(gitlab.com)[https://gitlab.com/gitlab-org/gitlab-ci/blob/master/doc/examples/build_script_gitlab_ce.md]\r\nsaid:  runner runs the line below before it runs the commands in your build script\r\n\r\n```bash\r\ncd /gitlab-ci-runner/tmp/builds \r\ngit clone git@gitlab_server_fqdn:group/project.git project-1\r\ncd project-1 \r\ngit checkout master\r\n```\r\n\r\nbut why the runner complain that ./hello.sh   No such file or directory??\r\n\r\nhow runner works?\r\n "},"comment":{"url":"https://api.github.com/repos/sameersbn/docker-runner-gitlab/issues/comments/88490064","html_url":"https://github.com/sameersbn/docker-runner-gitlab/issues/2#issuecomment-88490064","issue_url":"https://api.github.com/repos/sameersbn/docker-runner-gitlab/issues/2","id":88490064,"user":{"login":"sameersbn","id":410147,"avatar_url":"https://avatars.githubusercontent.com/u/410147?v=3","gravatar_id":"","url":"https://api.github.com/users/sameersbn","html_url":"https://github.com/sameersbn","followers_url":"https://api.github.com/users/sameersbn/followers","following_url":"https://api.github.com/users/sameersbn/following{/other_user}","gists_url":"https://api.github.com/users/sameersbn/gists{/gist_id}","starred_url":"https://api.github.com/users/sameersbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameersbn/subscriptions","organizations_url":"https://api.github.com/users/sameersbn/orgs","repos_url":"https://api.github.com/users/sameersbn/repos","events_url":"https://api.github.com/users/sameersbn/events{/privacy}","received_events_url":"https://api.github.com/users/sameersbn/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T13:58:27Z","updated_at":"2015-04-01T13:58:27Z","body":"@epiphyllum sorry. I have not created build scripts using perl."}}