
Add marker correctly, we cannot redirect in tox.ini, thus need a shell script to do the redirects. This adds a new shell script to just add a marker call add-marker.sh Change-Id: I76cd140ad5ac1fb2163a11ab760134256b04f8dd
12 lines
268 B
Bash
Executable File
12 lines
268 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ $# != 1 ]] ; then
|
|
echo "Pass directory to add marker to as single paramter"
|
|
exit 1
|
|
fi
|
|
|
|
# This marker is needed for infra publishing
|
|
MARKER_TEXT="Project: $ZUUL_PROJECT Ref: $ZUUL_REFNAME Build: $ZUUL_UUID"
|
|
|
|
echo $MARKER_TEXT > $1/.root-marker
|