Cache pull failing for Android build

#1

Cache pull build is failing for my Android build.
My workflow is as follows :
Git clone Repository
Bitrise.io Cache:Pull
File Downloader
Install missing Android SDK components
Android Unit Test
Bitrise.io Cache:Push
Deploy to Bitrise.io - Apps, Logs, Artifacts

step cach:pull fails

Downloading remote cache archive
Failed to get cache download url: build cache not found: probably cache not initialised yet (first cache push initialises the cache), nothing to worry about :wink:
WARN[09:27:54] Step (cache-pull) failed, but was marked as skippable
| |
±–±--------------------------------------------------------------±---------+
| ! | cache-pull (exit code: 1) | 4.45 sec |
±–±--------------------------------------------------------------±---------+
| Issue tracker: https://github.com/bitrise-steplib/steps-cache-pull/issues |
| Source: https://github.com/bitrise-steplib/steps-cache-pull.git |
±–±--------------------------------------------------------------±—

cache:push steps gives following log :

±-----------------------------------------------------------------------------+

| (6) cache-push |
±-----------------------------------------------------------------------------+
| id: cache-push |
| version: 2.2.3 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: go |
| time: 2020-03-01T09:36:57Z |
±-----------------------------------------------------------------------------+
| |
WARN[09:36:57] The step’s (cache-push) Run-If expression evaluated to false - skipping
INFO[09:36:57] The Run-If expression was: .IsCI | and (not .IsPR)
| |
±–±--------------------------------------------------------------±---------+
| - | cache-push | 1.26 sec |
±–±--------------------------------------------------------------±---------+

Build no : 5f5a70807208af1f

0 Likes

#2

It seems that it’s a PR build.
Cache Push by default works only on non-PR workflows.

1 Like

closed #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes