Project: bamboo
Issue BAM-7674: Git repo shallow clones should work via http(s)
Build TEST-TESTHTTPS-JOB1-18 started building on agent Default Agent Updating source code to revision: 05b86d941d9f61f9236d7743c13821d6fdc4d416 Fetching branch 'master'. Will try to do a shallow fetch. Git: Requesting shallow fetch {color:red}Cannot fetch 'https://cixot@github.com/cixot/test.git', branch 'master' to source directory '/home/pstefaniak/bamboo/atlassian-bamboo-2.7.3-standalone/home/xml-data/build-dir/131073/TEST-TESTHTTPS-JOB1'. https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported{color} {code} com.atlassian.bamboo.repository.RepositoryException: Cannot fetch 'https://cixot@github.com/cixot/test.git', branch 'master' to source directory '/home/pstefaniak/bamboo/atlassian-bamboo-2.7.3-standalone/home/xml-data/build-dir/_git-repositories-cache/0x-645f5f1-1/repository'. https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported com.atlassian.bamboo.plugins.git.GitOperationHelper.fetch(GitOperationHelper.java:193) com.atlassian.bamboo.plugins.git.GitOperationHelper.fetch(GitOperationHelper.java:157) ... Caused by: org.eclipse.jgit.errors.TransportException: https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:292) org.eclipse.jgit.transport.TransportHttp$SmartHttpFetchConnection.doFetch(TransportHttp.java:613) org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:230) org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:217) org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:152) org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:114) org.eclipse.jgit.transport.Transport.fetch(Transport.java:904) com.atlassian.bamboo.plugins.git.GitOperationHelper.fetch(GitOperationHelper.java:188)	... 23 more Caused by: org.eclipse.jgit.errors.TransportException: https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported org.eclipse.jgit.transport.TransportHttp$Service.execute(TransportHttp.java:698) org.eclipse.jgit.transport.TransportHttp$Service$HttpExecuteStream.read(TransportHttp.java:772) org.eclipse.jgit.util.io.UnionInputStream.read(UnionInputStream.java:144) java.io.FilterInputStream.read(FilterInputStream.java:133) org.eclipse.jgit.util.io.TimeoutInputStream.read(TimeoutInputStream.java:111) org.eclipse.jgit.util.IO.readFully(IO.java:175) org.eclipse.jgit.transport.PacketLineIn.readLength(PacketLineIn.java:141) org.eclipse.jgit.transport.PacketLineIn.readString(PacketLineIn.java:108) org.eclipse.jgit.transport.PacketLineIn.readACK(PacketLineIn.java:86) org.eclipse.jgit.transport.BasePackFetchConnection.negotiate(BasePackFetchConnection.java:575) org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:278)	... 30 more {code}
Story points: 1