[users at bb.net] GIT mode/methods not working as expected

Tristram, Falk falk.tristram at cognex.com
Wed Apr 20 12:10:18 UTC 2016


Hi,

I am using version 0.8.12 on Ubuntu as master and cygwin as slave.
Problem: The configured nightly build is not cleaning up the sources correctly.

Neither method clobber, nor fresh shows the expected behavior
Git(repourl='url_to_myrepo', submodules=True, progress=True, timeout=2400, mode='full', method='clobber')
Git(repourl='url_to_myrepo', submodules=True, progress=True, timeout=2400, mode='full', method='fresh')

The master is doing the following operations, for clobber and fresh:

<RemoteShellCommand '['git', '--version']'
<RemoteShellCommand '['git', 'fetch', '-t', 'url_to_my_repo', 'HEAD', '--progress']
<RemoteShellCommand '['git', 'reset', '--hard', 'FETCH_HEAD', '--']'
<RemoteShellCommand '['git', 'submodule', 'sync']'
<RemoteShellCommand '['git', 'submodule', 'update', '--init', '--recursive', '--force']
<RemoteShellCommand '['git', 'rev-parse', 'HEAD']'

My analysis so far:
For clobber the 'runRmdir' seems not to be executed
For fresh      the 'clean -d -f -f -x' is missing

Any help is appreciated.

Best regards,
Falk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160420/5e1c35a8/attachment.html>


More information about the users mailing list