+ - shell: |
+ #!/bin/bash
+ set -exu
+ # Run java tests only on 'linuxbuild' and 'slesbuild' jobs
+ if [ "{buildtype}" = "linuxbuild" ] || [ "{buildtype}" = "slesbuild" ]; then
+ echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=yes" >> env.properties
+ else
+ echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=no" >> env.properties
+ fi
+ if [ "{buildtype}" = "slesbuild" ] ; then
+ echo "TAP_AUTOTIME=0" >> env.properties
+ fi
+ - inject:
+ properties-file: env.properties