-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
new featurecompletely new feature / not an update to existing onecompletely new feature / not an update to existing one
Milestone
Description
imagine:
boolean canRun() {
return conditions.always()
}
void doRun() {
def output = outputs.file { // or outputs.data() {
label = "Report"
description = "Users report generated as CSV file"
downloadFileName = "report.csv"
}
def users = [] // outsourced
for (def user : users) {
output.println("${user.name};${user.surname};${user.birth}") // John;Doe;1991
}
}
that will cause that GUI will display download buttons for "report.csv" on the execution view
If output ID is skipped then "default" is assumed
to have consistent API logically arguments
will be renamed to inputs
so it will be breaking change (this should be the last breaking change before 1.0.0 planned soon)
Metadata
Metadata
Assignees
Labels
new featurecompletely new feature / not an update to existing onecompletely new feature / not an update to existing one