#!/bin/bash

cd /tests
ruby all_tests.rb 2>&1 | tee artifacts/log-`date +%Y-%m-%d-%H-%M-%S`.txt ; test ${PIPESTATUS[0]} -eq 0

#!/bin/bash

cd /tests
ruby all_tests.rb 2>&1 | tee artifacts/`date +%Y-%m-%d-%H-%M-%S`-log.txt ; test ${PIPESTATUS[0]} -eq 0

Change the name of the log in the artifacts
Change the name of the log in the artifacts
