diff options
author | vagrant <vv770d@att.com> | 2018-01-20 15:12:44 +0000 |
---|---|---|
committer | vagrant <vv770d@att.com> | 2018-01-20 15:12:59 +0000 |
commit | 00bd7aa1794a71388cb323f524926958e0dd25c7 (patch) | |
tree | df95ef01901b8960d2fb821d961fe04a32b940d1 /mvn-phase-script.sh | |
parent | 4ddc91766c1d252be8d78bf26133dccce82886c2 (diff) |
snmptrap collector dockerization
Issue-ID: DCAEGEN2-228
Change-Id: I118a4c62452a53f647fc868c5cac9bd2b19730ae
Signed-off-by: Vijay VK <vv770d@att.com>
Diffstat (limited to 'mvn-phase-script.sh')
-rwxr-xr-x | mvn-phase-script.sh | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh index 80ca660..edfbed0 100755 --- a/mvn-phase-script.sh +++ b/mvn-phase-script.sh @@ -56,10 +56,10 @@ if [ -z "$WORKSPACE" ]; then WORKSPACE=$(pwd) fi -if [ -z "$SETTINGS_FILE" ]; then - echo "SETTINGS_FILE environment variable not set. Cannot proceed" - exit -fi +#if [ -z "$SETTINGS_FILE" ]; then +# echo "SETTINGS_FILE environment variable not set. Cannot proceed" +# exit +#fi @@ -116,31 +116,9 @@ deploy) # copy the ones suitable for your repo, and remove the "if false" statement # build docker image from Docker file (under root of repo) and push to registry - if false ; then build_and_push_docker - fi # upload all yaml file under the root of repo - if false ; then - upload_files_of_extension yaml - fi - - if false ; then - case $MVN_PROJECT_MODULEID in - bootstrap) - # build docker image from Docker file (under module dir) and push to registry - build_and_push_docker - ;; - scripts) - # upload all sh file under the root of module - upload_files_of_extension sh - ;; - *) - echo "====> unknown mvn project module" - ;; - esac - fi - ;; *) echo "==> unprocessed phase" |