Add debug print of prevRefs to polling logic
This commit is contained in:
parent
8188bd391b
commit
63c0f83c16
|
@ -58,6 +58,10 @@ func pollJob(ctx context.Context, pipeline database.Pipeline, pipelineConf confi
|
|||
log.Errorf("Could not get pipeline refs from db: %v", err)
|
||||
return
|
||||
}
|
||||
log.Debugf("Got pipeline hashs for repo %v (id: %v)", pipeline.Name, pipeline.Id)
|
||||
for refName, hash := range prevRefs {
|
||||
log.Debugf("%v: %v: %v", pipeline.Id, refName, hash)
|
||||
}
|
||||
|
||||
repo, err := git.Clone(memory.NewStorage(), nil, &git.CloneOptions{
|
||||
URL: pipeline.Url,
|
||||
|
|
Loading…
Reference in New Issue