Skip to content

Instantly share code, notes, and snippets.

@deekayen
Last active September 19, 2018 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deekayen/5c27cc23568f2ae7d0028974e4275165 to your computer and use it in GitHub Desktop.
Save deekayen/5c27cc23568f2ae7d0028974e4275165 to your computer and use it in GitHub Desktop.
Download and build amazon-efs-utils in a Jenkins pipeline
node() {
stage ('pre-clean') {
cleanWs()
}
stage ('clone scm') {
git 'https://github.com/aws/efs-utils.git'
}
stage ('build') {
sh '''#!/bin/bash
make rpm'''
}
stage ('post-clean') {
cleanWs()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment