Gestionnaire de jobs et workflows
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
866 B

/*
------------------------------------------------------------------------------------------------------------------------
####### dune ####### Copyright (c) 2021 losyme ##################################################### MIT License #######
------------------------------------------------------------------------------------------------------------------------
*/
package demo
import "forge.chapril.org/dune/sdk/runner"
func (d *Demo) succeeded(_ *runner.Job) {
// nothing to do
}
func (d *Demo) failed(job *runner.Job) {
job.Failed().SetError("it's only a test")
}
func (d *Demo) panic(_ *runner.Job) {
panic("it's only a test") //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
}
/*
######################################################################################################## @(°_°)@ #######
*/