X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fautorelease%2Fupdate-autorelease-projects-views.sh;h=abfde5b9c66fa29e3f48571d3fe9bf091efbe96c;hb=298b6fd5d5aa20983d67eb90c0543094fa233dae;hp=87992153c98ba04f1cb5cfb9241cba30f4eebe43;hpb=5977e805e57da4ce9877ac5e4a5d38db7fef5abd;p=releng%2Fbuilder.git diff --git a/jjb/autorelease/update-autorelease-projects-views.sh b/jjb/autorelease/update-autorelease-projects-views.sh index 87992153c..abfde5b9c 100755 --- a/jjb/autorelease/update-autorelease-projects-views.sh +++ b/jjb/autorelease/update-autorelease-projects-views.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -l # SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2018 The Linux Foundation and others. @@ -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}" @@ -34,13 +35,16 @@ cat > "$VIEWS_AR_YAML_FILE" << EOF filter-executors: false filter-queue: false columns: - - status - - weather - - job - - last-success - - last-failure - - last-duration - - build-button + - status + - weather + - job + - last-success + - last-failure + - last-duration + - build-button + - jacoco + - find-bugs + - robot-list recurse: false - view: @@ -57,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"