jenkins: fetch only the named commit for compiler reviews
This commit is contained in:
parent
62ffc5663a
commit
670a12b03d
@ -57,8 +57,17 @@ data:
|
||||
remote {
|
||||
url('https://scm.bstein.dev/bstein/lesavka.git')
|
||||
credentials('gitea-pat')
|
||||
refspec('+$EXPECTED_SOURCE_REVISION:refs/remotes/origin/reviewed')
|
||||
}
|
||||
branches('$EXPECTED_SOURCE_REVISION')
|
||||
extensions {
|
||||
cloneOptions {
|
||||
shallow(true)
|
||||
depth(1)
|
||||
noTags(true)
|
||||
honorRefspec(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lightweight(false)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user