From f0721d353dcf823cb5cd883bbfdeb53f815f20d0 Mon Sep 17 00:00:00 2001 From: me Date: Wed, 18 Feb 2026 11:31:25 +0300 Subject: [PATCH] update Jenkinsfile --- Jenkinsfile | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6bd474f..7a64cb0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,17 +6,21 @@ pipeline { stages { stage('Install Dependencies') { steps { - sh ''' - apt-get update -qq && apt-get install -y -qq rsync - # Install Hugo - curl -sL https://github.com/gohugoio/hugo/releases/download/v0.146.0/hugo_extended_0.146.0_linux-amd64.tar.gz \ - -o hugo.tar.gz - tar -xzf hugo.tar.gz hugo + sh ''' + # Install Hugo + curl -sL https://github.com/gohugoio/hugo/releases/download/v0.146.0/hugo_extended_0.146.0_linux-amd64.tar.gz \ + -o hugo.tar.gz + tar -xzf hugo.tar.gz hugo - # Install Go - curl -sL https://go.dev/dl/go1.24.1.linux-amd64.tar.gz -o go.tar.gz - tar -xzf go.tar.gz - ''' + # Install Go + curl -sL https://go.dev/dl/go1.24.1.linux-amd64.tar.gz -o go.tar.gz + tar -xzf go.tar.gz + + # Install rsync + curl -sL https://github.com/raboof/rsync-static/releases/download/v3.4.1/rsync-amd64 \ + -o rsync + chmod +x rsync + ''' } } stage('Build') {