Merge "Fix autorelease generated view file name"
authorAnil Belur <abelur@linuxfoundation.org>
Fri, 31 May 2019 01:15:29 +0000 (01:15 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 31 May 2019 01:15:29 +0000 (01:15 +0000)
jjb/autorelease/update-autorelease-projects-views.sh

index e34bb6d55b35f1e17ec99ef89f47fc5989d466b5..b3cfe9036f6f449385b50a3689bf86b8074967d1 100755 (executable)
@@ -8,6 +8,7 @@
 # which accompanies this distribution, and is available at
 # http://www.eclipse.org/legal/epl-v10.html
 ##############################################################################
+echo "---> update-autorelease-projects-views.sh"
 
 VIEWS_AR_YAML_FILE="${WORKSPACE}/jjb/autorelease/view-autorelease-${STREAM}.yaml"
 BRANCH="stable/${STREAM}"
@@ -60,4 +61,5 @@ echo "    <<: *releng_autorelease_view_common_${STREAM}" >> "$VIEWS_AR_YAML_FILE
 
 git add "${VIEWS_AR_YAML_FILE}"
 
-cp "${VIEWS_AR_YAML_FILE}" $WORKSPACE/archives
+mkdir -p ${WORKSPACE}/archives
+cp "${VIEWS_AR_YAML_FILE}" ${WORKSPACE}/archives