Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
Update appveyor.yml
  • Loading branch information
Rory Claasen committed Jun 12, 2019
1 parent bae842c commit 85931dc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Any changes to the json file will require a restart of SonarQube.
## Prerequisites

- [SonarQube](https://www.sonarqube.org) `>=6.7.4`
- [vcsparser](https://github.com/ericlemes/vcsparser)
- [vcsparser](https://github.com/ericlemes/vcsparser) `>=1.0.81`

## Installation

Expand Down
16 changes: 9 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,32 @@ test_script:
- ps: mvn "-Dproject.build.id=$env:APPVEYOR_BUILD_NUMBER" verify -e

after_test:
- ps: |
if (-Not $env:APPVEYOR_PULL_REQUEST_TITLE) {
mvn "-Dproject.build.id=$env:APPVEYOR_BUILD_NUMBER" sonar:sonar "-Dsonar.projectKey=$env:SONAR_PROJECT_KEY" "-Dsonar.host.url=$env:SONAR_HOST_URL" "-Dsonar.organization=$env:SONAR_ORGANIZATION"
}
on_finish:
- ps: |
$wc = New-Object 'System.Net.WebClient'
Get-ChildItem . -Name -Recurse 'TEST-*.xml' |
Foreach-Object {
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $_))
}
- ps: |
if (-Not $env:APPVEYOR_PULL_REQUEST_TITLE) {
mvn "-Dproject.build.id=$env:APPVEYOR_BUILD_NUMBER" sonar:sonar "-Dsonar.projectKey=$env:SONAR_PROJECT_KEY" "-Dsonar.host.url=$env:SONAR_HOST_URL" "-Dsonar.organization=$env:SONAR_ORGANIZATION"
}
- ps: |
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
bash codecov.sh
artifacts:
- path: 'target\*.jar'
name: Plugin
name: plugin

deploy:
- provider: GitHub
auth_token:
secure: G0czgyQ/fEhnzY4D7yQ/6ZBq3ViTBFVJTOfc6wZ+w7vISamtIQmnPb1YxQcA819B
artifact: target/*.jar
artifact: plugin
force_update: true
on:
branch: master
APPVEYOR_REPO_TAG: true
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>dev.roryclaasen</groupId>
<artifactId>sonar-vcsparser-plugin</artifactId>
<version>0.0.1</version>
<version>0.1.0</version>

<packaging>sonar-plugin</packaging>

Expand Down

0 comments on commit 85931dc

Please sign in to comment.