ci: refs#6706 Jenkinsfile load environemnt
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2024-02-06 10:54:32 +01:00
parent bf0ee052f1
commit 50af5154f4
1 changed files with 7 additions and 3 deletions

10
Jenkinsfile vendored
View File

@ -31,10 +31,14 @@ node {
RUN_TESTS = !PROTECTED_BRANCH && FROM_GIT
RUN_BUILD = PROTECTED_BRANCH && FROM_GIT
// Uncomment to enable debugging
// https://loopback.io/doc/en/lb3/Setting-debug-strings.html#debug-strings-reference
//env.DEBUG = 'strong-remoting:shared-method'
configFileProvider([
configFile(fileId: "salix.groovy",
variable: 'GROOVY_FILE')
]) {
load env.GROOVY_FILE
}
// https://www.jenkins.io/doc/book/pipeline/jenkinsfile/#using-environment-variables
echo "Node: ${NODE_NAME}"
echo "Workspace: ${WORKSPACE}"
}