Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release process should fail on error on update from remote #34

Closed
szpak opened this issue May 24, 2013 · 3 comments
Closed

Release process should fail on error on update from remote #34

szpak opened this issue May 24, 2013 · 3 comments
Assignees
Labels

Comments

@szpak
Copy link
Contributor

szpak commented May 24, 2013

Currently it just ignores an error on update (here with connection timeout):

Task ':checkUpdateNeeded' has not declared any outputs, assuming that it is out-of-date.
 >>> Running [git, --git-dir=/home/foo/bar/.git, --work-tree=/home/foo/bar, remote, update]
 >>> Running [git, --git-dir=/home/foo/bar/.git, --work-tree=/home/foo/bar, remote, update]: [Fetching origin
][ssh: connect to host my.remote.host port 29418: Connection timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch origin
]
Running "git --git-dir=/home/foo/bar/.git --work-tree=/home/foo/bar status -sb"
(...)

It would expect it to fail (but maybe there are other usecases to make it useful).

@ghost ghost assigned townsfolk May 29, 2013
@townsfolk
Copy link
Contributor

Do you have the failOnUpdateNeeded flag set to false?

@szpak
Copy link
Contributor Author

szpak commented May 29, 2013

No, I didn't override this parameter.

This was referenced Jun 28, 2013
@danez
Copy link
Contributor

danez commented Sep 1, 2015

If this is still a problem in the latest version please reopen.

@danez danez closed this as completed Sep 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants