Refactor docker push script to accept image name
Change-Id: If465a45ac93fca37adf07ca94e5d7ac925a808db
Issue-id: CIMAN-23
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml
index 454d056..826b604 100644
--- a/jjb/global-macros.yaml
+++ b/jjb/global-macros.yaml
@@ -109,6 +109,16 @@
# yamllint enable
description: 'Maven selector to be used by shell scripts'
+- parameter:
+ name: docker-image-name
+ parameters:
+ - string:
+ name: DOCKER_IMAGE_NAME
+ # yamllint disable rule:line-length
+ default: '{docker-image-name}'
+ # yamllint enable
+ description: 'Docker image name, e.g. onap/appc'
+
# PROPERTIES
- property:
name: infra-properties