LoadCustomScript_Jenkinsfile.run() LoadCustomScript_Jenkinsfile.pipeline(groovy.lang.Closure) LoadCustomScript_Jenkinsfile.echo(Executing on agent [label:none]) LoadCustomScript_Jenkinsfile.stage(load-script, groovy.lang.Closure) LoadCustomScript_Jenkinsfile.script(groovy.lang.Closure) LoadCustomScript_Jenkinsfile.loadCustomScript({scriptPath=test-scripts/hello-world.sh, scriptName=hello-world.sh}) loadCustomScript.libraryResource(test-scripts/hello-world.sh) loadCustomScript.writeFile({file=hello-world.sh, text=#!/bin/bash ###### Information ############################################################################ # Copyright OpenSearch Contributors # SPDX-License-Identifier: Apache-2.0 # # The OpenSearch Contributors require contributions made to # this file be licensed under the Apache-2.0 license or a # compatible open source license. # # Name: hello-world.sh # Language: Shell # # About: Script to be used by tests # # Usage: ./hello-world.sh # ############################################################################################### echo "Hello World" }) loadCustomScript.sh(chmod a+x ./hello-world.sh)