Skip to content

Commit 2dae391

Browse files
authored
ci: debug kokoro script (#1256)
* ci: debug kokoro script * fix: move settings.xml to root directory * fix: execute kokoro build from root repo directory
1 parent 633b987 commit 2dae391

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.kokoro/presubmit/downstream-build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set -eo pipefail
1818
## Get the directory of the build script
1919
scriptDir=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
2020
## cd to the parent directory, i.e. the root of the git repo
21-
cd "${scriptDir}/.."
21+
cd "${scriptDir}/../.."
2222

2323
if [ -z "${MODULES_UNDER_TEST}" ]; then
2424
echo "MODULES_UNDER_TEST must be set to run downstream-build.sh"
@@ -27,7 +27,7 @@ fi
2727

2828
# Use GCP Maven Mirror
2929
mkdir -p "${HOME}/.m2"
30-
cp .kokoro/settings.xml "${HOME}/.m2"
30+
cp settings.xml "${HOME}/.m2"
3131

3232
### Round 1
3333
# Publish this repo's modules to local maven to make them available for downstream libraries
File renamed without changes.

0 commit comments

Comments
 (0)