Skip to content

Instantly share code, notes, and snippets.

@joan38
Last active June 22, 2018 14:45
Show Gist options
  • Select an option

  • Save joan38/0c0cd9d7277eebbdf05a787bbf21a948 to your computer and use it in GitHub Desktop.

Select an option

Save joan38/0c0cd9d7277eebbdf05a787bbf21a948 to your computer and use it in GitHub Desktop.
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