You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2022/04/07 06:25:33 UTC
[struts-site] branch test-build updated: Names stages
This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch test-build
in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/test-build by this push:
new 843b2445b Names stages
843b2445b is described below
commit 843b2445b5802e1680b5ebbb619f460f0d7b3864
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Thu Apr 7 08:25:28 2022 +0200
Names stages
---
Jenkinsfile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 363878585..f5aafbe94 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -18,7 +18,7 @@ pipeline {
PATH="${GEM_HOME}/bin:${env.PATH}"
}
stages {
- stage {
+ stage('Build') {
steps {
sh """
echo Generiting a new version of website
@@ -31,6 +31,10 @@ pipeline {
bundle
bundle exec jekyll build
"""
+ }
+ }
+ stage('Deploy') {
+ steps {
sh """
echo "Pushing changes into stage site"
@@ -54,7 +58,7 @@ pipeline {
"""
}
}
- stage {
+ stage('Comment') {
if (env.CHANGE_ID) {
pullRequest.comment("Staged site is ready at https://struts.staged.apache.org/")
}