#!/usr/bin/env groovy pipeline { agent { label 'prod' } stages { stage('Check env') { steps { echo "Displaying Jenkins environment variables ..." echo "BRANCH_NAME : ${env.BRANCH_NAME}" echo "BUILD_NUMBER : ${env.BUILD_NUMBER}" echo "BUILD_ID : ${env.BUILD_ID}" echo "BUILD_DISPLAY_NAME : ${env.BUILD_DISPLAY_NAME}" echo "JOB_NAME : ${env.JOB_NAME}" echo "JOB_BASE_NAME : ${env.JOB_BASE_NAME}" echo "BUILD_TAG : ${env.BUILD_TAG}" echo "EXECUTOR_NUMBER : ${env.EXECUTOR_NUMBER}" echo "NODE_NAME : ${env.NODE_NAME}" echo "NODE_LABELS : ${env.NODE_LABELS}" echo "WORKSPACE : ${env.WORKSPACE}" echo "JENKINS_HOME : ${env.JENKINS_HOME}" echo "JENKINS_URL : ${env.JENKINS_URL}" echo "BUILD_URL : ${env.BUILD_URL}" echo "JOB_URL : ${env.JOB_URL}" echo "JOVIAN_WEB_DEPLOY_PATH : ${env.JOVIAN_WEB_DEPLOY_PATH}" echo "Done." } } } }