update snyk to point to package.json

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
This commit is contained in:
Vishwas Shashidhar 2020-04-01 20:40:41 +05:30
parent ecef6e69db
commit dba424dd53
4 changed files with 4 additions and 4 deletions

View File

@ -69,7 +69,7 @@ npm install
# Run Snyk Security Tests # Run Snyk Security Tests
echo "Running snyk security tests" echo "Running snyk security tests"
snyk test --file=package-lock.json --org="$SNYK_ORG" snyk test --file=package.json --org="$SNYK_ORG"
# replace url in config # replace url in config
echo "Setting default pod url to https://corporate.symphony.com" echo "Setting default pod url to https://corporate.symphony.com"

View File

@ -83,7 +83,7 @@ npm install
# Run Snyk Security Tests # Run Snyk Security Tests
echo "Running snyk security tests" echo "Running snyk security tests"
snyk test --file=package-lock.json --org="$SNYK_ORG" snyk test --file=package.json --org="$SNYK_ORG"
# Replace url in config # Replace url in config
echo "Setting default pod url to https://corporate.symphony.com" echo "Setting default pod url to https://corporate.symphony.com"

View File

@ -56,7 +56,7 @@ call npm install
# Run Snyk Security Tests # Run Snyk Security Tests
echo "Running snyk security tests" echo "Running snyk security tests"
call snyk test --file=package-lock.json --org=%SNYK_ORG% call snyk test --file=package.json --org=%SNYK_ORG%
:: Set expiry if required :: Set expiry if required
IF "%EXPIRY_PERIOD%"=="" ( IF "%EXPIRY_PERIOD%"=="" (

View File

@ -44,7 +44,7 @@ call npm install
# Run Snyk Security Tests # Run Snyk Security Tests
echo "Running snyk security tests" echo "Running snyk security tests"
call snyk test --file=package-lock.json --org=%SNYK_ORG% call snyk test --file=package.json --org=%SNYK_ORG%
:: Set expiry if required :: Set expiry if required
IF "%EXPIRY_PERIOD%"=="" ( IF "%EXPIRY_PERIOD%"=="" (