tag:help.appveyor.com,2012-11-13:/discussions/problems/3788-appveyor-failing-builds-due-to-bitbucket-messageAppVeyor: Discussion 2018-08-25T02:03:08Ztag:help.appveyor.com,2012-11-13:Comment/386770252015-12-11T17:32:51Z2015-12-11T17:32:51ZAppveyor failing builds due to bitbucket message<div><p>You can completely suppress output by adding <code>|
Out-Null</code>:</p>
<pre>
<code>git push bitbucket --tags --quiet | Out-Null</code>
</pre>
<p>or use CMD mode (do not prefix with <code>ps:</code> in
appveyor.yml).</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/386770252015-12-14T09:29:27Z2015-12-14T09:29:28ZAppveyor failing builds due to bitbucket message<div><p>Thanks Feodor, we will elect to use the Out-Null option for now.
However in local ps this does not show as an error response, simply
as a message. Would it be worthwhile looking into? Does appveyor by
default always treat a response such as this as an error? It seems
like strange behaviour.</p></div>Lee Phillipstag:help.appveyor.com,2012-11-13:Comment/386770252015-12-14T09:59:37Z2015-12-14T09:59:38ZAppveyor failing builds due to bitbucket message<div><p>Further to the previous post I have now made the change to use
Out-Null the error is still present. Out put is as follows....</p>
<p>git push bitbucket --tags --quiet | Out-Null<br>
git : remote: [38;5;226m<br>
At line:1 char:1<br>
+ git push bitbucket --tags --quiet | Out-Null +
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified:
(remote: [38;5;226m :String) [], RemoteException +
FullyQualifiedErrorId : NativeCommandError</p>
<p>remote: [38;5;226mWe're changing our IP addresses on 15
December 2015 at 00:00 UTC.[38;5;226m<br>
remote: [38;5;226mPlease make sure your firewalls are up to
date:[38;5;226m<br>
remote: [38;5;<a>226mhttps://blog.bitbucket.org/?p=2677</a></p>
<p>Command executed with exception: remote: [38;5;226mWe're
changing our IP addresses on 15 December 2015 at 00:00
UTC.[38;5;226m<br>
remote: [38;5;226mPlease make sure your firewalls are up to
date:[38;5;226m<br>
remote: [38;5;<a>226mhttps://blog.bitbucket.org/?p=2677</a></p></div>Lee Phillipstag:help.appveyor.com,2012-11-13:Comment/386770252015-12-14T18:39:59Z2015-12-14T18:39:59ZAppveyor failing builds due to bitbucket message<div><p>OK, try the following:</p>
<pre>
<code>git push bitbucket --tags --quiet *>$null</code>
</pre></div>Feodor Fitsner