name: autorelease-checkout-gerrit-patch
builders:
- shell: |
- #!/bin/bash
+ #!/bin/bash -l
set -eu -o pipefail
# If the project is autorelease then we do not need to cd
name: autorelease-determine-merge-order
builders:
- shell: |
+ #!/bin/bash -l
virtualenv --system-site-packages $WORKSPACE/venv
source $WORKSPACE/venv/bin/activate
PYTHON="$WORKSPACE/venv/bin/python"
- $PYTHON -m pip install --upgrade "pip<10.0.0" setuptools
$PYTHON -m pip install --upgrade networkx
$PYTHON -m pip freeze
./scripts/determine-merge-order.py
builders:
- integration-set-variables
- shell: |
- #!/bin/bash
+ #!/bin/bash -l
set +e # DO NOT fail build if copying fails.
cp -vf "$WORKSPACE/archives/patches/taglist.log" \
# Generate versions.csv containing version of all mvn artifacts in this build.
builders:
- shell: |
- #!/bin/bash
+ #!/bin/bash -l
set -eu -o pipefail
./scripts/generate-artifact-versions.sh
mkdir -p "$WORKSPACE/archives"
-#!/bin/bash
+#!/bin/bash -l
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2015 The Linux Foundation and others.
- timed: '{cron}'
builders:
+ - lf-infra-pre-build
# force jenkins install of maven version before any shell scripts use it
- lf-maven-install:
mvn-version: '{mvn-version}'
- timed: '{obj:cron}'
builders:
+ - lf-infra-pre-build
# Fetch latest head of branch
- shell: |
git checkout $GERRIT_BRANCH
jenkins-ssh-credential: opendaylight-jenkins-ssh
builders:
+ - lf-infra-pre-build
- autorelease-update-project-views
- autorelease-update-validate-projects
- lf-infra-push-gerrit-patch:
jenkins-ssh-credential: opendaylight-jenkins-ssh
builders:
+ - lf-infra-pre-build
# force jenkins install of maven version before any shell scripts use it
- maven-target:
maven-version: mvn35
global-settings-type: cfp
- autorelease-cfp
- shell: !include-raw-escape:
- - ../global-jjb/shell/lftools-install.sh
- version-bump.sh
publishers:
branch-pattern: '**/{branch}'
builders:
+ - lf-infra-pre-build
- autorelease-generate-release-notes
publishers:
-#!/bin/bash
+#!/bin/bash -l
# @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
##############################################################################
# Copyright (c) 2017 The Linux Foundation and others.
-#!/bin/bash
+#!/bin/bash -l
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2018 The Linux Foundation and others.
-#!/bin/bash -x
+#!/bin/bash -l
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2017 The Linux Foundation and others.
# This script generates Service Release notes and appends them to the release
# notes in the docs project and submits a patch.
+set -x
+
RELEASE=${RELEASE:-$(echo "$GERRIT_EVENT_COMMENT_TEXT" | grep generate-release-notes | awk '{print $2}')}
if [ -z "$RELEASE" ]; then
echo "ERROR: The RELEASE variable is not set."
-#!/bin/bash
+#!/bin/bash -l
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2017 The Linux Foundation and others.
-#!/bin/bash
+#!/bin/bash -l
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2018 The Linux Foundation and others.
-#!/bin/bash
+#!/bin/bash -l
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2017 - 2018 The Linux Foundation and others.
-#!/bin/bash
+#!/bin/bash -l
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2017 The Linux Foundation and others.