summaryrefslogtreecommitdiffstats
path: root/jjb/dcae
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/dcae')
-rw-r--r--jjb/dcae/apod-analytics.yaml10
-rw-r--r--jjb/dcae/apod-cdap.yaml12
-rwxr-xr-xjjb/dcae/script-apod-analytics-daily-release.sh92
-rwxr-xr-xjjb/dcae/script-apod-analytics-merge.sh93
-rwxr-xr-xjjb/dcae/script-apod-analytics-verify.sh85
-rwxr-xr-xjjb/dcae/script-apod-cdap-daily-release.sh86
-rwxr-xr-xjjb/dcae/script-apod-cdap-merge.sh87
-rwxr-xr-xjjb/dcae/script-apod-cdap-verify.sh79
8 files changed, 11 insertions, 533 deletions
diff --git a/jjb/dcae/apod-analytics.yaml b/jjb/dcae/apod-analytics.yaml
index d47b88f3e..699909ed2 100644
--- a/jjb/dcae/apod-analytics.yaml
+++ b/jjb/dcae/apod-analytics.yaml
@@ -27,13 +27,13 @@
mvn-goals: 'clean deploy'
maven-deploy-properties: |
deployAtEnd=true
- script:
- !include-raw-escape: 'script-apod-analytics-daily-release.sh'
+ script: |
+ bash './dcae-apod-buildtools/script-apod-analytics-daily-release.sh'
- '{project-name}-{stream}-verify-2scm-mvn-script':
mvn-goals: 'clean install'
- script:
- !include-raw-escape: 'script-apod-analytics-verify.sh'
+ script: |
+ bash './dcae-apod-builds-tools/script-apod-analytics-verify.sh'
- '{project-name}-{stream}-merge-2scm-mvn-script':
mvn-goals: 'clean deploy'
script:
- !include-raw-escape: 'script-apod-analytics-merge.sh'
+ bash './dcae-apod-build-tools/script-apod-analytics-merge.sh'
diff --git a/jjb/dcae/apod-cdap.yaml b/jjb/dcae/apod-cdap.yaml
index 1d76465b0..4164483d1 100644
--- a/jjb/dcae/apod-cdap.yaml
+++ b/jjb/dcae/apod-cdap.yaml
@@ -20,11 +20,11 @@
checkout-dir: 'dcae-apod-buildtools'
jobs:
- '{project-name}-{stream}-daily-release-2scm-mvn-script':
- script:
- !include-raw-escape: 'script-apod-cdap-daily-release.sh'
+ script: |
+ bash './dcae-apod-builtools/script-apod-cdap-daily-release.sh'
- '{project-name}-{stream}-verify-2scm-mvn-script':
- script:
- !include-raw-escape: 'script-apod-cdap-verify.sh'
+ script: |
+ bash './dcae-apod-buildtools/script-apod-cdap-verify.sh'
- '{project-name}-{stream}-merge-2scm-mvn-script':
- script:
- !include-raw-escape: 'script-apod-cdap-merge.sh'
+ script: |
+ bash './dcae-apod-buildtools/script-apod-cdap-merge.sh'
diff --git a/jjb/dcae/script-apod-analytics-daily-release.sh b/jjb/dcae/script-apod-analytics-daily-release.sh
deleted file mode 100755
index 636f57a8b..000000000
--- a/jjb/dcae/script-apod-analytics-daily-release.sh
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/bash
-#
-# Create a debian package and push to remote repo
-#
-set -x
-echo '================= STARTING SCRIPT TO CREATE DEBIAN FILE ================='
-
-# Extract the username and password for the nexus repo
-USER=$(xpath -q -e "//servers/server[id='ecomp-raw']/username/text()" "$SETTINGS_FILE")
-PASS=$(xpath -q -e "//servers/server[id='ecomp-raw']/password/text()" "$SETTINGS_FILE")
-REPO="${NEXUSPROXY}/content/sites/raw"
-
-#Create a netrc file for use with curl
-NETRC=$(mktemp)
-echo "machine nexus.openecomp.org login $USER password $PASS" > "$NETRC"
-
-#Write an envionment var for the netrc location since it's a temp file
-echo "NETRC=$NETRC" > "$WORKSPACE/netrc_env.txt"
-
-STAGE_DIR=${WORKSPACE}/package
-OUTPUT_DIR=${WORKSPACE}/package/output
-
-DATE_STAMP="$(date +"%Y%m%d%H%M%S")"
-PACKAGE_BUILD_NUMBER=${DATE_STAMP}
-PACKAGE_NAME_APPLICATION=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-dcae-analytics-tca.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["applicationName"]')
-PACKAGE_NAME_VERSION=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-dcae-analytics-tca.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["version"]')
-PACKAGE_GROUP_ID=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-dcae-analytics-tca.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["groupId"]')
-OUTPUT_FILE="${PACKAGE_NAME_APPLICATION}_${PACKAGE_NAME_VERSION}.deb"
-OUTPUT_FILE_DATE_STAMPED="${PACKAGE_NAME_APPLICATION}_${PACKAGE_NAME_VERSION}-${DATE_STAMP}.deb"
-
-echo 'Package variables:'
-echo " STAGE_DIR = ${STAGE_DIR}"
-echo " OUTPUT_DIR = ${OUTPUT_DIR}"
-echo " PACKAGE_BUILD_NUMBER = ${PACKAGE_BUILD_NUMBER}"
-echo " PACKAGE_NAME_APPLICATION = ${PACKAGE_NAME_APPLICATION}"
-echo " PACKAGE_NAME_VERSION = ${PACKAGE_NAME_VERSION}"
-echo " PACKAGE_GROUP_ID = ${PACKAGE_GROUP_ID}"
-echo " OUTPUT_FILE = ${OUTPUT_FILE}"
-echo " OUTPUT_FILE_DATE_STAMPED = ${OUTPUT_FILE_DATE_STAMPED}"
-
-echo 'Creating Staging and Output directories'
-rm -rf ${STAGE_DIR}
-rm -rf ${OUTPUT_DIR}
-mkdir -p ${STAGE_DIR}/stage/opt/app/cdap-apps
-mkdir -p ${OUTPUT_DIR}
-
-echo 'Copying jar file to stage'
-JAR_FILE=$(ls ${WORKSPACE}/dcae-analytics-tca/target/ | \
- grep dcae-analytics-tca- | grep -v javadoc | grep -v sources)
-
-cp ${WORKSPACE}/dcae-analytics-tca/target/${JAR_FILE} \
- ${STAGE_DIR}/stage/opt/app/cdap-apps
-
-echo 'Copying json file to stage'
-cp ${WORKSPACE}/dcae-apod-buildtools/configs/package-dcae-analytics-tca.json \
- ${STAGE_DIR}/package.json
-
-echo 'Contents of stage directory'
-ls -lR ${STAGE_DIR}
-
-echo 'Creating debian package'
-${WORKSPACE}/dcae-apod-buildtools/scripts/package -b debian -d ${STAGE_DIR} \
- -o ${OUTPUT_DIR} -y package.json -B ${PACKAGE_BUILD_NUMBER} -v
-
-# The controller needs the debian packaged named
-# dcae-analytics-tca_17.01.0-LATEST.deb so it can find and deploy it.
-# In order to have a copy of each file built a copy of
-# dcae-analytics-tca_17.01.0-LATEST.deb will be made and it will have a
-# date stamp and build number on it.
-# For example: dcae-analytics-tca_17.01.0-YYYYMMDDHHMMSS-XXX.deb
-# Both files will then be uploaded to the repository.
-
-cp ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} ${OUTPUT_DIR}/${OUTPUT_FILE}
-
-echo 'Contents of output directory'
-ls -lR ${OUTPUT_DIR}
-
-SEND_TO="${REPO}/org.openecomp.dcae.apod.analytics/deb-releases/${OUTPUT_FILE}"
-echo "Sending ${OUTPUT_DIR}/${OUTPUT_FILE} to Nexus Repo: ${SEND_TO}"
-curl -vkn --netrc-file "${NETRC}" --upload-file ${OUTPUT_DIR}/${OUTPUT_FILE} ${SEND_TO}
-
-SEND_TO="${REPO}/org.openecomp.dcae.apod.analytics/deb-releases/${OUTPUT_FILE_DATE_STAMPED}"
-echo "Sending ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} to Nexus Repo: ${SEND_TO}"
-curl -vkn --netrc-file "${NETRC}" --upload-file ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} ${SEND_TO}
-
-echo '================ ENDING SCRIPT TO CREATE DEBIAN FILE ===================='
diff --git a/jjb/dcae/script-apod-analytics-merge.sh b/jjb/dcae/script-apod-analytics-merge.sh
deleted file mode 100755
index a42da6fda..000000000
--- a/jjb/dcae/script-apod-analytics-merge.sh
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/bash
-#
-# Create a debian package and push to remote repo
-#
-set -x
-echo '================ STARTING SCRIPT TO CREATE DEBIAN FILE =================='
-
-# Extract the username, password for the nexus repo from the maven settings file
-USER=$(xpath -q -e "//servers/server[id='ecomp-raw']/username/text()" "$SETTINGS_FILE")
-PASS=$(xpath -q -e "//servers/server[id='ecomp-raw']/password/text()" "$SETTINGS_FILE")
-REPO="${NEXUSPROXY}/content/sites/raw"
-
-#Create a netrc file for use with curl
-NETRC=$(mktemp)
-echo "machine nexus.openecomp.org login $USER password $PASS" > "$NETRC"
-
-#Write an envionment var for the netrc location since it's a temp file
-echo "NETRC=$NETRC" > "$WORKSPACE/netrc_env.txt"
-
-STAGE_DIR=${WORKSPACE}/package
-OUTPUT_DIR=${WORKSPACE}/package/output
-
-DATE_STAMP="$(date +"%Y%m%d%H%M%S")"
-PACKAGE_BUILD_NUMBER=${DATE_STAMP}
-PACKAGE_NAME_APPLICATION=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-dcae-analytics-tca.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["applicationName"]')
-PACKAGE_NAME_VERSION=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-dcae-analytics-tca.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["version"]')
-PACKAGE_GROUP_ID=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-dcae-analytics-tca.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["groupId"]')
-OUTPUT_FILE="${PACKAGE_NAME_APPLICATION}_${PACKAGE_NAME_VERSION}.deb"
-OUTPUT_FILE_DATE_STAMPED="${PACKAGE_NAME_APPLICATION}_${PACKAGE_NAME_VERSION}-${DATE_STAMP}.deb"
-
-echo 'Package variables:'
-echo " STAGE_DIR = ${STAGE_DIR}"
-echo " OUTPUT_DIR = ${OUTPUT_DIR}"
-echo " PACKAGE_BUILD_NUMBER = ${PACKAGE_BUILD_NUMBER}"
-echo " PACKAGE_NAME_APPLICATION = ${PACKAGE_NAME_APPLICATION}"
-echo " PACKAGE_NAME_VERSION = ${PACKAGE_NAME_VERSION}"
-echo " PACKAGE_GROUP_ID = ${PACKAGE_GROUP_ID}"
-echo " OUTPUT_FILE = ${OUTPUT_FILE}"
-echo " OUTPUT_FILE_DATE_STAMPED = ${OUTPUT_FILE_DATE_STAMPED}"
-
-echo 'Creating Staging and Output directories'
-rm -rf ${STAGE_DIR}
-rm -rf ${OUTPUT_DIR}
-mkdir -p ${STAGE_DIR}/stage/opt/app/cdap-apps
-mkdir -p ${OUTPUT_DIR}
-
-echo 'Copying jar file to stage'
-JAR_FILE=$(ls ${WORKSPACE}/dcae-analytics-tca/target/ | \
- grep dcae-analytics-tca- | grep -v javadoc | grep -v sources)
-
-cp ${WORKSPACE}/dcae-analytics-tca/target/${JAR_FILE} \
- ${STAGE_DIR}/stage/opt/app/cdap-apps
-
-echo 'Copying json file to stage'
-cp ${WORKSPACE}/dcae-apod-buildtools/configs/package-dcae-analytics-tca.json \
- ${STAGE_DIR}/package.json
-
-echo 'Contents of stage directory'
-ls -lR ${STAGE_DIR}
-
-echo 'Creating debian package'
-${WORKSPACE}/dcae-apod-buildtools/scripts/package -b debian -d ${STAGE_DIR} \
- -o ${OUTPUT_DIR} -y package.json -B ${PACKAGE_BUILD_NUMBER} -v
-
-# The controller needs the debian packaged named
-# dcae-analytics-tca_17.01.0-LATEST.deb so it can find and deploy it.
-# In order to have a copy of each file built a copy of
-# dcae-analytics-tca_17.01.0-LATEST.deb will be made and it will have a
-# date stamp and build number on it.
-# For example: dcae-analytics-tca_17.01.0-YYYYMMDDHHMMSS-XXX.deb
-# Both files will then be uploaded to the repository.
-
-cp ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} ${OUTPUT_DIR}/${OUTPUT_FILE}
-
-echo 'Contents of output directory'
-ls -lR ${OUTPUT_DIR}
-
-SEND_TO="${REPO}/org.openecomp.dcae.apod.analytics/deb-snapshots/${OUTPUT_FILE}"
-echo "Sending ${OUTPUT_DIR}/${OUTPUT_FILE} to Nexus Repo: ${SEND_TO}"
-curl -vkn --netrc-file "${NETRC}" --upload-file ${OUTPUT_DIR}/${OUTPUT_FILE} ${SEND_TO}
-
-SEND_TO="${REPO}/org.openecomp.dcae.apod.analytics/deb-snapshots/${OUTPUT_FILE_DATE_STAMPED}"
-
-echo "Sending ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} to Nexus Repo: ${SEND_TO}"
-curl -vkn --netrc-file "${NETRC}" --upload-file ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} ${SEND_TO}
-
-echo '================== ENDING SCRIPT TO CREATE DEBIAN FILE ==================='
diff --git a/jjb/dcae/script-apod-analytics-verify.sh b/jjb/dcae/script-apod-analytics-verify.sh
deleted file mode 100755
index b696f2d1c..000000000
--- a/jjb/dcae/script-apod-analytics-verify.sh
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/bash
-#
-# Create a debian package and push to remote repo
-#
-set -x
-echo '================ STARTING SCRIPT TO CREATE DEBIAN FILE =================='
-
-# Extract the username and password and URL for the nexus repo"
-USER=$(xpath -q -e "//servers/server[id='ecomp-raw']/username/text()" "$SETTINGS_FILE")
-PASS=$(xpath -q -e "//servers/server[id='ecomp-raw']/password/text()" "$SETTINGS_FILE")
-REPO="${NEXUSPROXY}/content/sites/raw"
-
-#Create a netrc file for use with curl
-NETRC=$(mktemp)
-echo "machine nexus.openecomp.org login $USER password $PASS" > "$NETRC"
-
-#Write an envionment var for the netrc location since it's a temp file
-echo "NETRC=$NETRC" > "$WORKSPACE/netrc_env.txt"
-
-STAGE_DIR=${WORKSPACE}/package
-OUTPUT_DIR=${WORKSPACE}/package/output
-
-DATE_STAMP="$(date +"%Y%m%d%H%M%S")"
-PACKAGE_BUILD_NUMBER=${DATE_STAMP}
-PACKAGE_NAME_APPLICATION=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-dcae-analytics-tca.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["applicationName"]')
-PACKAGE_NAME_VERSION=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-dcae-analytics-tca.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["version"]')
-PACKAGE_GROUP_ID=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-dcae-analytics-tca.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["groupId"]')
-OUTPUT_FILE="${PACKAGE_NAME_APPLICATION}_${PACKAGE_NAME_VERSION}.deb"
-OUTPUT_FILE_DATE_STAMPED="${PACKAGE_NAME_APPLICATION}_${PACKAGE_NAME_VERSION}-${DATE_STAMP}.deb"
-
-echo 'Package variables:'
-echo " STAGE_DIR = ${STAGE_DIR}"
-echo " OUTPUT_DIR = ${OUTPUT_DIR}"
-echo " PACKAGE_BUILD_NUMBER = ${PACKAGE_BUILD_NUMBER}"
-echo " PACKAGE_NAME_APPLICATION = ${PACKAGE_NAME_APPLICATION}"
-echo " PACKAGE_NAME_VERSION = ${PACKAGE_NAME_VERSION}"
-echo " PACKAGE_GROUP_ID = ${PACKAGE_GROUP_ID}"
-echo " OUTPUT_FILE = ${OUTPUT_FILE}"
-echo " OUTPUT_FILE_DATE_STAMPED = ${OUTPUT_FILE_DATE_STAMPED}"
-
-echo 'Creating Staging and Output directories'
-rm -rf ${STAGE_DIR}
-rm -rf ${OUTPUT_DIR}
-mkdir -p ${STAGE_DIR}/stage/opt/app/cdap-apps
-mkdir -p ${OUTPUT_DIR}
-
-echo 'Copying jar file to stage'
-JAR_FILE=$(ls ${WORKSPACE}/dcae-analytics-tca/target/ | \
- grep dcae-analytics-tca- | grep -v javadoc | grep -v sources)
-
-cp ${WORKSPACE}/dcae-analytics-tca/target/${JAR_FILE} \
- ${STAGE_DIR}/stage/opt/app/cdap-apps
-
-echo 'Copying json file to stage'
-cp ${WORKSPACE}/dcae-apod-buildtools/configs/package-dcae-analytics-tca.json \
- ${STAGE_DIR}/package.json
-
-echo 'Contents of stage directory'
-ls -lR ${STAGE_DIR}
-
-echo 'Creating debian package'
-${WORKSPACE}/dcae-apod-buildtools/scripts/package -b debian -d ${STAGE_DIR} \
- -o ${OUTPUT_DIR} -y package.json -B ${PACKAGE_BUILD_NUMBER} -v
-
-# The controller needs the debian packaged named
-# dcae-analytics-tca_17.01.0-LATEST.deb so it can find and deploy it.
-# In order to have a copy of each file built a copy of
-# dcae-analytics-tca_17.01.0-LATEST.deb will be made and it will have a
-# date stamp and build number on it.
-# For example: dcae-analytics-tca_17.01.0-YYYYMMDDHHMMSS-XXX.deb
-# Both files will then be uploaded to the repository.
-# Verify script does not upload to Nexus repo.
-
-cp ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} ${OUTPUT_DIR}/${OUTPUT_FILE}
-
-echo 'Contents of output directory'
-ls -lR ${OUTPUT_DIR}
-
-echo '================ ENDING SCRIPT TO CREATE DEBIAN FILE ===================='
diff --git a/jjb/dcae/script-apod-cdap-daily-release.sh b/jjb/dcae/script-apod-cdap-daily-release.sh
deleted file mode 100755
index 49305bdc2..000000000
--- a/jjb/dcae/script-apod-cdap-daily-release.sh
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/bash
-# Create a debian package and push to remote repo
-#
-set -x
-echo '================= STARTING SCRIPT TO CREATE DEBIAN FILE ================='
-# Extract the username and password to the nexus repo from the settings file
-USER=$(xpath -q -e "//servers/server[id='ecomp-raw']/username/text()" "$SETTINGS_FILE")
-PASS=$(xpath -q -e "//servers/server[id='ecomp-raw']/password/text()" "$SETTINGS_FILE")
-REPO="${NEXUSPROXY}/content/sites/raw"
-
-#Create a netrc file for use with curl
-NETRC=$(mktemp)
-echo "machine nexus.openecomp.org login $USER password $PASS" > "$NETRC"
-
-
-#Write an envionment var for the netrc location since it's a temp file
-echo "NETRC=$NETRC" > "$WORKSPACE/netrc_env.txt"
-
-STAGE_DIR=${WORKSPACE}/package
-OUTPUT_DIR=${WORKSPACE}/package/output
-
-DATE_STAMP="$(date +"%Y%m%d%H%M%S")"
-PACKAGE_BUILD_NUMBER=${DATE_STAMP}
-PACKAGE_NAME_APPLICATION=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-cdap3vm.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["applicationName"]')
-PACKAGE_NAME_VERSION=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-cdap3vm.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["version"]')
-PACKAGE_GROUP_ID=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-cdap3vm.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["groupId"]')
-OUTPUT_FILE="${PACKAGE_NAME_APPLICATION}_${PACKAGE_NAME_VERSION}.deb"
-OUTPUT_FILE_DATE_STAMPED="${PACKAGE_NAME_APPLICATION}_${PACKAGE_NAME_VERSION}-${DATE_STAMP}.deb"
-
-echo 'Package variables:'
-echo " STAGE_DIR = ${STAGE_DIR}"
-echo " OUTPUT_DIR = ${OUTPUT_DIR}"
-echo " PACKAGE_BUILD_NUMBER = ${PACKAGE_BUILD_NUMBER}"
-echo " PACKAGE_NAME_APPLICATION = ${PACKAGE_NAME_APPLICATION}"
-echo " PACKAGE_NAME_VERSION = ${PACKAGE_NAME_VERSION}"
-echo " PACKAGE_GROUP_ID = ${PACKAGE_GROUP_ID}"
-echo " OUTPUT_FILE = ${OUTPUT_FILE}"
-echo " OUTPUT_FILE_DATE_STAMPED = ${OUTPUT_FILE_DATE_STAMPED}"
-
-echo 'Creating Staging and Output directories'
-rm -rf ${STAGE_DIR}
-rm -rf ${OUTPUT_DIR}
-mkdir -p ${STAGE_DIR}/stage/opt/app/dcae-cdap-small-hadoop
-mkdir -p ${OUTPUT_DIR}
-
-echo 'Copying files to stage'
-cp -R ${WORKSPACE}/cdap3vm/* ${STAGE_DIR}/stage/opt/app/dcae-cdap-small-hadoop
-
-echo 'Copying json file to stage'
-cp ${WORKSPACE}/dcae-apod-buildtools/configs/package-cdap3vm.json ${STAGE_DIR}/package.json
-
-echo 'Contents of stage directory'
-ls -lR ${STAGE_DIR}
-
-echo "Creating debian package"
-${WORKSPACE}/dcae-apod-buildtools/scripts/package -b debian -d ${STAGE_DIR} \
- -o ${OUTPUT_DIR} -y package.json -B ${PACKAGE_BUILD_NUMBER} -v
-
-# The controller needs the debian packaged named
-# dcae-cdap-small-hadoop_17.01.0-LATEST.deb so it can find and deploy it.
-# In order to have a copy of each file built a copy of
-# dcae-cdap-small-hadoop_17.01.0-LATEST.deb will be made and it will have a
-# date stamp and build number on it.
-# For example: dcae-cda-small-hadoop_17.01.0-YYYYMMDDHHMMSS-XXX.deb
-# Both files will then be uploaded to the repository.
-
-cp ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} ${OUTPUT_DIR}/${OUTPUT_FILE}
-
-echo "Contents of output directory"
-ls -lR ${OUTPUT_DIR}
-
-SEND_TO="${REPO}/org.openecomp.dcae.apod.cdap/deb-releases/${OUTPUT_FILE}"
-echo "Sending ${OUTPUT_DIR}/${OUTPUT_FILE} to Nexus: ${SEND_TO}"
-curl -vkn --netrc-file "${NETRC}" --upload-file ${OUTPUT_DIR}/${OUTPUT_FILE} ${SEND_TO}
-
-SEND_TO="${REPO}/org.openecomp.dcae.apod.cdap/deb-releases/${OUTPUT_FILE_DATE_STAMPED}"
-echo "Sending ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} to Nexus: ${SEND_TO}"
-curl -vkn --netrc-file "${NETRC}" --upload-file ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} ${SEND_TO}
-
-echo '================= ENDING SCRIPT TO CREATE DEBIAN FILE ==================='
diff --git a/jjb/dcae/script-apod-cdap-merge.sh b/jjb/dcae/script-apod-cdap-merge.sh
deleted file mode 100755
index 05e803255..000000000
--- a/jjb/dcae/script-apod-cdap-merge.sh
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/bash
-# Create a debian package and push to remote repo
-#
-set -x
-echo '================= STARTING SCRIPT TO CREATE DEBIAN FILE ================='
-# Extract the username and password to the nexus repo from the settings file
-USER=$(xpath -q -e "//servers/server[id='ecomp-raw']/username/text()" "$SETTINGS_FILE")
-PASS=$(xpath -q -e "//servers/server[id='ecomp-raw']/password/text()" "$SETTINGS_FILE")
-REPO="${NEXUSPROXY}/content/sites/raw"
-
-#Create a netrc file for use with curl
-NETRC=$(mktemp)
-echo "machine nexus.openecomp.org login $USER password $PASS" > "$NETRC"
-
-
-#Write an envionment var for the netrc location since it's a temp file
-echo "NETRC=$NETRC" > "$WORKSPACE/netrc_env.txt"
-
-STAGE_DIR=${WORKSPACE}/package
-OUTPUT_DIR=${WORKSPACE}/package/output
-
-DATE_STAMP="$(date +"%Y%m%d%H%M%S")"
-PACKAGE_BUILD_NUMBER=${DATE_STAMP}
-PACKAGE_NAME_APPLICATION=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-cdap3vm.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["applicationName"]')
-PACKAGE_NAME_VERSION=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-cdap3vm.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["version"]')
-PACKAGE_GROUP_ID=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-cdap3vm.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["groupId"]')
-OUTPUT_FILE="${PACKAGE_NAME_APPLICATION}_${PACKAGE_NAME_VERSION}.deb"
-OUTPUT_FILE_DATE_STAMPED="${PACKAGE_NAME_APPLICATION}_${PACKAGE_NAME_VERSION}-${DATE_STAMP}.deb"
-
-echo 'Package variables:'
-echo " STAGE_DIR = ${STAGE_DIR}"
-echo " OUTPUT_DIR = ${OUTPUT_DIR}"
-echo " PACKAGE_BUILD_NUMBER = ${PACKAGE_BUILD_NUMBER}"
-echo " PACKAGE_NAME_APPLICATION = ${PACKAGE_NAME_APPLICATION}"
-echo " PACKAGE_NAME_VERSION = ${PACKAGE_NAME_VERSION}"
-echo " PACKAGE_GROUP_ID = ${PACKAGE_GROUP_ID}"
-echo " OUTPUT_FILE = ${OUTPUT_FILE}"
-echo " OUTPUT_FILE_DATE_STAMPED = ${OUTPUT_FILE_DATE_STAMPED}"
-
-echo 'Creating Staging and Output directories'
-rm -rf ${STAGE_DIR}
-rm -rf ${OUTPUT_DIR}
-mkdir -p ${STAGE_DIR}/stage/opt/app/dcae-cdap-small-hadoop
-mkdir -p ${OUTPUT_DIR}
-
-echo 'Copying files to stage'
-cp -R ${WORKSPACE}/cdap3vm/* ${STAGE_DIR}/stage/opt/app/dcae-cdap-small-hadoop
-
-echo 'Copying json file to stage'
-cp ${WORKSPACE}/dcae-apod-buildtools/configs/package-cdap3vm.json ${STAGE_DIR}/package.json
-
-echo 'Contents of stage directory'
-ls -lR ${STAGE_DIR}
-
-echo "Creating debian package"
-${WORKSPACE}/dcae-apod-buildtools/scripts/package -b debian -d ${STAGE_DIR} \
- -o ${OUTPUT_DIR} -y package.json -B ${PACKAGE_BUILD_NUMBER} -v
-
-# The controller needs the debian packaged named
-# dcae-cdap-small-hadoop_17.01.0-LATEST.deb so it can find and deploy it.
-# In order to have a copy of each file built a copy of
-# dcae-cdap-small-hadoop_17.01.0-LATEST.deb will be made and it will have a
-# date stamp and build number on it.
-# For example: dcae-cda-small-hadoop_17.01.0-YYYYMMDDHHMMSS-XXX.deb
-# Both files will then be uploaded to the repository.
-
-cp ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} ${OUTPUT_DIR}/${OUTPUT_FILE}
-
-echo "Contents of output directory"
-ls -lR ${OUTPUT_DIR}
-
-SEND_TO="${REPO}/org.openecomp.dcae.apod.cdap/deb-snapshots/${OUTPUT_FILE}"
-echo "Sending ${OUTPUT_DIR}/${OUTPUT_FILE} to Nexus: ${SEND_TO}"
-curl -vkn --netrc-file "${NETRC}" --upload-file ${OUTPUT_DIR}/${OUTPUT_FILE} ${SEND_TO}
-
-SEND_TO="${REPO}/org.openecomp.dcae.apod.cdap/deb-snapshots/${OUTPUT_FILE_DATE_STAMPED}"
-
-echo "Sending ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} to Nexus: ${SEND_TO}"
-curl -vkn --netrc-file "${NETRC}" --upload-file ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} ${SEND_TO}
-
-echo '================= ENDING SCRIPT TO CREATE DEBIAN FILE ==================='
diff --git a/jjb/dcae/script-apod-cdap-verify.sh b/jjb/dcae/script-apod-cdap-verify.sh
deleted file mode 100755
index d3aa1ed8c..000000000
--- a/jjb/dcae/script-apod-cdap-verify.sh
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/bin/bash
-# Create a debian package and push to remote repo
-#
-set -x
-echo '================= STARTING SCRIPT TO CREATE DEBIAN FILE ================='
-# Extract the username and password to the nexus repo from the settings file
-USER=$(xpath -q -e "//servers/server[id='ecomp-raw']/username/text()" "$SETTINGS_FILE")
-PASS=$(xpath -q -e "//servers/server[id='ecomp-raw']/password/text()" "$SETTINGS_FILE")
-REPO="${NEXUSPROXY}/content/sites/raw"
-
-#Create a netrc file for use with curl
-NETRC=$(mktemp)
-echo "machine nexus.openecomp.org login $USER password $PASS" > "$NETRC"
-
-
-#Write an envionment var for the netrc location since it's a temp file
-echo "NETRC=$NETRC" > "$WORKSPACE/netrc_env.txt"
-
-STAGE_DIR=${WORKSPACE}/package
-OUTPUT_DIR=${WORKSPACE}/package/output
-
-DATE_STAMP="$(date +"%Y%m%d%H%M%S")"
-PACKAGE_BUILD_NUMBER=${DATE_STAMP}
-PACKAGE_NAME_APPLICATION=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-cdap3vm.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["applicationName"]')
-PACKAGE_NAME_VERSION=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-cdap3vm.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["version"]')
-PACKAGE_GROUP_ID=$( \
- cat ${WORKSPACE}/dcae-apod-buildtools/configs/package-cdap3vm.json | \
- python -c 'import json,sys;print json.load(sys.stdin)["groupId"]')
-OUTPUT_FILE="${PACKAGE_NAME_APPLICATION}_${PACKAGE_NAME_VERSION}.deb"
-OUTPUT_FILE_DATE_STAMPED="${PACKAGE_NAME_APPLICATION}_${PACKAGE_NAME_VERSION}-${DATE_STAMP}.deb"
-
-echo 'Package variables:'
-echo " STAGE_DIR = ${STAGE_DIR}"
-echo " OUTPUT_DIR = ${OUTPUT_DIR}"
-echo " PACKAGE_BUILD_NUMBER = ${PACKAGE_BUILD_NUMBER}"
-echo " PACKAGE_NAME_APPLICATION = ${PACKAGE_NAME_APPLICATION}"
-echo " PACKAGE_NAME_VERSION = ${PACKAGE_NAME_VERSION}"
-echo " PACKAGE_GROUP_ID = ${PACKAGE_GROUP_ID}"
-echo " OUTPUT_FILE = ${OUTPUT_FILE}"
-echo " OUTPUT_FILE_DATE_STAMPED = ${OUTPUT_FILE_DATE_STAMPED}"
-
-echo 'Creating Staging and Output directories'
-rm -rf ${STAGE_DIR}
-rm -rf ${OUTPUT_DIR}
-mkdir -p ${STAGE_DIR}/stage/opt/app/dcae-cdap-small-hadoop
-mkdir -p ${OUTPUT_DIR}
-
-echo 'Copying files to stage'
-cp -R ${WORKSPACE}/cdap3vm/* ${STAGE_DIR}/stage/opt/app/dcae-cdap-small-hadoop
-
-echo 'Copying json file to stage'
-cp ${WORKSPACE}/dcae-apod-buildtools/configs/package-cdap3vm.json ${STAGE_DIR}/package.json
-
-echo 'Contents of stage directory'
-ls -lR ${STAGE_DIR}
-
-echo "Creating debian package"
-${WORKSPACE}/dcae-apod-buildtools/scripts/package -b debian -d ${STAGE_DIR} \
- -o ${OUTPUT_DIR} -y package.json -B ${PACKAGE_BUILD_NUMBER} -v
-
-# The controller needs the debian packaged named
-# dcae-cdap-small-hadoop_17.01.0-LATEST.deb so it can find and deploy it.
-# In order to have a copy of each file built a copy of
-# dcae-cdap-small-hadoop_17.01.0-LATEST.deb will be made and it will have a
-# date stamp and build number on it.
-# For example: dcae-cda-small-hadoop_17.01.0-YYYYMMDDHHMMSS-XXX.deb
-# Both files will then be uploaded to the repository.
-# Verify script does not upload to Nexus
-
-cp ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} ${OUTPUT_DIR}/${OUTPUT_FILE}
-
-echo "Contents of output directory"
-ls -lR ${OUTPUT_DIR}
-
-echo '================= ENDING SCRIPT TO CREATE DEBIAN FILE ==================='