Remove fmt and vet checks from CI (#13063)
* Remove fmt and vet checks from CI - golangci-lint already does the vet and fmt checks. Remove those as it is redundant now. - Also start running golangci-lint as part of the CI pipeline now just as an extra layer of reliability. * Incorporate review comments * Adding golangci install to Jenkinsfile.pr too * dummy commit to test jenkins * Trying after cd to directory * Fix ineffective assign
Этот коммит содержится в:
коммит произвёл
Carlos Tadeu Panato Junior
родитель
8c22455d41
Коммит
3f072159e3
@@ -100,6 +100,8 @@ pipeline {
|
||||
ansiColor('xterm') {
|
||||
sh """
|
||||
cd /go/src/github.com/mattermost/mattermost-server
|
||||
echo "Installing golangci-lint"
|
||||
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b /usr/local/bin v1.21.0
|
||||
make config-reset
|
||||
make check-style BUILD_NUMBER='${BRANCH_NAME}-${BUILD_NUMBER}'
|
||||
make build BUILD_NUMBER='${BRANCH_NAME}-${BUILD_NUMBER}'
|
||||
|
||||
Ссылка в новой задаче
Block a user