generic-product job/generic-product/ 204 create-product-pipeline job/create-product-pipeline/ 205 polling-product job/polling-product/ 3 polling-all-products job/polling-all-products/ 1 1 272 generic-product#204 TEST_SPLIT_MAX Number of the test packages. 1 RECIPE Recipe which will be tested. b2c_c4c PRIORITY Job priority (number from 1 to 5, where 1 is the highest). 3 TEST_SPLIT_IDX Index of the test package to be performed. 1 PIPELINE_ID Identifier of the pipeline which will be tested. 190521006 WEB_TESTS Defines whether web tests should be executed instead of the non-web tests. true DEBUG Defines whether test target should be executed in debug mode. false PIPELINE_ID RECIPE WEB_TESTS TEST_SPLIT_IDX TEST_SPLIT_MAX DEBUG PRIORITY pipelinescriptloader refs/heads/master addTraceEntry getCommitInfo getEscapedCommitInfo getEscapedTraceability getTraceability loadModule loadModules loadPlugin loadScript pluginLoader recordBuildEnv recordCommit recordImage true false refs/remotes/origin/master d31edebff6d622ce691cfcaf839a26bc6571169a refs/remotes/origin/master 7015 https://example.org/jenkins-pipeline-script-loader.git refs/remotes/origin/master /var/lib/jenkins/workspace/generic-test-junit@libs/pipelinescriptloader@4 d5710e96-fd43-4a5c-b10d-fc5c0d3c49e8 Test default sh script """#!/bin/bash rm -rf $HOME/.m2/repository mkdir .repository ln -s $WORKSPACE/.repository $HOME/.m2/repository """ sh script """#!/bin/bash set $BASH_OPTS rsync -az jkmaster:${env.CSP_STORAGE}/pipeline-scripts . ./pipeline-scripts/prepare-env.sh rsync -az jkmaster:${env.CSP_STORAGE}/resources/${params.PIPELINE_ID}/pipeline.properties . """ script scriptBlock def environmentVariables = '' readProperties(file: 'pipeline.properties') .findAll { !params.containsKey(it.key) } .each { k, v -> environmentVariables = "${environmentVariables}env.${k}='${v}'\n" } writeFile file: 'env.groovy', text: environmentVariables load path env.groovy script scriptBlock currentBuild.displayName = "#${env.BUILD_NUMBER}-${env.PRODUCT_NAME}-${params.PIPELINE_ID}-${params.RECIPE}-${params.WEB_TESTS ? 'WEB-' : ''}${params.TEST_SPLIT_IDX}-${params.TEST_SPLIT_MAX}" timestamps lock resource label rsync quantity 1 sh script ./pipeline-scripts/jobs/synchronize-with-jkmaster.sh wrap [$class: 'LogfilesizecheckerWrapper', failBuild: true, maxLogSize: 0, setOwn: false] wrap [$class: 'Xvfb', displayNameOffset: 2] timestamps timeout time 6 unit HOURS timeout time 15 activity true sh script "./pipeline-scripts/jobs/test-junit.sh ${params.WEB_TESTS ? 'web' : ''}" junit testResults junit/**/*.xml archiveArtifacts artifacts junit/**/*.xml d5710e96-fd43-4a5c-b10d-fc5c0d3c49e8 xterm CHANGED_BRANCH update/2005/platform COMMIT_ID c9f7f8a4fd9f36ffa3f182c92a2f44024d50ff72 DEPLOY_ADDITIONAL_PRODUCTS product2,product3 DEPLOY_GROUP_ID oeg.example INSTALLER_DIST_HOME installer JDK_VERSION sapmachine-11 MODEL_T_DEPLOY_ADDITIONAL_PRODUCTS product2 MODEL_T_DEPLOY_ENABLED true PIPELINE_NAME suite PLATFORM_BUILD_HOME sources/modules/platform-module/bin/platform PLATFORM_DIST_HOME product/bin/platform PRODUCT_MAJOR_VERSION 2005 PRODUCT_MINOR_VERSION 0 PRODUCT_NAME product PRODUCT_REPO_URL PRODUCT_VERSION 2005.0 RELEASE_BRANCH release/2005 TESTED_RECIPES b2b_acc_plus,b2b_c4c,b2b_china,b2c_acc_cis,b2c_acc_plus,b2c_acc_ymkt,b2c_b2b_acc_cpq,b2c_b2b_acc_dp,b2c_b2b_acc_oms,b2c_c4c,b2c_china,marketplace_acc_china TEST_SPLIT 4 UNPACK_ADDITIONAL_ARTIFACTS product2 /var/lib/jenkins/xvfb-7015-..fbdir7624671487971937916 1 false bd0c40ab-c96e-4ba6-a838-98f655ceb48a 0 0 1825 1.0 123068 1558449504212 1558449504436 SUCCESS #7015-product-190521006-b2c_c4c-WEB-1-1 1489115 UTF-8 false SUCCESS Script1 env.UNPACK_ADDITIONAL_ARTIFACTS='product2' env.PLATFORM_DIST_HOME='product/bin/platform' env.PLATFORM_BUILD_HOME='sources/modules/platform-module/bin/platform' env.PRODUCT_MINOR_VERSION='0' env.TESTED_RECIPES='b2b_acc_plus,b2b_c4c,b2b_china,b2c_acc_cis,b2c_acc_plus,b2c_acc_ymkt,b2c_b2b_acc_cpq,b2c_b2b_acc_dp,b2c_b2b_acc_oms,b2c_c4c,b2c_china,marketplace_acc_china' env.TEST_SPLIT='4' env.DEPLOY_GROUP_ID='org.example' env.PRODUCT_NAME='product' env.CHANGED_BRANCH='update/2005/platform' env.INSTALLER_DIST_HOME='installer' env.RELEASE_BRANCH='release/2005' env.PRODUCT_VERSION='2005.0' env.PIPELINE_NAME='suite' env.MODEL_T_DEPLOY_ENABLED='true' env.JDK_VERSION='sapmachine-11' env.MODEL_T_DEPLOY_ADDITIONAL_PRODUCTS='product2' env.COMMIT_ID='c9f7f8a4fd9f36ffa3f182c92a2f44024d50ff72' env.DEPLOY_ADDITIONAL_PRODUCTS='product2,product3' env.PRODUCT_REPO_URL='' env.PRODUCT_MAJOR_VERSION='2005' MAX_SURVIVABILITY flowNode 11226330574 classLoad 1340613096 run 38572168531 parse 3477390210 saveProgram 8596507647 true 69 1:69 true false true 2 https://example.org/jenkins-pipeline-script-loader.git ${library.pipelinescriptloader.version} false /var/lib/jenkins/workspace/generic-test-junit@libs/pipelinescriptloader@4