add lab1 (got points)
This commit is contained in:
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@@ -17,16 +17,16 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Setup Hugo') {
|
stage('Setup Hugo') {
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
mkdir -p tools
|
mkdir -p tools
|
||||||
cd 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
|
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
|
tar -xzf hugo.tar.gz
|
||||||
chmod +x hugo
|
chmod +x hugo
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Build site') {
|
stage('Build site') {
|
||||||
steps {
|
steps {
|
||||||
|
|||||||
Reference in New Issue
Block a user