Running Bamboo 5.9.1 on Windows 7/x64
Executing jobs on a remote Bamboo agent (starting from the CLI) is working without problems.
After installing the Bamboo agent as a service (using InstallBambooAgent-NT.bat and StartBambooAgent-NT.bat as administrator) the following errors are produced when starting a build:
| 18-Aug-2015 10:07:35 | Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' |
| 18-Aug-2015 10:07:35 | Updating source code to revision: 2092046078a1e95ff4427733910c2c35ab6f3188 |
| 18-Aug-2015 10:07:35 | C:\Users\bu62ein\AppData\Local\Programs\Git\cmd\git.exe version |
| 18-Aug-2015 10:07:35 | C:\Users\bu62ein\AppData\Local\Programs\Git\cmd\git.exe log -1 --encoding=UTF-8 --format=%H HEAD |
| 18-Aug-2015 10:07:36 | C:\Users\bu62ein\AppData\Local\Programs\Git\cmd\git.exe ls-remote ssh://996b848f-72e6-4fd4-bb8c-301e0ea08cb4@127.0.0.1:59838/ac/ipipe.git |
| 18-Aug-2015 10:07:36 | Cannot fetch branch '(unresolved) master' from 'ssh://git@EINAPPL32:7999/ac/ipipe.git' to source directory 'D:\GIT\bamboo\build\_git-repositories-cache\1bf8fe6b220021b84b29bfe98989b7a6fed81ba6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\Users\bu62ein\AppData\Local\Programs\Git\cmd\git.exe ls-remote ssh://996b848f-72e6-4fd4-bb8c-301e0ea08cb4@127.0.0.1:59838/ac/ipipe.git failed with code 128. Working directory was [D:\GIT\bamboo\build\_git-repositories-cache\1bf8fe6b220021b84b29bfe98989b7a6fed81ba6]., stderr:[error: cannot spawn C:\Windows\system32\config\systemprofile\AppData\Local\Temp\bamboo-ssh.41538fd5.bat: No such file or directory, fatal: unable to fork] |
When running the command from the CLI the following error is returned:
\tmp>C:\Users\bu62ein\AppData\Local\Programs\Git\cmd\git.exe ls-remote ssh://4
b709691-51a4-4bbb-a2db-2e577f651948@127.0.0.1:59838/ac/ipipe.git
ssh: connect to host 127.0.0.1 port 59838: Bad file number
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
What can be the problem? I would like start using the Service so I am not depending on starting batch files to keep the bamboo agent up and running.