add lab1 (got points)
This commit is contained in:
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user