Skip to content

Commit

Permalink
Add serviceName & serviceJobId
Browse files Browse the repository at this point in the history
  • Loading branch information
evrignaud committed Oct 31, 2015
1 parent bb6d5fc commit daaef01
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ jdk:
- oraclejdk8

after_success:
- mvn clean cobertura:cobertura org.eluder.coveralls:coveralls-maven-plugin:report
- mvn clean cobertura:cobertura org.eluder.coveralls:coveralls-maven-plugin:report -DserviceName=travis-ci -DserviceJobId=$TRAVIS_JOB_ID
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ build_script:

test_script:
- mvn test -B
- mvn clean cobertura:cobertura org.eluder.coveralls:coveralls-maven-plugin:report
- mvn clean cobertura:cobertura org.eluder.coveralls:coveralls-maven-plugin:report -DserviceName=appveyor-ci -DserviceJobId='{build}'

cache:
- C:\maven\
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
<coveralls-maven-plugin.version>4.0.0</coveralls-maven-plugin.version>
<asciidoctor-maven-plugin.version>1.5.2.1</asciidoctor-maven-plugin.version>

<serviceName>Local</serviceName>
<serviceJobId>0</serviceJobId>

</properties>

<!-- Licence -->
Expand Down Expand Up @@ -204,6 +207,8 @@
<version>${coveralls-maven-plugin.version}</version>
<configuration>
<repoToken>yz1HDUtMG2qPbkAFkTltCeNHsiajJSytu</repoToken>
<serviceName>${serviceName}</serviceName>
<serviceJobId>${serviceJobId}</serviceJobId>
</configuration>
</plugin>

Expand Down

0 comments on commit daaef01

Please sign in to comment.