Content Deep Dive
Post-thread commands
Blog post from Semaphore
Post Details
Company
Date Published
Author
Aleksandar Diklic
Word Count
100
Language
English
Hacker News Points
-
Summary
A new feature has been introduced that allows users to execute commands at the end of each thread, regardless of whether the build commands succeed or fail. This can be set up by designating a command as "Post-thread" within the project's build settings. This functionality is particularly useful for tasks such as uploading assets to S3 or analyzing the test.log when troubleshooting failed scenarios. Additionally, a new environment variable called SEMAPHORE_THREAD_RESULT is available for these commands, indicating whether the thread passed or failed. Users interested in discussing the feature are encouraged to join the Discord community.