From bc5892ef503dc4039aa0aae4043e5c9b2cc9a363 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Mon, 15 Apr 2019 21:09:11 +1000 Subject: [PATCH] Add missing script name markers Add missing script name markers useful in console logs. Change-Id: I3c0768d3d5def6258bb8a5e556d78b4836fa957e Signed-off-by: Anil Belur --- shell/comment-to-gerrit.sh | 2 +- shell/common-variables.sh | 2 +- shell/docker-login.sh | 2 +- shell/gerrit-branch-lock.sh | 1 + shell/gerrit-fetch-dependencies.sh | 1 + shell/gerrit-push-patch.sh | 1 + shell/git-validate-jira-urls.sh | 2 +- shell/maven-build-deps.sh | 2 +- shell/maven-build.sh | 2 +- shell/maven-central.sh | 1 + shell/maven-fetch-metadata.sh | 2 +- shell/maven-javadoc-generate.sh | 2 +- shell/maven-javadoc-publish.sh | 2 +- shell/maven-patch-release.sh | 2 +- shell/maven-sonar.sh | 2 +- shell/maven-stage.sh | 2 +- shell/nexus-iq-cli.sh | 2 +- shell/python-tools-install.sh | 1 + shell/release-announce.sh | 1 + shell/sonatype-clm.sh | 2 +- shell/update-java-alternatives.sh | 2 +- shell/whitesource-unified-agent-cli.sh | 2 +- 22 files changed, 22 insertions(+), 16 deletions(-) diff --git a/shell/comment-to-gerrit.sh b/shell/comment-to-gerrit.sh index b4d3d66a..90eadcef 100644 --- a/shell/comment-to-gerrit.sh +++ b/shell/comment-to-gerrit.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> comment-to-gerrit.sh" set -xe -o pipefail if [[ -e gerrit_comment.txt ]] ; then diff --git a/shell/common-variables.sh b/shell/common-variables.sh index 2b74fa5d..346eb727 100644 --- a/shell/common-variables.sh +++ b/shell/common-variables.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> common-variables.sh" # This file contains a list of variables that are generally useful in many # scripts. It is meant to be sourced in other scripts so that the variables can # be called. diff --git a/shell/docker-login.sh b/shell/docker-login.sh index cac51867..08ec941a 100644 --- a/shell/docker-login.sh +++ b/shell/docker-login.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> docker-login.sh" # Log into a custom hosted docker registry and / or docker.io # $DOCKER_REGISTRY : Optional diff --git a/shell/gerrit-branch-lock.sh b/shell/gerrit-branch-lock.sh index 64d6ec9c..f884c1d5 100644 --- a/shell/gerrit-branch-lock.sh +++ b/shell/gerrit-branch-lock.sh @@ -8,6 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## +echo "---> gerrit-branch-lock.sh" # Generates a patch to lock|unlock a branch in Gerrit # # Assumes that the project repository was cloned via ssh and thus uses ssh to diff --git a/shell/gerrit-fetch-dependencies.sh b/shell/gerrit-fetch-dependencies.sh index 30ba7c86..24542e90 100644 --- a/shell/gerrit-fetch-dependencies.sh +++ b/shell/gerrit-fetch-dependencies.sh @@ -8,6 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## +echo "---> gerrit-fetch-dependencies.sh" # Fetches patches all projects provided by comment trigger # # Takes a list of Gerrit patches and fetches all projects and cherry-pick diff --git a/shell/gerrit-push-patch.sh b/shell/gerrit-push-patch.sh index 43762775..e732b220 100644 --- a/shell/gerrit-push-patch.sh +++ b/shell/gerrit-push-patch.sh @@ -8,6 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## +echo "---> gerrit-push-patch.sh" # Push a change to Gerrit if files modified in repository. # # The script requires to install the minimum version 1.25 of git-review using diff --git a/shell/git-validate-jira-urls.sh b/shell/git-validate-jira-urls.sh index 0bc9d490..1a8f1ca1 100644 --- a/shell/git-validate-jira-urls.sh +++ b/shell/git-validate-jira-urls.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> git-validate-jira-urls.sh" # This script will make sure that there are no JIRA URLs in the commit # message. JIRA URLs will break the its-jira plugin diff --git a/shell/maven-build-deps.sh b/shell/maven-build-deps.sh index 8583d90a..c1c648b6 100644 --- a/shell/maven-build-deps.sh +++ b/shell/maven-build-deps.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> maven-build-deps.sh" # Builds projects provided via $DEPENDENCY_BUILD_ORDER list # # This runs a `mvn clean install` against all projects provided by a list. This diff --git a/shell/maven-build.sh b/shell/maven-build.sh index 1f619546..29de088e 100644 --- a/shell/maven-build.sh +++ b/shell/maven-build.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> maven-build.sh" # This script builds a Maven project and deploys it into a staging repo which # can be used to deploy elsewhere later eg. Nexus staging / snapshot repos. diff --git a/shell/maven-central.sh b/shell/maven-central.sh index dede18d4..da36d36f 100644 --- a/shell/maven-central.sh +++ b/shell/maven-central.sh @@ -8,6 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## +echo "---> maven-central.sh" profile_id="${OSSRH_PROFILE_ID:-}" diff --git a/shell/maven-fetch-metadata.sh b/shell/maven-fetch-metadata.sh index f07bb78e..270056f4 100644 --- a/shell/maven-fetch-metadata.sh +++ b/shell/maven-fetch-metadata.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> maven-fetch-metadata.sh" # Uses wget to fetch a project's maven-metadata.xml files from a Maven repository. # Check for "-f" maven param, indicating a change in pom location. diff --git a/shell/maven-javadoc-generate.sh b/shell/maven-javadoc-generate.sh index 7919242c..99590d64 100644 --- a/shell/maven-javadoc-generate.sh +++ b/shell/maven-javadoc-generate.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> maven-javadoc-generate.sh" # Generates javadoc in a Maven project. # DO NOT enable -u because $MAVEN_PARAMS and $MAVEN_OPTIONS could be unbound. diff --git a/shell/maven-javadoc-publish.sh b/shell/maven-javadoc-publish.sh index 9a5a3a4b..a3838ca2 100644 --- a/shell/maven-javadoc-publish.sh +++ b/shell/maven-javadoc-publish.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> maven-javadoc-publish.sh" # Publishes javadoc to a Maven project. # DO NOT enable -u because $MAVEN_PARAMS and $MAVEN_OPTIONS could be unbound. diff --git a/shell/maven-patch-release.sh b/shell/maven-patch-release.sh index d7c4577a..d6e90805 100644 --- a/shell/maven-patch-release.sh +++ b/shell/maven-patch-release.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> maven-patch-release.sh" # This script removes the -SNAPSHOT from a project to prepare it for release. PATCH_DIR="$WORKSPACE/archives/patches" diff --git a/shell/maven-sonar.sh b/shell/maven-sonar.sh index ae280b28..706697b1 100644 --- a/shell/maven-sonar.sh +++ b/shell/maven-sonar.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> maven-sonar.sh" # This script builds a Maven project and deploys it into a staging repo which # can be used to deploy elsewhere later eg. Nexus staging / snapshot repos. diff --git a/shell/maven-stage.sh b/shell/maven-stage.sh index 60949ace..fa890475 100644 --- a/shell/maven-stage.sh +++ b/shell/maven-stage.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> maven-stage.sh" # This script publishes artifacts to a staging repo in Nexus. # # $WORKSPACE/m2repo : Exists and used to deploy the staging repository. diff --git a/shell/nexus-iq-cli.sh b/shell/nexus-iq-cli.sh index 43021f82..dd621ae5 100644 --- a/shell/nexus-iq-cli.sh +++ b/shell/nexus-iq-cli.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> nexus-iq-cli.sh" # This script downloads nexus-iq-cli-1.44.0-01.jar and uses it to perform an # XC Evaluation or extended report which provides a scan of python files within # the repo diff --git a/shell/python-tools-install.sh b/shell/python-tools-install.sh index cded95cf..d652763c 100644 --- a/shell/python-tools-install.sh +++ b/shell/python-tools-install.sh @@ -8,6 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## +echo "---> python-tools-install.sh" set -eux -o pipefail diff --git a/shell/release-announce.sh b/shell/release-announce.sh index fd1afe60..af4ce693 100644 --- a/shell/release-announce.sh +++ b/shell/release-announce.sh @@ -8,6 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## +echo "---> release-announce.sh" PROJECT="${GERRIT_PROJECT#releng/}" # For releng projects strip the prefix TAG_NAME="${GERRIT_REFNAME#refs/tags/}" diff --git a/shell/sonatype-clm.sh b/shell/sonatype-clm.sh index 3be390dd..3642d512 100644 --- a/shell/sonatype-clm.sh +++ b/shell/sonatype-clm.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> sonatype-clm.sh" # This script builds a Maven project and deploys it into a staging repo which # can be used to deploy elsewhere later eg. Nexus staging / snapshot repos. diff --git a/shell/update-java-alternatives.sh b/shell/update-java-alternatives.sh index 69bf0195..063166de 100644 --- a/shell/update-java-alternatives.sh +++ b/shell/update-java-alternatives.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> update-java-alternatives.sh" # This script takes the java-version variable to set the proper alternative # for java, javac and java_sdk_openjdk for ubuntu or centos/fedora/redhat distros diff --git a/shell/whitesource-unified-agent-cli.sh b/shell/whitesource-unified-agent-cli.sh index 6cfba812..c092ad97 100644 --- a/shell/whitesource-unified-agent-cli.sh +++ b/shell/whitesource-unified-agent-cli.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> whitesource-unified-agent-cli.sh" # This script downloads wss-unified-agent-.jar and uses it to perform # a scan on the code whithin a repo based on the wss-unified-agent.config provided. -- 2.16.6