Skip to content

Commit

Permalink
[#3664] Update Jenkins website build job to use Hugo 0.123.8
Browse files Browse the repository at this point in the history
Also increased memory of JNLP container to 1GB because the original
512MB seems to have caused sporadic failures to execute the job.
  • Loading branch information
sophokles73 committed Nov 28, 2024
1 parent 0d5e352 commit 0a1b1b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions jenkins/Hono-Website-Pipeline-Declarative.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ pipeline {
value: "/home/jenkins"
resources:
limits:
memory: "512Mi"
memory: "1Gi"
cpu: "1"
requests:
memory: "512Mi"
memory: "1Gi"
cpu: "1"
- name: "hugo"
image: "cibuilds/hugo:0.102"
image: "cibuilds/hugo:0.123.8"
command:
- cat
tty: true
Expand Down Expand Up @@ -114,7 +114,7 @@ pipeline {
# removing them, so they don't get deployed.
rm themes/hugo-universal-theme/static/img/*
echo "building home page..."
hugo -v -d "${WEBSITE_REPO_DIR}"
hugo -d "${WEBSITE_REPO_DIR}"
'''
}
}
Expand Down Expand Up @@ -170,7 +170,7 @@ pipeline {
sh '''#!/bin/bash
echo "building documentation..."
cd "${DOC_ASSEMBLY_DIR}"
hugo -v -d "${WEBSITE_REPO_DIR}/docs" --config config.toml,config_version.toml
hugo -d "${WEBSITE_REPO_DIR}/docs" --config config.toml,config_version.toml
'''
}
}
Expand Down

0 comments on commit 0a1b1b2

Please sign in to comment.