Skip to content

Commit

Permalink
SONARHG-2 Move back to SonarSource organization
Browse files Browse the repository at this point in the history
  • Loading branch information
drautureau-sonarsource committed Aug 14, 2018
1 parent f941a5c commit 2bfc1dc
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 17 deletions.
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,16 @@ install: true
jdk:
- oraclejdk8

addons:
apt:
packages:
- mercurial

script:
- hg --version
- mvn verify -Pits -Dsonar.runtimeVersion=DEV -B -e -V
- mvn verify -Pits -Dsonar.runtimeVersion=LATEST_RELEASE[6.7] -B -e -V
- ./travis.sh

cache:
directories:
- '$HOME/.m2/repository'
- $HOME/.m2/repository
- $HOME/.sonar

notifications:
email: false
webhooks:
- secure: "azdp/Wu6vLgS4XcEx/TwfwpO4kKVnC+V+SN/OhVMrblNeYhT7gNbe8dhBcw70DE8PgcMSg/u5Xs2F2g5lzP/FfUepqvC6vzbq8ksrSZfgWqpXfOQWV2izNfBp57gTrvENl0inKsQrGbHOvgZ2A2GIGNMLPfBma5ezKhZhT8bmQY="
on_start: always
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SonarQube Mercurial plugin
[![Build Status](https://travis-ci.org/SonarQubeCommunity/sonar-scm-mercurial.svg)](https://travis-ci.org/SonarQubeCommunity/sonar-scm-mercurial)
[![Build Status](https://travis-ci.org/SonarSource/sonar-scm-mercurial.svg)](https://travis-ci.org/SonarQubeCommunity/sonar-scm-mercurial)

## Description
This plugin implements SCM dependent features of SonarQube for [Mercurial](http://www.mercurial-scm.org/) projects.
Expand Down
17 changes: 10 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.sonarsource.parent</groupId>
<artifactId>parent</artifactId>
<version>44</version>
<version>46</version>
<relativePath />
</parent>
<groupId>org.sonarsource.scm.mercurial</groupId>
Expand Down Expand Up @@ -42,25 +42,28 @@
</modules>

<scm>
<connection>scm:git:[email protected]:SonarQubeCommunity/sonar-scm-mercurial.git</connection>
<developerConnection>scm:git:[email protected]:SonarQubeCommunity/sonar-scm-mercurial.git</developerConnection>
<url>https://github.com/SonarQubeCommunity/sonar-scm-mercurial</url>
<connection>scm:git:[email protected]:SonarSource/sonar-scm-mercurial.git</connection>
<developerConnection>scm:git:[email protected]:SonarSource/sonar-scm-mercurial.git</developerConnection>
<url>https://github.com/SonarSource/sonar-scm-mercurial</url>
<tag>HEAD</tag>
</scm>

<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/SonarQubeCommunity/sonar-scm-mercurial/issues</url>
<system>jira</system>
<url>https://jira.sonarsource.com/browse/SONARHG</url>
</issueManagement>

<ciManagement>
<system>Travis</system>
<url>https://travis-ci.org/SonarQubeCommunity/sonar-scm-mercurial/</url>
<url>https://travis-ci.org/SonarSource/sonar-scm-mercurial/</url>
</ciManagement>

<properties>
<sonar.buildVersion>6.7</sonar.buildVersion>
<gitRepositoryName>sonar-scm-mercurial</gitRepositoryName>

<!-- Release: enable publication to Bintray -->
<artifactsToPublish>${project.groupId}:sonar-scm-mercurial-plugin:jar</artifactsToPublish>
</properties>

<profiles>
Expand Down
14 changes: 14 additions & 0 deletions travis.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

#!/bin/bash
set -euo pipefail

function configureTravis {
mkdir -p ~/.local
curl -sSL https://github.com/SonarSource/travis-utils/tarball/v50 | tar zx --strip-components 1 -C ~/.local
source ~/.local/bin/install
}
configureTravis

export DEPLOY_PULL_REQUEST=true

regular_mvn_build_deploy_analyze

0 comments on commit 2bfc1dc

Please sign in to comment.