From 37f9f5ffbe1d5ed33dc9cfd63ba2d9cfcd978dd1 Mon Sep 17 00:00:00 2001 From: nik Date: Tue, 23 Sep 2025 17:03:43 +0300 Subject: [PATCH] add lab1 (got points) --- Jenkinsfile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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 {