You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2023/01/15 22:48:34 UTC

[openwhisk-website] branch debug-jenkins updated: remove debug (redux)

This is an automated email from the ASF dual-hosted git repository.

dgrove pushed a commit to branch debug-jenkins
in repository https://gitbox.apache.org/repos/asf/openwhisk-website.git


The following commit(s) were added to refs/heads/debug-jenkins by this push:
     new 4d2340e  remove debug (redux)
4d2340e is described below

commit 4d2340e7bfd13c36ac2be05878fb595bd0873720
Author: David Grove <gr...@us.ibm.com>
AuthorDate: Sun Jan 15 17:48:19 2023 -0500

    remove debug (redux)
---
 tools/jenkins/#website_build.groovy# | 59 ------------------------------------
 1 file changed, 59 deletions(-)

diff --git a/tools/jenkins/#website_build.groovy# b/tools/jenkins/#website_build.groovy#
deleted file mode 100644
index 7bb4ce4..0000000
--- a/tools/jenkins/#website_build.groovy#
+++ /dev/null
@@ -1,59 +0,0 @@
-#!groovy
-node("git-websites") {
-  sh 'env'
-  stage('Build') {
-    // Run jekyll
-    checkout scm
-    sh '''
-    export
-    echo "Install rbenv into the workspace"
-    export RBENV_ROOT=${WORKSPACE}/shared/.rbenv
-    git clone https://github.com/rbenv/rbenv.git ${RBENV_ROOT}
-    eval "$(${RBENV_ROOT}/bin/rbenv init - sh)"
-    git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
-    rbenv install 3.1.3
-    gem install bundler
-    bundle install
-    npm install
-    npm run build:js
-    bundle exec jekyll build --verbose
-    ls -l _site
-    '''
-  }
-  stage('Publish') {
-    // Run git commands to push
-    sh '''
-    alias
-    pwd
-    ls
-    echo "Pushing openwhisk site to asf"
-    git config -l --local
-    git config -l --global
-    git stash
-    git status
-    git remote -v
-    git fetch origin
-    git checkout asf-site
-    git log asf-site -3
-    git status
-    mkdir -p /tmp/openwhisk/
-    rm -rf /tmp/openwhisk/_site
-    mv _site /tmp/openwhisk/
-    ls -l /tmp/openwhisk/_site/
-    rm -rf *
-    git status
-    mv /tmp/openwhisk/_site/* .
-    ls -l .
-    git status
-    git diff
-    git add .
-    git status
-    git log asf-site -3
-    git commit -m "Automatic Site Publish by Jenkins"
-    git pull --rebase
-    git log asf-site -3
-    git push origin asf-site
-    '''
-  }
-
-}