From 95aaac84fa636496edad7688ff8a998f7b3ad8a6 Mon Sep 17 00:00:00 2001 From: Carlos Konstanski Date: Mon, 9 Oct 2017 14:55:37 -0600 Subject: improving jjb files for jobs to reduce duplication --- jjb/yaml/deploy-dev-env.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 jjb/yaml/deploy-dev-env.yaml (limited to 'jjb/yaml/deploy-dev-env.yaml') diff --git a/jjb/yaml/deploy-dev-env.yaml b/jjb/yaml/deploy-dev-env.yaml new file mode 100644 index 0000000..1648c4a --- /dev/null +++ b/jjb/yaml/deploy-dev-env.yaml @@ -0,0 +1,30 @@ +--- +- job: + name: deploy-dev-env + project-type: pipeline + dsl: | + pipeline { + agent { + node { + label "openbook_v4" + } + } + stages { + stage("deploy_dev_env") { + steps { + checkout([ + scm: [ + $class: "GitSCM", + branches: [ + [name: "master"] + ], + userRemoteConfigs: [ + [url: "git@github.com:Talligent/openbook-v4-installer.git"] + ] + ] + ]) + sh(script: "./deploy-dev-env.sh") + } + } + } + } -- cgit v1.3