feat(cron): added debug log on build_repo failure
ci/woodpecker/push/build_experimental unknown status
Details
ci/woodpecker/push/lint unknown status
Details
ci/woodpecker/push/test unknown status
Details
ci/woodpecker/push/docs Pipeline was successful
Details
ci/woodpecker/push/arch Pipeline was successful
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/docker Pipeline was successful
Details
ci/woodpecker/push/deploy Pipeline was successful
Details
ci/woodpecker/push/build_experimental unknown status
Details
ci/woodpecker/push/lint unknown status
Details
ci/woodpecker/push/test unknown status
Details
ci/woodpecker/push/docs Pipeline was successful
Details
ci/woodpecker/push/arch Pipeline was successful
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/docker Pipeline was successful
Details
ci/woodpecker/push/deploy Pipeline was successful
Details
parent
c5161cac37
commit
03318586ed
|
@ -77,7 +77,10 @@ fn (mut d Daemon) run_build(build_index int, sb ScheduledBuild) {
|
||||||
// 0 means success, 1 means failure
|
// 0 means success, 1 means failure
|
||||||
mut status := 0
|
mut status := 0
|
||||||
|
|
||||||
build.build_repo(d.address, d.api_key, d.builder_images.last(), &sb.repo) or { status = 1 }
|
build.build_repo(d.address, d.api_key, d.builder_images.last(), &sb.repo) or {
|
||||||
|
d.ldebug('build_repo error: $err.msg()')
|
||||||
|
status = 1
|
||||||
|
}
|
||||||
|
|
||||||
if status == 0 {
|
if status == 0 {
|
||||||
d.linfo('finished build: $sb.repo.url $sb.repo.branch')
|
d.linfo('finished build: $sb.repo.url $sb.repo.branch')
|
||||||
|
|
Loading…
Reference in New Issue