aerogear-attic / aerogear-attic/cordova-showcase-template

Pipeline fails in "Mobile CI/CD" service (Android, Debug)

Offen
#97 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
4
Forks
20
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## Expected Behavior
Pipeline completes successfully.

## Actual Behavior
Pipeline fails. It can't find the apk (after it has successfully been built).

## Steps to Reproduce the Problem

1. Create a build for master of this showcase app in Jenkins on OpenShift
1. Choose 'Android' for 'Platform', and 'Debug' as 'Build Type'
1. Trigger build, and wait for it to fail. You'll see the following output:

```

BUILD SUCCESSFUL in 1m 35s
46 actionable tasks: 46 executed
Built the following apk(s):
/tmp/workspace/myproject/myproject-cordova-upstream-build/platforms/android/app/build/outputs/apk/debug/app-debug.apk

[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Sign)
[Pipeline] echo
Debug Build - Using default developer signing key
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
Archiving artifacts
[Pipeline] step
ERROR: No artifacts found that match the file pattern "platforms/android/build/outputs/apk/android-debug.apk". Configuration error?
ERROR: ‘platforms/android/build/outputs/apk/android-debug.apk’ doesn’t match anything: ‘platforms’ exists but not ‘platforms/android/build/outputs/apk/android-debug.apk’
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: FAILURE
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.