From fc22627b890b9a334e6d615ceb8f301cb2422119 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 27 Nov 2018 15:27:58 -0800 Subject: [PATCH] fix Jenkinsfile --- Jenkinsfile | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8759981..fb15175 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,26 +1,28 @@ pipeline { agent any stages { + stage('Build') { steps { echo 'Building' } } - } - stage('Test') { - steps { - echo 'Testing' + + stage('Test') { + steps { + echo 'Testing' + } } - } - stage('Deploy - Staging') { - steps { - sh './deploy staging' - sh './run-smoke-tests' + stage('Deploy - Staging') { + steps { + sh './deploy staging' + sh './run-smoke-tests' + } } - } - stage('Deploy - Production') { - steps { - sh './deploy production' - } - } + stage('Deploy - Production') { + steps { + sh './deploy production' + } + } + } }