forked from hortonworks/cloudbreak
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
doktoric
committed
Aug 11, 2016
1 parent
752387a
commit 3aa0dac
Showing
3 changed files
with
24 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
environments { | ||
jenkins { | ||
sonar_host_url = "http://$System.env.SONAR_PORT_9000_TCP_ADDR:9000" | ||
sonar_jdbc_url = "jdbc:mysql://$System.env.SONAR_DB_PORT_3306_TCP_ADDR:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true" | ||
sonar_host_url = "http://$System.env.SONAR_HOST:9000" | ||
metadata = "https://s3-eu-west-1.amazonaws.com/maven.sequenceiq.com/releases/com/sequenceiq/cloudbreak/maven-metadata.xml" | ||
sonar_host_user = "$System.env.SONAR_USER" | ||
sonar_host_password = "$System.env.SONAR_PASSWORD" | ||
} | ||
|
||
local { | ||
sonar_host_url = "http://localhost:9000" | ||
sonar_jdbc_url = "jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true" | ||
metadata = "https://s3-eu-west-1.amazonaws.com/maven.sequenceiq.com/releases/com/sequenceiq/cloudbreak/maven-metadata.xml" | ||
sonar_host_user = "$System.env.SONAR_USER" | ||
sonar_host_password = "$System.env.SONAR_PASSWORD" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash -e | ||
: ${WORKSPACE=.} | ||
|
||
./gradlew -Penv=jenkins -b build.gradle clean build release uploadArchives -Prelease.scope=minor -Prelease.stage=dev --info --stacktrace | ||
./gradlew -Penv=jenkins -b build.gradle clean build release uploadArchives sonarqube -Prelease.scope=minor -Prelease.stage=dev --info --stacktrace | ||
|
||
echo VERSION=$(git describe --abbrev=0 --tags) > $WORKSPACE/version |