Skip to content

Instantly share code, notes, and snippets.

@werne2j
Created October 11, 2019 14:34
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 werne2j/6ee5772b7e39ba58c78b75aeefdf8aef to your computer and use it in GitHub Desktop.
Save werne2j/6ee5772b7e39ba58c78b75aeefdf8aef to your computer and use it in GitHub Desktop.
import com.homeaway.devtools.jenkins.testing.JenkinsPipelineSpecification
class BuildJavascriptAppSpec extends JenkinsPipelineSpecification {
def buildJavascriptApp = null
def setup() {
buildJavascriptApp = loadPipelineScriptForTest("vars/buildJavascriptApp.groovy")
}
def "[buildJavascriptApp] will run npm publish if deploy is true"() {}
def "[buildJavascriptApp] will not npm publish if deploy is false"() {}
def "[buildJavascriptApp] will call closure if passed"() {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment