diff --git a/Jenkinsfile b/Jenkinsfile index 11548eb..8536d70 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,16 +17,16 @@ pipeline { } } stage('Setup Hugo') { - steps { - sh ''' - mkdir -p tools - cd tools - curl -L -o hugo.tar.gz https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz - tar -xzf hugo.tar.gz - chmod +x hugo - ''' - } -} + steps { + sh ''' + mkdir -p tools + cd tools + curl -L -o hugo.tar.gz https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz + tar -xzf hugo.tar.gz + chmod +x hugo + ''' + } + } stage('Build site') { steps {