This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/master by this push:
new 5d8c324ed Adds missing steps
5d8c324ed is described below
commit 5d8c324ed95e8317e18ba164155885ec892d9a42
Author: Lukasz Lenart <[email protected]>
AuthorDate: Fri Oct 7 09:35:08 2022 +0200
Adds missing steps
---
Jenkinsfile | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index ef6aea419..89f1cd44f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -16,11 +16,13 @@ pipeline {
}
stages {
stage('Build a staged website') {
- docker.image('jekyll/builder:4.2.2').inside('-v $WORKSPACE:/srv/jekyll')
{
- sh """
- bundle install
- jekyll build
- """
+ steps {
+ docker.image('jekyll/builder:4.2.2').inside('-v
$WORKSPACE:/srv/jekyll') {
+ sh """
+ bundle install
+ bundle exec jekyll build
+ """
+ }
}
}
stage('Deploy to stage area') {