Answers for "jenkins local variables"

0

Local Variable in Jenkins

// Define variable
def myVariable = "foo"

// Print variable
pipeline {
  agent any
  stages {
    stage ("Print variable") {
      steps {
        echo "My variable is ${myVariable}"
      }
    }
  }
}
Posted by: Guest on July-13-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language