Using JaCoCo with Google Cloudbuild

65 views
Skip to first unread message

Tamás

unread,
Jan 26, 2021, 6:50:11 PM1/26/21
to JaCoCo and EclEmma Users
Hi

We would like to use JaCoCo with Google Cloudbuild, but we face a problem with the required "rules" configuration.

Our cloudbuild step would look like this:
  dir: '/'
  id: 'JaCoCo coverage check'
  args: ['org.jacoco:jacoco-maven-plugin:0.8.6:check']

Problem is that it seems the "rules" are only accepted as a configuration in a pom.xml and we couldn't pass just as a parameter like   
args: ['org.jacoco:jacoco-maven-plugin:0.8.6:check', '-Djacoco.coveredratio=70']

Can you please recommend any workaround for this?

Regards
Tamas
Reply all
Reply to author
Forward
0 new messages