mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
feat: provide task ID from semaphore_vars
This commit is contained in:
parent
b94cb98ca6
commit
efdf4140f0
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user