Skip to content

Instantly share code, notes, and snippets.

@darinpope
Last active September 14, 2023 19:53
Show Gist options
  • Save darinpope/2053d534fb828ee59b7cab7339215c16 to your computer and use it in GitHub Desktop.
Save darinpope/2053d534fb828ee59b7cab7339215c16 to your computer and use it in GitHub Desktop.

Gist for https://youtu.be/Um3-Oj72dF4

Documentation

Jenkinsfile

pipeline {
  agent any
  parameters {
    string(name: 'PERSON', defaultValue: 'Mr Jenkins', description: 'Who should I say hello to?')
  }
  stages {
    stage('Example') {
      steps {
        sh "echo Hello ${params.PERSON}"
      }
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment