Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SONARHG-2 Move back to SonarSource organization #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The travis link needs to be updated too, in addition to the image url.

[![Build Status](https://travis-ci.org/SonarSource/sonar-scm-mercurial.svg)](https://travis-ci.org/SonarSource/sonar-scm-mercurial)


## Description
This plugin implements SCM dependent features of SonarQube for [Mercurial](http://www.mercurial-scm.org/) projects.
Expand Down
19 changes: 11 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<parent>
<groupId>org.sonarsource.parent</groupId>
<artifactId>parent</artifactId>
<version>44</version>
<version>46</version>
<relativePath />
</parent>
<groupId>org.sonarsource.scm.mercurial</groupId>
<artifactId>scm-mercurial</artifactId>
<name>SonarQube :: Plugins :: SCM :: Mercurial</name>
<version>1.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>SonarQube :: Plugins :: SCM :: Mercurial</name>
<description>Mercurial SCM Provider</description>
<url>http://redirect.sonarsource.com/plugins/scmmercurial.html</url>
<inceptionYear>2014</inceptionYear>
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