You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-09-16 09:26:22 +02:00
docs: remove hadolint docs in Groovy (#3164)
* allow buildTool yarn * remove groovy docs for hadolint * remove unused import
This commit is contained in:
committed by
GitHub
parent
59cf4d1096
commit
f585e932ef
@@ -1,34 +1,20 @@
|
||||
import static com.sap.piper.Prerequisites.checkScript
|
||||
import com.sap.piper.GenerateDocumentation
|
||||
import com.sap.piper.ConfigurationHelper
|
||||
import com.sap.piper.JenkinsUtils
|
||||
import com.sap.piper.Utils
|
||||
import groovy.transform.Field
|
||||
|
||||
@Field def STEP_NAME = getClass().getName()
|
||||
@Field String STEP_NAME = getClass().getName()
|
||||
@Field String METADATA_FILE = 'metadata/hadolint.yaml'
|
||||
|
||||
@Field Set GENERAL_CONFIG_KEYS = []
|
||||
@Field Set STEP_CONFIG_KEYS = GENERAL_CONFIG_KEYS.plus([
|
||||
/**
|
||||
* Quality Gates to fail the build, see [warnings-ng plugin documentation](https://github.com/jenkinsci/warnings-plugin/blob/master/doc/Documentation.md#quality-gate-configuration).
|
||||
*/
|
||||
'qualityGates',
|
||||
/**
|
||||
* Name of the result file used locally within the step.
|
||||
*/
|
||||
'reportFile',
|
||||
/**
|
||||
* Name of the checkstyle report being generated our of the results.
|
||||
*/
|
||||
'reportName'
|
||||
])
|
||||
@Field Set PARAMETER_KEYS = STEP_CONFIG_KEYS
|
||||
/**
|
||||
* Executes the Haskell Dockerfile Linter which is a smarter Dockerfile linter that helps you build [best practice](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/) Docker images.
|
||||
* The linter is parsing the Dockerfile into an abstract syntax tree (AST) and performs rules on top of the AST.
|
||||
*/
|
||||
@GenerateDocumentation
|
||||
|
||||
void call(Map parameters = [:]) {
|
||||
final script = checkScript(this, parameters) ?: null
|
||||
List credentialInfo = [
|
||||
|
Reference in New Issue
Block a user