Skip to content

Instantly share code, notes, and snippets.

@ibejohn818
Created January 6, 2018 20:29
Show Gist options
  • Save ibejohn818/9bf093d7dc314a731634491c5d128c83 to your computer and use it in GitHub Desktop.
Save ibejohn818/9bf093d7dc314a731634491c5d128c83 to your computer and use it in GitHub Desktop.
Jenkinsfile starter
#!/usr/bin/env groovy
import hudson.model.*
import hudson.EnvVars
node {
try {
stage("blank") {
currentBuild.result = "SUCCESS"
}
} catch(Exception err) {
currentBuild.result = "FAILURE"
} finally {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment