Skip to content

Commit

Permalink
METplus-Internal #16 initial release for python scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed May 11, 2022
1 parent e708d57 commit 59a1181
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
5 changes: 2 additions & 3 deletions internal_tests/scanning/sornaqube/run_nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
# directed to the LOGFILE, per cron convention. To run this script, use
# the following commands:
#
# git clone https://github.com/dtcenter/MET
# MET/scripts/sosnarqube/run_nightly.sh name
# git clone https://github.com/dtcenter/METplus
# METplus/internal_tests/scanning/sonarqube/run_nightly.sh name
#
# Usage: run_nightly.sh name
# where "name" specifies a branch, tag, or hash
Expand All @@ -22,7 +22,6 @@
# Constants
#EMAIL_LIST="[email protected] [email protected] [email protected] [email protected] [email protected]"
EMAIL_LIST="[email protected] [email protected] [email protected]"
#EMAIL_LIST="[email protected]"
KEEP_DAYS=5

function usage {
Expand Down
13 changes: 5 additions & 8 deletions internal_tests/scanning/sornaqube/run_sonarqube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
# go to the directory where you would like the SCA output written and
# then run:
#
# git clone https://github.com/dtcenter/MET
# MET/scripts/sonarqube/run_sonarqube_sca.sh name
# git clone https://github.com/dtcenter/METplus
# METplus/internal_tests/scanning/sonarqube/run_sonarqube.sh name
#
# Usage: run_sonarqube_sca.sh name
# Usage: run_sonarqube.sh name
# Test the specified branched version of MET:
# run_sonarqube_sca.sh {branch name}
# run_sonarqube.sh {branch name}
# Test the specified tagged version of MET:
# run_sonarqube_sca.sh {tag name}
# run_sonarqube.sh {tag name}
#
#=======================================================================

Expand Down Expand Up @@ -101,9 +101,6 @@ run_command "git clone ${GIT_REPO} ${REPO_DIR}"
run_command "cd ${REPO_DIR}"
run_command "git checkout ${1}"

# Set the build id
#BUILD_ID="MET-${1}"

SONAR_PROPERTIES=sonar-project.properties

# Copy sonar-project.properties for Python code
Expand Down
2 changes: 1 addition & 1 deletion internal_tests/scanning/sornaqube/sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sonar.projectKey=org.sonarqube:METplus_python_NB
sonar.projectKey=org.sonarqube:METplus_NB
sonar.projectName=METplus Nightly Build
sonar.projectVersion=1.0

Expand Down

0 comments on commit 59a1181

Please sign in to comment.