Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow result of tasks to be used as variables #26

Merged

Conversation

pythonandchips
Copy link
Owner

@pythonandchips pythonandchips commented Jul 8, 2018

Tasks can now return a map of values as a result that can be used as
variables for subsiquante tasks.

Variables can be accessed within a task as ${ name-of-task.return-value-name}

In order to allow for other tasks to use the variables from other tasks
the evaluation of tasks have been moved to just before they are run.
Also the returned variables are tied to the runner for those tasks so
that different servers will have different list of results based on
there own environment

@pythonandchips pythonandchips force-pushed the allow-result-of-tasks-to-be-used-as-variables branch from 5ffa0d0 to c32392e Compare July 8, 2018 22:41
Tasks can now return a map of values as a result that can be used as
variables for subsiquante tasks.

Variables can be accessed within a task as `${
name-of-task.return-value-name}`

In order to allow for other tasks to use the variables from other tasks
the evaluation of tasks have been moved to just before they are run.
Also the returned variables are tied to the  runner for those tasks so
that different servers will have different list of results based on
there own environment
@pythonandchips pythonandchips force-pushed the allow-result-of-tasks-to-be-used-as-variables branch from c32392e to fcc3bc1 Compare July 9, 2018 17:21
@pythonandchips pythonandchips merged commit bc32c8a into master Jul 9, 2018
@pythonandchips pythonandchips deleted the allow-result-of-tasks-to-be-used-as-variables branch July 9, 2018 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant