Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
build: fix log location (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and chingor13 committed Oct 17, 2019
1 parent d4655bd commit 874ea81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .kokoro/coerce_logs.sh
Expand Up @@ -23,12 +23,14 @@ scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}"))
## cd to the parent directory, i.e. the root of the git repo
cd ${scriptDir}/..

job=$(basename ${KOKORO_JOB_NAME})

echo "coercing sponge logs..."
for xml in `find . -name *-sponge_log.xml`
do
echo "processing ${xml}"
class=$(basename ${xml} | cut -d- -f2)
dir=$(dirname ${xml})/${class}
dir=$(dirname ${xml})/${job}/${class}
text=$(dirname ${xml})/${class}-sponge_log.txt
mkdir -p ${dir}
mv ${xml} ${dir}/sponge_log.xml
Expand Down
2 changes: 1 addition & 1 deletion synth.metadata
@@ -1,5 +1,5 @@
{
"updateTime": "2019-10-17T18:13:16.046484Z",
"updateTime": "2019-10-17T20:28:41.042608Z",
"sources": [
{
"generator": {
Expand Down

0 comments on commit 874ea81

Please sign in to comment.