-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improved status reporting (fixes #37)
- Loading branch information
1 parent
17c4ff3
commit 5f1e8a1
Showing
6 changed files
with
128 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
|
||
## Joblist v0.6 | ||
|
||
|
||
* Implement idomatic way to output err-logs of failed jobs (fixed [#37](https://github.com/holgerbrandl/joblist/issues/37)). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
|
||
// tbd convert into test | ||
|
||
import joblist._ | ||
|
||
|
||
val jl = JobList() | ||
jl.reset() | ||
|
||
jl.run(JobConfiguration("ll does_not_exist")) | ||
jl.run(JobConfiguration("echo bar")) | ||
jl.run(JobConfiguration("echo 'this failed >&2; exit 1")) | ||
jl.printStatus() | ||
|
||
// block execution until are jobs are done | ||
jl.waitUntilDone() | ||
|
||
|
||
//JobListCLI.main(("wait --resubmit_retry " + jl.file.pathAsString).split(" ")) | ||
JobListCLI.main("status --failed".split(" ")) | ||
JobListCLI.main(Array("status")) | ||
|
||
new java.io.File(".").getCanonicalPath() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters