Log checkout so SHA is known
This commit changes the task type of the checkoutBwcBranch task to Exec from LoggedExec so that the output of the checkout command is shown. This enables us to see the SHA used for the checkout which can be useful when debugging a BWC break. Relates #25166
This commit is contained in:
parent
3405badfb1
commit
a7a3af6f48
|
@ -101,7 +101,8 @@ if (enabled) {
|
||||||
commandLine = ['git', 'fetch', 'upstream']
|
commandLine = ['git', 'fetch', 'upstream']
|
||||||
}
|
}
|
||||||
|
|
||||||
task checkoutBwcBranch(type: LoggedExec) {
|
// this is an Exec task so that the SHA that is checked out is logged
|
||||||
|
task checkoutBwcBranch(type: Exec) {
|
||||||
dependsOn fetchLatest
|
dependsOn fetchLatest
|
||||||
workingDir = checkoutDir
|
workingDir = checkoutDir
|
||||||
commandLine = ['git', 'checkout', "upstream/${bwcBranch}"]
|
commandLine = ['git', 'checkout', "upstream/${bwcBranch}"]
|
||||||
|
|
Loading…
Reference in New Issue