mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-22 22:34:49 -04:00
Merge pull request #695 from owncloud/drone-hotfix
[Tests-Only] Fix .drone.star syntax
This commit is contained in:
1 file changed
+3
-3
+3
-3
@@ -293,9 +293,9 @@ def uploadCoverage(ctx):
|
||||
'SONAR_TOKEN': {
|
||||
'from_secret': 'sonar_token',
|
||||
},
|
||||
'SONAR_PULL_REQUEST_BASE': 'master' if ctx.build.event == 'pull_request' else None,
|
||||
'SONAR_PULL_REQUEST_BRANCH': ctx.build.source if ctx.build.event == 'pull_request' else None,
|
||||
'SONAR_PULL_REQUEST_KEY': ctx.build.ref.replace("refs/pull/", "").split("/")[0] if ctx.build.event == 'pull_request' else None,
|
||||
'SONAR_PULL_REQUEST_BASE': '%s' % ('master' if ctx.build.event == 'pull_request' else None),
|
||||
'SONAR_PULL_REQUEST_BRANCH': '%s' % (ctx.build.source if ctx.build.event == 'pull_request' else None),
|
||||
'SONAR_PULL_REQUEST_KEY': '%s' % (ctx.build.ref.replace("refs/pull/", "").split("/")[0] if ctx.build.event == 'pull_request' else None),
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user