hi guys.
i’m having a issue in the pipe sonarcloud-quality-gate
i use bit bucket cloud and need validate the quality gate status
this is my pipeline
image: maven:3.3.9
pipelines:
default:
- step:
name: maven compile
script:
- mvn -B clean verify
- pipe: sonarsource/sonarcloud-scan:1.1.0
variables:
SONAR_TOKEN: 'a6a74d191bc3104cb8114d3742af93756d730e5e'
EXTRA_ARGS: '-Dsonar.java.binaries=./target/classes'
SONAR_SCANNER_OPTS: '-Xmx512m'
DEBUG: 'false'
- pipe: sonarsource/sonarcloud-quality-gate:0.1.3
variables:
SONAR_TOKEN: 'a6a74d191bc3104cb8114d3742af93756d730e5e'
SONAR_QUALITY_GATE_TIMEOUT: '180'
and the error is only:
✖ Unknown error: unsupported operand type(s) for //: 'str' and 'int'
the local test of code pipe.py is successful
share the log and the file of destination of sonar scan PIPE
pipelineLog-4.txt (152.4 KB)
artifact.zip (4.3 KB)