-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Showing
2,537 changed files
with
118,543 additions
and
2,193 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
# See for instructions on this file https://help.github.com/articles/about-codeowners/ |
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
trigger: | ||
- master | ||
|
||
variables: | ||
MavenGoals: 'clean,compile' | ||
|
||
jobs: | ||
- job: 'Build' | ||
|
||
strategy: | ||
matrix: | ||
Java 8: | ||
ArtifactName: 'packages' | ||
JavaVersion: '1.8' | ||
Java 7: | ||
ArtifactName: 'packages' | ||
JavaVersion: '1.7' | ||
|
||
pool: | ||
vmImage: 'ubuntu-16.04' | ||
|
||
steps: | ||
- task: ShellScript@2 | ||
displayName: 'call mvn for each mgmt sdk individually' | ||
inputs: | ||
scriptPath: "$(System.DefaultWorkingDirectory)/eng/pipelines/scripts/mgmt_sdk_compiler.sh" | ||
workingDirectory: "$(System.DefaultWorkingDirectory)" | ||
failOnStandardError: true | ||
args: "$(JavaVersion) $(MavenGoals)" | ||
|
||
- task: PublishTestResults@2 | ||
condition: succeededOrFailed() | ||
inputs: | ||
mergeTestResults: true | ||
testRunTitle: 'On Java $(JavaVersion)' | ||
|
||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#!/usr/bin/env bash | ||
|
||
#args expected | ||
# $1. Java version : 1.7 or 1,8, defaults to "1.8" | ||
# $2. Goals, defaults to "clean compile", value expected is a comma delemited string eg : "clean,compile" | ||
|
||
echo "#### CWD : " | ||
pwd | ||
|
||
echo "#### versions of java available:" | ||
ls /usr/lib/jvm | ||
|
||
echo "#### Original java home $JAVA_HOME" | ||
|
||
JAVA7HOME="/usr/lib/jvm/zulu-7-azure-amd64" | ||
JAVA8HOME="/usr/lib/jvm/zulu-8-azure-amd64" | ||
|
||
JAVAHOME="$JAVA8HOME" | ||
|
||
MAVENGOALS="clean compile" | ||
|
||
if [ -n "$1" ] && [ "$1" == "1.7" ]; | ||
then | ||
JAVAHOME="$JAVA7HOME"; | ||
echo "runing java 7 build"; | ||
fi | ||
|
||
|
||
if [ -n "$2" ]; | ||
then | ||
TEMP_VAL=$(echo "$2" | sed -r 's/,/ /g') | ||
MAVENGOALS="$TEMP_VAL"; | ||
echo "maven goals overriden to $MAVENGOALS" | ||
fi | ||
|
||
export JAVA_HOME="$JAVAHOME" | ||
|
||
echo "#### Using java at : $JAVA_HOME" | ||
|
||
echo "#### Maven properties:" | ||
mvn --version | ||
|
||
#TODO: | ||
#for some reason the workingdirectory dos not seem to work... | ||
#fix the following cd cmd once we figure out how to get it to work | ||
#change to the root of the sources repo | ||
cd ../../.. | ||
|
||
for i in `ls -d */*/v20* | grep -v "node_modules/*/*"`; | ||
do | ||
echo "######## building folder $i" | ||
cd $i; | ||
mvn --batch-mode -Dgpg.skip -Dmaven.wagon.http.pool=false -Dorg.slf4j.simpleLogger.defaultLogLevel=error -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warns $MAVENGOALS; | ||
if [ $? != 0 ]; | ||
then cd -; exit -1; | ||
else cd -; | ||
fi; | ||
done |
Oops, something went wrong.