feat: waterfall
Some checks reported errors
Personal/PersonalMain-Golang/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
Personal/PersonalMain-Golang/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
9c1afa1b18
commit
a4f0f020ce
21
Jenkinsfile
vendored
Normal file
21
Jenkinsfile
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
pipeline {
|
||||
environment {
|
||||
QODANA_TOKEN=credentials('qodana-token')
|
||||
}
|
||||
agent {
|
||||
docker {
|
||||
args '''
|
||||
-v "${WORKSPACE}":/data/project
|
||||
--entrypoint=""
|
||||
'''
|
||||
image 'jetbrains/qodana-go'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('Qodana') {
|
||||
steps {
|
||||
sh '''qodana'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -202,6 +202,8 @@ func (*SponsorServiceImpl) DeleteSponsor(req *ghttp.Request, entity entity.Spons
|
||||
} else {
|
||||
ResultUtil.ErrorNoData(req, ErrorCode.ServerDatabaseInteriorError)
|
||||
}
|
||||
} else {
|
||||
ResultUtil.ErrorNoData(req, ErrorCode.NoSponsor)
|
||||
}
|
||||
} else {
|
||||
ResultUtil.ErrorNoData(req, ErrorCode.NoPermission)
|
||||
|
Loading…
x
Reference in New Issue
Block a user