Code Review
/
dcaegen2
/
platform
/
blueprints.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
switch RCC blueprint to R8 plugin
[dcaegen2/platform/blueprints.git]
/
mvn-phase-script.sh
diff --git
a/mvn-phase-script.sh
b/mvn-phase-script.sh
index
08b0148
..
c43ea09
100755
(executable)
--- a/
mvn-phase-script.sh
+++ b/
mvn-phase-script.sh
@@
-1,7
+1,7
@@
#!/bin/bash
# ================================================================================
#!/bin/bash
# ================================================================================
-# Copyright (c) 2017-20
18
AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2017-20
20
AT&T Intellectual Property. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@
-60,7
+60,7
@@
if [ -z "$SETTINGS_FILE" ]; then
echo "SETTINGS_FILE environment variable not set. Cannot proceed"
exit
fi
echo "SETTINGS_FILE environment variable not set. Cannot proceed"
exit
fi
-
+
# mvn phase in life cycle
# mvn phase in life cycle
@@
-85,7
+85,7
@@
echo "MVN_DOCKERREGISTRY_PUBLIC is [$MVN_DOCKERREGISTRY_PUBLIC]"
echo "HOME is [$HOME]"
echo "PROJECT_ROOT is [$PROJECT_ROOT]"
echo "HOME is [$HOME]"
echo "PROJECT_ROOT is [$PROJECT_ROOT]"
-MVN_RELEASE_TAG="${MVN_RELEASE_TAG:-R
3
}"
+MVN_RELEASE_TAG="${MVN_RELEASE_TAG:-R
8
}"
if ! wget -O ${PROJECT_ROOT}/mvn-phase-lib.sh \
if ! wget -O ${PROJECT_ROOT}/mvn-phase-lib.sh \
@@
-122,12
+122,7
@@
install)
echo "==> install phase script"
;;
deploy)
echo "==> install phase script"
;;
deploy)
- echo "==> deploy phase script"
- if [ -z "$MVN_PROJECT_MODULEID" ]; then
- upload_files_of_extension yaml
- else
- upload_files_of_extension yaml "$MVN_PROJECT_MODULEID"
- fi
+ build_and_push_docker
;;
*)
echo "==> unprocessed phase"
;;
*)
echo "==> unprocessed phase"