Slather empty result on Jenkins CI

Aperta
#542 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
ruby
Ambito
ci-cd, testing-qa

Direzione di ricerca

Start by reproducing the empty coverage report on Jenkins with the workspace under /var/lib/jenkins, which links to /private/var, and compare it with the working $HOME setup. The report says verbose output shows the same paths to Coverage.profdata and the binary, with no warnings. Identify whether the path or a permissions issue explains the difference, then confirm Slather generates a nonempty report.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

For some unknown reason slather v2.6.0 generates empty coverage reports on Jenkins CI. I have setup Jenkins workspace to /var/lib/jenkins, where /var is a link to /private/var. The exact same call to slather (via Fastlane or directly - with slather file or through command params) works fine if the project is placed in the $HOME directory (/Users/dirakto/workspace). Does anybody have any solution?

I used the verbose option and according to the output I am comparing the exact same paths (to Coverage.profdata and binary), and I've granted access to files to my terminal, so my only other idea is that it's either the path's fault or slather/xcodebuild is placing some temp files and there is some permission issue.

Remember that slather is successfully generating the report and doesn't produce any warnings.

Lingua principale
Ruby
Stelle
1.6k
Fork
239
Merge medio
1g 9h
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SlatherOrg/slather

Tutte le issue di SlatherOrg/slather

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.