diff options
Diffstat (limited to 'jjb/yaml/test-pipeline.yaml')
| -rw-r--r-- | jjb/yaml/test-pipeline.yaml | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/jjb/yaml/test-pipeline.yaml b/jjb/yaml/test-pipeline.yaml deleted file mode 100644 index 74967c8..0000000 --- a/jjb/yaml/test-pipeline.yaml +++ /dev/null @@ -1,78 +0,0 @@ ---- -- job: - name: workflow-server-pipeline - project-type: pipeline - dsl: | - pipeline { - agent { - label "openbook_v4" - } - stages { - stage("gradle") { - steps { - checkout([ - scm: [ - $class: 'GitSCM', - branches: [ - [name: "master"] - ], - userRemoteConfigs: [ - [url: "git@github.com:Talligent/workflow-server.git"] - ] - ] - ]) - sh(script: "gradle -PbuildNumber=4.1.${BUILD_NUMBER} -PbuildMode=buildProd -Dorg.gradle.daemon=false clean shadowJar") - stash(includes: 'build/libs/*.jar', name: "jar") - } - } - stage("upload_jar") { - steps { - checkout([ - scm: [ - $class: 'GitSCM', - branches: [ - [name: "master"] - ], - userRemoteConfigs: [ - [url: "git@github.com:Talligent/deployment-scripts.git"] - ] - ] - ]) - unstash(name: "jar") - sh(script: "ruby openbook/ruby/upload_jar.rb --webdav-url=${WEBDAV_URL} --webdav-username=${WEBDAV_USERNAME} --webdav-password=${WEBDAV_PASSWORD} --artifact=workflow-server --version=4.1.${BUILD_NUMBER} --filepath=build/libs/workflow-server.4.1.${BUILD_NUMBER}.jar") - } - } - stage("build_docker_containers") { - steps { - checkout([ - scm: [ - $class: 'GitSCM', - branches: [ - [name: "master"] - ], - userRemoteConfigs: [ - [url: "git@github.com:Talligent/openbook-v4-ci.git"] - ] - ] - ]) - sh(script: "./build-docker-containers.sh") - } - } - 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") - } - } - } - } |
