jenkins: fetch only the named commit for compiler reviews

This commit is contained in:
Brad Stein 2026-12-05 10:07:18 -06:00
parent 62ffc5663a
commit 670a12b03d

View File

@ -57,8 +57,17 @@ data:
remote { remote {
url('https://scm.bstein.dev/bstein/lesavka.git') url('https://scm.bstein.dev/bstein/lesavka.git')
credentials('gitea-pat') credentials('gitea-pat')
refspec('+$EXPECTED_SOURCE_REVISION:refs/remotes/origin/reviewed')
} }
branches('$EXPECTED_SOURCE_REVISION') branches('$EXPECTED_SOURCE_REVISION')
extensions {
cloneOptions {
shallow(true)
depth(1)
noTags(true)
honorRefspec(true)
}
}
} }
} }
lightweight(false) lightweight(false)