Commit 1ff4b333 authored by Spencer Sutton's avatar Spencer Sutton
Browse files

Adding sonar,dependency-check to aws

commit a0df4c78 
Author: Spencer Sutton <> 
Date: Mon Jul 19 2021 11:52:15 GMT-0500 (Central Daylight Time) 

    Fixing build

commit 4913f899 
Author: Spencer Sutton <> 
Date: Mon Jul 19 2021 10:50:17 GMT-0500 (Central Daylight Time) 

    Adding sonar,dependency-check to aws
parent 6df62ed9
......@@ -21,6 +21,11 @@ env:
DOCKER_USERNAME: /osdu/devops/docker_credentials:username
DOCKER_PASSWORD: /osdu/devops/docker_credentials:password
SONAR_USERNAME: /osdu/devops/sonar_credentials:username
SONAR_PASSWORD: /osdu/devops/sonar_credentials:password
SONAR_URL: /osdu/devops/sonar_url
......@@ -60,8 +65,7 @@ phases:
- echo "Building primary service assemblies..."
- mvn install -N # required for this service to install the parent pom so that the integration tests will find it
- mvn -B test install -pl schema-core,provider/schema-aws -Ddeployment.environment=prod
- mvn -B test install sonar:sonar -pl .,schema-core,provider/schema-aws -Ddeployment.environment=prod -Dsonar.login=${SONAR_USERNAME} -Dsonar.password=${SONAR_PASSWORD}${BRANCH_NAME}
# Suspended until further notice
# - echo "Copying assemblies to dist..."
# - cp ./provider/delivery-aws/target/*spring-boot.jar ${OUTPUT_DIR}/bin # copy aws jars
......@@ -91,6 +95,9 @@ phases:
python provider/schema-aws/build-aws/ --branch ${CODEBUILD_SOURCE_VERSION} --commit ${CODEBUILD_RESOLVED_SOURCE_VERSION} \
--buildid ${CODEBUILD_BUILD_ID} --buildnumber ${CODEBUILD_BUILD_NUMBER} --reponame ${REPO_NAME} --outdir ${OUTPUT_DIR} \
--artifact ${ECR_IMAGE}
- cp provider/schema-aws/target/dependency-check-report.html ${OUTPUT_DIR}
SurefireReports: # CodeBuild will create a report group called "SurefireReports".
files: #Store all of the files
......@@ -54,6 +54,17 @@ limitations under the License.
......@@ -109,6 +109,18 @@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment