X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fautorelease%2Fupdate-autorelease-projects-views.sh;h=b3cfe9036f6f449385b50a3689bf86b8074967d1;hb=refs%2Fchanges%2F73%2F82273%2F3;hp=87992153c98ba04f1cb5cfb9241cba30f4eebe43;hpb=f9339d2274fe3e2f8249bc2396c1f869435f9270;p=releng%2Fbuilder.git diff --git a/jjb/autorelease/update-autorelease-projects-views.sh b/jjb/autorelease/update-autorelease-projects-views.sh index 87992153c..b3cfe9036 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: @@ -51,10 +55,11 @@ EOF for module in "${modules[@]}"; do echo "Include project:$module to autorelease view" - echo " - '$module-maven-merge-${STREAM}'" >> "$VIEWS_AR_YAML_FILE" + echo " - '$module-merge-${STREAM}'" >> "$VIEWS_AR_YAML_FILE" done 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