7 Oct 2013 · Semaphore News

    Post-thread commands

    1 min read
    Contents

    We’ve rolled out a new feature that lets you run commands at the end of each thread, regardless of whether build commands passed or failed.

    Post-thread command on Semaphore

    To set it up simply set a command to “Post-thread” in your project’s build settings.

    This is great when you need to, for example, upload assets to S3 or tail the test.log when you’re not sure why a certain spec or scenario failed.

    There is also a new environment variable available to these commands: SEMAPHORE_THREAD_RESULT. It can hold the value of either “passed” or “failed”.

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Avatar
    Writen by: