metadata: name: gradleExecuteBuild description: This step runs a gradle build command with parameters provided to the step. longDescription: This step runs a gradle build command with parameters provided to the step. spec: inputs: params: - name: path aliases: - name: buildGradlePath deprecated: false type: string description: Path to the folder with build.gradle (or build.gradle.kts) file which should be executed. scope: - PARAMETERS - STAGES - STEPS mandatory: false - name: task type: string description: Gradle task that should be executed. scope: - PARAMETERS - STAGES - STEPS mandatory: false default: build - name: createBOM type: bool description: Creates the bill of materials (BOM) using CycloneDX plugin. scope: - GENERAL - STEPS - STAGES - PARAMETERS outputs: resources: - name: reports type: reports params: - filePattern: "**/bom.xml" type: sbom containers: - name: gradle image: gradle:6-jdk11-alpine