mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-03-09 10:47:35 -04:00
fix always true condition
This commit is contained in:
@@ -373,7 +373,7 @@ def uploadCoverage(ctx):
|
||||
'from_secret': 'sonar_token',
|
||||
},
|
||||
}
|
||||
if True or ctx.build.event == 'pull_request':
|
||||
if ctx.build.event == 'pull':
|
||||
sonar_env.update({
|
||||
'SONAR_PULL_REQUEST_BASE': '%s' % (ctx.build.target),
|
||||
'SONAR_PULL_REQUEST_BRANCH': '%s' % (ctx.build.source),
|
||||
|
||||
Reference in New Issue
Block a user