From adcca8ceb64b11669d01954abacb81409eb7497f Mon Sep 17 00:00:00 2001 From: Tom Page Date: Thu, 6 Jan 2022 10:54:38 +0000 Subject: [PATCH] ACS-2382 Remove outdated references to Whitesource. --- .travis.yml | 7 ------- .whitesource | 8 -------- _ci/settings.xml | 4 ---- _ci/whitesource.sh | 22 ---------------------- docs/build-and-release.md | 2 +- 5 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 .whitesource delete mode 100644 _ci/whitesource.sh diff --git a/.travis.yml b/.travis.yml index e21dfc28..789a64c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -77,13 +77,6 @@ jobs: before_script: travis_wait bash _ci/cache_artifacts.sh install: _ci/build.sh full-build script: travis_wait 30 bash _ci/test.sh aio-test - # - name: "WhiteSource" - # if: branch NOT IN (company_release) - # script: bash _ci/whitesource.sh - # - name: "Source Clear Scan (SCA)" - # if: branch NOT IN (company_release) - # install: skip - # script: travis_wait 30 bash _ci/sourceclear.sh # - name: "Static Analysis (SAST)" # TODO ATS-721: comment out until it is possible to run concurrent SAST scans # if: branch NOT IN (company_release) AND type != pull_request diff --git a/.whitesource b/.whitesource deleted file mode 100644 index f0569521..00000000 --- a/.whitesource +++ /dev/null @@ -1,8 +0,0 @@ -{ - "generalSettings": { - "shouldScanRepo": true - }, - "checkRunSettings": { - "vulnerableCheckRunConclusionLevel": "failure" - } -} \ No newline at end of file diff --git a/_ci/settings.xml b/_ci/settings.xml index 70a190a1..3f6e03bd 100644 --- a/_ci/settings.xml +++ b/_ci/settings.xml @@ -28,10 +28,6 @@ https://artifacts.alfresco.com/nexus/content/groups/internal - - - ${env.WHITESOURCE_TOKEN} - diff --git a/_ci/whitesource.sh b/_ci/whitesource.sh deleted file mode 100644 index afb465c3..00000000 --- a/_ci/whitesource.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash - -echo "=========================== Starting WhiteSource Script ===========================" -PS4="\[\e[35m\]+ \[\e[m\]" -set -vex -pushd "$(dirname "${BASH_SOURCE[0]}")/../" - - -mvn -B clean install \ - -DskipTests org.whitesource:whitesource-maven-plugin:update \ - -Dorg.whitesource.failOnError=true \ - -Dorg.whitesource.forceUpdate=true \ - -Dorg.whitesource.checkPolicies=true \ - -Dorg.whitesource.forceCheckAllDependencies=true \ - -Dorg.whitesource.ignorePomModules=false \ - "-Dorg.whitesource.product=Transform Service" \ - -Dmaven.wagon.http.pool=false - -popd -set +vex -echo "=========================== Finishing WhiteSource Script ==========================" - diff --git a/docs/build-and-release.md b/docs/build-and-release.md index cbc6f14f..218751ac 100644 --- a/docs/build-and-release.md +++ b/docs/build-and-release.md @@ -4,7 +4,7 @@ The `.travis.yml` config file can be found in the root of the repository. ## Stages and Jobs -1. **Build**: Java build with unit tests, integration tests and WhiteSource scan. +1. **Build**: Java build with unit and integration tests. 2. **Release**: Release with artifact deployment to Nexus and AWS Staging bucket. 3. **Company Release**: Artifact deployment to AWS Release bucket.