feat: provide task ID from semaphore_vars

This commit is contained in:
Cédric 2023-06-20 11:17:49 +02:00
parent b94cb98ca6
commit efdf4140f0

View File

@ -627,6 +627,8 @@ func (t *TaskRunner) getEnvironmentExtraVars() (str string, err error) {
taskDetails := make(map[string]interface{})
taskDetails["id"] = t.task.ID
if t.task.Message != "" {
taskDetails["message"] = t.task.Message
}