Last active
June 22, 2018 14:45
-
-
Save joan38/0c0cd9d7277eebbdf05a787bbf21a948 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| object PublishBackend { | |
| lazy val board = JobBoard[(GitRef, Boolean) => String](JobId("publishBackend"), "Publish Backend")( | |
| Input[GitRef]("Git ref"), | |
| Checkbox("Run checks") | |
| ) | |
| lazy val job = Job(board) { implicit workDir => (gitRef, runChecks) => | |
| Await.result(PublishBackend(gitRef, runChecks), 1.hour) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment