ipfs-inactive / jenkins

[ARCHIVED] Configuration for IPFS's build system
https://ci.ipfs.team/blue
8 stars 6 forks source link

Code coverage in Jenkins #40

Closed Kubuxu closed 6 years ago

Kubuxu commented 7 years ago

Unfortunately Jenkins doesn't expose git related Env Variables in pipelines currently, which blocks the code coverage reporting.

Working it around would have taken quite some time, it is reported here: https://issues.jenkins-ci.org/browse/JENKINS-35230

Acceptance Criteria:

victorb commented 7 years ago

it can be easily replicated for other pipelines.

I'm thinking that is gonna have to be more specific to be able to be a acceptance criteria

Kubuxu commented 7 years ago

What I mean is to have list of variables that have to be exposes, if it is needed, have a library that generates them.

Kubuxu commented 7 years ago

We will have to do something like this: https://github.com/docker/jenkins-pipeline-scripts/blob/master/vars/codecov.groovy

As BRANCH_NAME in case of PRs is modified to PR-XXXX.

victorb commented 6 years ago

This issue was moved to ipfs/testing#84