diff --git a/docs/index-all.html b/docs/index-all.html index f434f61..59b623c 100644 --- a/docs/index-all.html +++ b/docs/index-all.html @@ -139,15 +139,21 @@

B

C

+
calculateErrorTime(def) - Method in pipeline2ATX +
Determines the time until an error within the execution phase occurs.
+
calculateTime(def, def) - Method in pipeline2ATX +
Calculates the duration metrics and their percentages.
call(String) - Method in cmd
Executes a passed command on Linux Shell or Windows Batch depending on the node.
call(def, def, int, def, def) - Method in pipeline2ATX -
Generates a test.guide compatible JSON report of a pipeline build including logs and stage meta data. +
Generates a test.guide compatible JSON report of a pipeline build including logs, metrics, and stage meta data.
call(String, List, String, boolean, boolean) - Method in task
Process management for Windows (via Powershell) and Linux (via Shell).
cmd - Script in cmd
+
convertTimeValueToDouble(def) - Method in pipeline2ATX +
Converts a none null time value to a double with one decimal place.
crawlRows(def, def, def) - Method in pipeline2ATX
Crawls the current table row for corresponding test execution step items.
@@ -186,6 +192,8 @@

E

F

+
findNonPassedVerdict(def, def) - Method in pipeline2ATX +
Scans the verdicts value while traversing the stages of the pipeline build
@@ -193,27 +201,26 @@

F

G

-
generateJsonReport(def, def, def, def, def) - Method in pipeline2ATX +
generateJsonReport(def, def, def, def, def, def) - Method in pipeline2ATX
Generates a test.guide compatible JSON report of the pipeline build.
getBuildAttributes(def, def) - Method in pipeline2ATX -
Collects all relevant build information and parameter as a key-value-map: - - PRODUCT_NAME (content of the env var PRODUCT_NAME, only added if present) - - GIT_URL (content of env var GIT_URL, only added if present) - - JENKINS_PIPELINE (name of the current Jenkins build job) - - JENKINS_URL (url to the current Jenkins build job) - - JENKINS_WORKSPACE (path to the Jenkins pipeline workspace) - - TEST_LEVEL (content of env var TEST_LEVEL, only added if present)
+
Collects all relevant build information and parameters as a key-value map: +
    +
  • PRODUCT_NAME: Content of the env var PRODUCT_NAME, only added if present.
getBuildConstants(def, def) - Method in pipeline2ATX -
Collects all relevant build information and parameter as a key-value-map: - - PRODUCT_VERSION (content of env var PRODUCT_VERSION, only added if present) - - GIT_COMMIT (content of env var GIT_COMMIT, only added if present) - - JENKINS_BUILD_ID (number of current Jenkins build) - - JENKINS_EXECUTOR_NUMBER (number of currecnt Jenkins executor) - - JENKINS_NODE_NAME (name of current node the current build is running on)
+
Collects all relevant build information and parameters as a key-value map: +
    +
  • PRODUCT_VERSION: Content of env var PRODUCT_VERSION, only added if present.
+
getBuildMetrics(def, def) - Method in pipeline2ATX +
Collects all relevant build metrics information and parameters as a key-value map: +
    +
  • TOTAL_EXECUTION_TIME: Full run time of the build in seconds.
getColorCode(String) - Method in log
Returns the ANSI code for a given color.
getConsoleLog(def) - Method in pipeline2ATX
Gets the console log.
+
getCurrentPhase(def, def) - Method in pipeline2ATX +
Determines the respective phase of the stage being examined.
getCurrentResult(def) - Method in pipeline2ATX
Gets the current build result.
getDescription(def) - Method in pipeline2ATX @@ -237,6 +244,8 @@

G

Returns the ANSI code for a given style.
getTestStepName(def) - Method in pipeline2ATX
Creates the test step name by combining the row name with its arguments
+
getTimeFromCommitToStart(def) - Method in pipeline2ATX +
Determines the time from commit to start of the build
diff --git a/docs/vars/pipeline2ATX.html b/docs/vars/pipeline2ATX.html index 4066b86..649336d 100644 --- a/docs/vars/pipeline2ATX.html +++ b/docs/vars/pipeline2ATX.html @@ -138,64 +138,95 @@

Methods Summary

java.lang.Object - call(java.lang.Object log = false, java.lang.Object jobName = '', int buildNumber = 0, java.lang.Object customAttributes = [:], java.lang.Object customConstants = [:])
Generates a test.guide compatible JSON report of a pipeline build including logs and stage meta data. + calculateErrorTime(java.lang.Object executionTestSteps)
Determines the time until an error within the execution phase occurs. + + + + + java.lang.Object + calculateTime(java.lang.Object executionTestSteps, java.lang.Object build)
Calculates the duration metrics and their percentages. + + + + + java.lang.Object + call(java.lang.Object log = false, java.lang.Object jobName = '', int buildNumber = 0, java.lang.Object customAttributes = [:], java.lang.Object customConstants = [:])
Generates a test.guide compatible JSON report of a pipeline build including logs, metrics, and stage meta data. + + java.lang.Object + convertTimeValueToDouble(java.lang.Object value)
Converts a none null time value to a double with one decimal place. + + + java.lang.Object crawlRows(java.lang.Object row, java.lang.Object appendLogs, java.lang.Object insideStage = false)
Crawls the current table row for corresponding test execution step items. - + java.lang.Object createTestStep(java.lang.Object row, java.lang.Object appendLogs, java.lang.Object skipped = false)
Create a test step item from the current pipeline step. - + java.lang.Object createTestStepFolder(java.lang.Object row, java.lang.Object appendLogs)
Create a test step folder item from the current pipeline step. + + + java.lang.Object + findNonPassedVerdict(java.lang.Object steps, java.lang.Object accumulatedTime)
Scans the verdicts value while traversing the stages of the pipeline build + + java.lang.Object - generateJsonReport(java.lang.Object build, java.lang.Object attributes, java.lang.Object constants, java.lang.Object executionTestSteps, java.lang.Object logFile)
Generates a test.guide compatible JSON report of the pipeline build. + generateJsonReport(java.lang.Object build, java.lang.Object attributes, java.lang.Object constants, java.lang.Object executionTestSteps, java.lang.Object parameters, java.lang.Object logFile)
Generates a test.guide compatible JSON report of the pipeline build. java.lang.Object - getBuildAttributes(java.lang.Object build, java.lang.Object customAttributes)
Collects all relevant build information and parameter as a key-value-map: - - PRODUCT_NAME (content of the env var PRODUCT_NAME, only added if present) - - GIT_URL (content of env var GIT_URL, only added if present) - - JENKINS_PIPELINE (name of the current Jenkins build job) - - JENKINS_URL (url to the current Jenkins build job) - - JENKINS_WORKSPACE (path to the Jenkins pipeline workspace) - - TEST_LEVEL (content of env var TEST_LEVEL, only added if present) + getBuildAttributes(java.lang.Object build, java.lang.Object customAttributes)
Collects all relevant build information and parameters as a key-value map: +

+ - the number of the pipeline build (optional)
customAttributes + - the custom attributes for the pipline build (optional)
customConstants + - the custom constants for the pipeline build (optional)

+ + + + + @@ -376,16 +446,28 @@

@com.cloudbees.groovy.cps.NonCPS - + + + + @@ -394,15 +476,17 @@

java.lang.Object generateJsonReport(java.lang.Object build,