This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch results in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/results by this push: new 765d8efbb Performs all git operations in Docker 765d8efbb is described below commit 765d8efbbc79d9b85a2d13ff14a51cf50ddca403 Author: Lukasz Lenart <lukaszlen...@apache.org> AuthorDate: Fri Oct 14 08:23:54 2022 +0200 Performs all git operations in Docker --- Jenkinsfile | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7d250ed64..0ea5135db 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,11 +12,6 @@ pipeline { } stages { stage('Build a staged website') { - agent { - docker { - image 'jekyll/builder:4.2.2' - } - } steps { sh ''' export GEM_HOME="$WORKSPACE/.gems" @@ -26,19 +21,8 @@ pipeline { bundle config set --local path $GEM_HOME bundle install bundle exec jekyll build - - pwd - ls -la - ''' - } - } - stage('Deploy to stage area') { - steps { - sh ''' - echo "Pushing changes into stage site" - pwd - ls -la + echo "Pushing changes into stage site" if ! git config remote.asf.url > /dev/null; then git remote add asf https://gitbox.apache.org/repos/asf/struts-site.git @@ -48,8 +32,6 @@ pipeline { git checkout asf-staging git pull asf asf-staging - ls -la - cp -r _site/* content cp -r _site/.htaccess content/.htaccess