From 9a0d5368ad2a08e773a51340f174c06e7f6c72b0 Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Mon, 17 Dec 2018 12:42:34 -0500 Subject: Refactor (#27) * Functionize test report processing. * New local config_name var. * Functionize artifactory stage * Functionize build_and_test * Functionize conda package handling * index -> config_idx in function * Functionize env vars expansion * Relocate runtime to BuildConfig class for easier passing. * Functionize string abort * Split out Post-build stage * Naming, docs, change var used for task map key. * Split out sequential tasks * Cleanup; bring docs up to speed. * Class property clarification. --- src/BuildConfig.groovy | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/BuildConfig.groovy b/src/BuildConfig.groovy index 87cec27..fd41ef4 100644 --- a/src/BuildConfig.groovy +++ b/src/BuildConfig.groovy @@ -26,6 +26,9 @@ class BuildConfig implements Serializable { def skippedUnstableNewThresh = '' def skippedUnstableThresh= '' + // Private. Not to be used directly by Jenkinsfile. + def runtime = [] + // Constructors BuildConfig() { this.nodetype = "" -- cgit