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

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new f6ca28a  Automated site publishing by Jenkins build 34
f6ca28a is described below

commit f6ca28ac0bb19a15126a48dd4aa64d08d92c2931
Author: jenkins <[email protected]>
AuthorDate: Tue Mar 10 16:13:08 2020 +0000

    Automated site publishing by Jenkins build 34
---
 content/community-members/index.html |  2 +-
 content/community/index.html         |  6 +--
 content/download/index.html          | 38 +++++++-------
 content/faq/index.html               |  2 +-
 content/feed.xml                     |  4 +-
 content/history/index.html           |  2 +-
 content/index.html                   |  4 +-
 content/publish.sh                   | 98 ++++++++++++++++++++++++++++++++++++
 8 files changed, 127 insertions(+), 29 deletions(-)

diff --git a/content/community-members/index.html 
b/content/community-members/index.html
index 7938523..02bc716 100644
--- a/content/community-members/index.html
+++ b/content/community-members/index.html
@@ -145,7 +145,7 @@
 
       <hr>
       <footer>
-        <!-- <p>&copy; 2019 </p>-->
+        <!-- <p>&copy; 2020 </p>-->
         <footer class="site-footer">
     <div class="wrapper">
         <div class="footer-col-wrapper">
diff --git a/content/community/index.html b/content/community/index.html
index c616fd2..a1c61b1 100644
--- a/content/community/index.html
+++ b/content/community/index.html
@@ -151,11 +151,11 @@
 
 <h3 id="source-code">Source Code</h3>
 
-<p>The project sources are accessible via the <a 
href="https://github.com/apache/incubator-tuweni";>source code repository</a> 
which is also mirrored in <a 
href="https://git-wip-us.apache.org/repos/asf/incubator-tuweni.git";>GitHub</a></p>
+<p>The project sources are accessible via the <a 
href="https://github.com/apache/incubator-tuweni";>source code repository</a> 
which is also mirrored at <a 
href="https://git-wip-us.apache.org/repos/asf/incubator-tuweni.git";>Apache</a></p>
 
 <h3 id="website-source-code">Website Source Code</h3>
 
-<p>The project website sources are accessible via the <a 
href="https://github.com/apache/incubator-tuweni-website";>website source code 
repository</a> which is also mirrored in <a 
href="https://git-wip-us.apache.org/repos/asf/incubator-tuweni-website.git";>GitHub</a></p>
+<p>The project website sources are accessible via the <a 
href="https://github.com/apache/incubator-tuweni-website";>website source code 
repository</a> which is also mirrored at <a 
href="https://git-wip-us.apache.org/repos/asf/incubator-tuweni-website.git";>Apache</a></p>
 
   </div>
 </div>
@@ -163,7 +163,7 @@
 
       <hr>
       <footer>
-        <!-- <p>&copy; 2019 </p>-->
+        <!-- <p>&copy; 2020 </p>-->
         <footer class="site-footer">
     <div class="wrapper">
         <div class="footer-col-wrapper">
diff --git a/content/download/index.html b/content/download/index.html
index 856b56a..321c31c 100644
--- a/content/download/index.html
+++ b/content/download/index.html
@@ -119,50 +119,50 @@
         <tr>
             <td>Apache Tuweni 0.10.0 (tgz)</td>
             <td><a 
href="https://www.apache.org/dyn/closer.lua/incubator/tuweni/0.10.0-incubating/tuweni-bin-0.10.0-incubating.tgz";>tgz</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-bin-0.10.0-incubating.tgz.sha512";>SHA-512</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-bin-0.10.0-incubating.tgz.asc";>ASC</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-bin-0.10.0-incubating.tgz.sha512";>SHA-512</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-bin-0.10.0-incubating.tgz.asc";>ASC</a></td>
         </tr>
         <tr>
             <td>Apache Tuweni 0.10.0 (zip)</td>
             <td><a 
href="https://www.apache.org/dyn/closer.lua/incubator/tuweni/0.10.0-incubating/tuweni-bin-0.10.0-incubating.zip";>zip</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-bin-0.10.0-incubating.zip.sha512";>SHA-512</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-bin-0.10.0-incubating.zip.asc";>ASC</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-bin-0.10.0-incubating.zip.sha512";>SHA-512</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-bin-0.10.0-incubating.zip.asc";>ASC</a></td>
         </tr>
         <tr>
             <td>Apache Tuweni 0.10.0 (source tgz)</td>
             <td><a 
href="https://www.apache.org/dyn/closer.lua/incubator/tuweni/0.10.0-incubating/tuweni-src-0.10.0-incubating.tgz";>tgz</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-src-0.10.0-incubating.tgz.sha512";>SHA-512</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-src-0.10.0-incubating.tgz.asc";>ASC</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-src-0.10.0-incubating.tgz.sha512";>SHA-512</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-src-0.10.0-incubating.tgz.asc";>ASC</a></td>
         </tr>
         <tr>
             <td>Apache Tuweni 0.10.0 (source zip)</td>
             <td><a 
href="https://www.apache.org/dyn/closer.lua/incubator/tuweni/0.10.0-incubating/tuweni-src-0.10.0-incubating.zip";>zip</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-src-0.10.0-incubating.zip.sha512";>SHA-512</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-src-0.10.0-incubating.zip.asc";>ASC</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-src-0.10.0-incubating.zip.sha512";>SHA-512</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-src-0.10.0-incubating.zip.asc";>ASC</a></td>
         </tr>
         <tr>
             <td>Apache Tuweni 0.10.0 (Gossip application tgz)</td>
             <td><a 
href="https://www.apache.org/dyn/closer.lua/incubator/tuweni/0.10.0-incubating/tuweni-gossip-0.10.0-incubating.tgz";>tgz</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-gossip-0.10.0-incubating.tgz.sha512";>SHA-512</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-gossip-0.10.0-incubating.tgz.asc";>ASC</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-gossip-0.10.0-incubating.tgz.sha512";>SHA-512</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-gossip-0.10.0-incubating.tgz.asc";>ASC</a></td>
         </tr>
         <tr>
             <td>Apache Tuweni 0.10.0 (Gossip application zip)</td>
             <td><a 
href="https://www.apache.org/dyn/closer.lua/incubator/tuweni/0.10.0-incubating/tuweni-gossip-0.10.0-incubating.zip";>zip</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-gossip-0.10.0-incubating.zip.sha512";>SHA-512</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-gossip-0.10.0-incubating.zip.asc";>ASC</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-gossip-0.10.0-incubating.zip.sha512";>SHA-512</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-gossip-0.10.0-incubating.zip.asc";>ASC</a></td>
         </tr>
         <tr>
             <td>Apache Tuweni 0.10.0 (Relayer application tgz)</td>
             <td><a 
href="https://www.apache.org/dyn/closer.lua/incubator/tuweni/0.10.0-incubating/tuweni-relayer-0.10.0-incubating.tgz";>tgz</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-relayer-0.10.0-incubating.tgz.sha512";>SHA-512</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-relayer-0.10.0-incubating.tgz.asc";>ASC</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-relayer-0.10.0-incubating.tgz.sha512";>SHA-512</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-relayer-0.10.0-incubating.tgz.asc";>ASC</a></td>
         </tr>
         <tr>
             <td>Apache Tuweni 0.10.0 (Relayer application zip)</td>
             <td><a 
href="https://www.apache.org/dyn/closer.lua/incubator/tuweni/0.10.0-incubating/tuweni-relayer-0.10.0-incubating.zip";>zip</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-relayer-0.10.0-incubating.zip.sha512";>SHA-512</a></td>
-            <td><a 
href="https://www.apache.org/dist/incubator/tuweni/0.10.0-incubating/tuweni-relayer-0.10.0-incubating.zip.asc";>ASC</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-relayer-0.10.0-incubating.zip.sha512";>SHA-512</a></td>
+            <td><a 
href="https://downloads.apache.org/incubator/tuweni/0.10.0-incubating/tuweni-relayer-0.10.0-incubating.zip.asc";>ASC</a></td>
         </tr>
         <!--tr>
             <td>Release Notes</td>
@@ -177,7 +177,7 @@
 <p>Choose a source distribution in either <em>tar</em> or <em>zip</em> format,
 and <a href="https://www.apache.org/dyn/closer.cgi#verify";>verify</a>
 using the corresponding <em>asc</em> signature (using the committer file in
-<a href="https://www.apache.org/dist/incubator/tuweni/KEYS";>KEYS</a>).
+<a href="https://downloads.apache.org/incubator/tuweni/KEYS";>KEYS</a>).
 If you cannot do that, the <em>sha512</em> hash file may be used to check that 
the
 download has completed OK.</p>
 
@@ -188,7 +188,7 @@ If a download from a mirror fails, retry, and the second 
download will likely
 succeed.</p>
 
 <p>For security, hash and signature files are always hosted at
-<a href="https://www.apache.org/dist";>Apache</a>.</p>
+<a href="https://downloads.apache.org";>Apache</a>.</p>
 
 <h3 id="maven-central">Maven Central</h3>
 
@@ -214,7 +214,7 @@ succeed.</p>
 
       <hr>
       <footer>
-        <!-- <p>&copy; 2019 </p>-->
+        <!-- <p>&copy; 2020 </p>-->
         <footer class="site-footer">
     <div class="wrapper">
         <div class="footer-col-wrapper">
diff --git a/content/faq/index.html b/content/faq/index.html
index ea8dcdc..a0f63e2 100644
--- a/content/faq/index.html
+++ b/content/faq/index.html
@@ -144,7 +144,7 @@ The Apache Software Foundation being a merit-based 
organization allows for such
 
       <hr>
       <footer>
-        <!-- <p>&copy; 2019 </p>-->
+        <!-- <p>&copy; 2020 </p>-->
         <footer class="site-footer">
     <div class="wrapper">
         <div class="footer-col-wrapper">
diff --git a/content/feed.xml b/content/feed.xml
index fb109f4..cf8a036 100644
--- a/content/feed.xml
+++ b/content/feed.xml
@@ -5,8 +5,8 @@
     <description></description>
     <link>//</link>
     <atom:link href="//feed.xml" rel="self" type="application/rss+xml"/>
-    <pubDate>Wed, 18 Dec 2019 06:58:06 +0000</pubDate>
-    <lastBuildDate>Wed, 18 Dec 2019 06:58:06 +0000</lastBuildDate>
+    <pubDate>Tue, 10 Mar 2020 16:13:06 +0000</pubDate>
+    <lastBuildDate>Tue, 10 Mar 2020 16:13:06 +0000</lastBuildDate>
     <generator>Jekyll v3.7.4</generator>
     
       <item>
diff --git a/content/history/index.html b/content/history/index.html
index de670f4..8a0bab6 100644
--- a/content/history/index.html
+++ b/content/history/index.html
@@ -130,7 +130,7 @@ Derive <code class="highlighter-rouge">FOO</code> return 
type by a customizable
 
       <hr>
       <footer>
-        <!-- <p>&copy; 2019 </p>-->
+        <!-- <p>&copy; 2020 </p>-->
         <footer class="site-footer">
     <div class="wrapper">
         <div class="footer-col-wrapper">
diff --git a/content/index.html b/content/index.html
index 44655b9..274d8fb 100644
--- a/content/index.html
+++ b/content/index.html
@@ -100,7 +100,7 @@
 
 -->
 
-<p>Apache Tuweni is a set of libraries and other tools to aid development of 
blockchain and other decentralized software in Java and other JVM languages. It 
includes a low-level bytes library, serialization and deserialization codecs 
(e.g. RLP), various cryptography functions and primatives, and lots of other 
helpful utilities. Tuweni is developed for JDK 1.8 or higher, and depends on 
various other FOSS libraries.</p>
+<p>Apache Tuweni is a set of libraries and other tools to aid development of 
blockchain and other decentralized software in Java and other JVM languages. It 
includes a low-level bytes library, serialization and deserialization codecs 
(e.g. RLP), various cryptography functions and primitives, and lots of other 
helpful utilities.</p>
 
   </div>
 </div>
@@ -108,7 +108,7 @@
 
       <hr>
       <footer>
-        <!-- <p>&copy; 2019 </p>-->
+        <!-- <p>&copy; 2020 </p>-->
         <footer class="site-footer">
     <div class="wrapper">
         <div class="footer-col-wrapper">
diff --git a/content/publish.sh b/content/publish.sh
new file mode 100755
index 0000000..39d4626
--- /dev/null
+++ b/content/publish.sh
@@ -0,0 +1,98 @@
+#!/usr/bin/env bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to you under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# Infra has set up a webhook at the github repo that fires this task.
+# We cannot push to github, though, but only to gitbox.
+# So we need two repositories in two directories:
+#
+# master-branch (just cloning):
+# git clone https://github.com/apache/incubator-tuweni-website.git 
master-branch
+# asf-site-branch (pushing):
+# git clone https://gitbox.apache.org/repos/asf/incubator-tuweni-website.git 
asf-site-branch
+
+#
+# Testing:
+#
+echo "CHANGE_ID -${CHANGE_ID}-"
+echo "CHANGE_URL -${CHANGE_URL}-"
+echo "BRANCH_NAME -${BRANCH_NAME}-"
+echo "GIT_COMMIT -${GIT_COMMIT}-"
+echo "GIT_PREVIOUS_COMMIT -${GIT_PREVIOUS_COMMIT}-"
+
+if [ "X${GIT_COMMIT}" = "X${GIT_PREVIOUS_COMMIT}" ]; then
+       echo "Commit ${GIT_COMMIT} equal to previous commit 
${GIT_PREVIOUS_COMMIT}: we are done"
+#    exit 0
+fi
+
+#
+# Install RVM if needed
+#
+curl -sSL https://get.rvm.io | bash -s stable
+source "$HOME/.rvm/scripts/rvm"
+rvm install 2.7.0
+rvm use 2.7.0
+
+#
+# Run the jekyll script to generate HTML for tuweni.apache.org
+#
+cd master-branch
+echo "Building site..."
+gem install bundler -v 1.16.2
+bundle install && bundle exec jekyll build
+if [ $? -ne 0 ]; then
+       echo "Build failed!"
+    exit 1
+fi
+cd ..
+
+#
+# Copy the generated html to the asf-site branch
+#
+cd asf-site-branch
+git checkout asf-site
+git fetch origin asf-site
+git pull origin asf-site
+
+cp -R ../master-branch/target/* content
+
+#
+# Commit and push to gitbox
+#
+echo "Adding content..."
+git add -v content/
+echo "Commit to gitbox..."
+git status
+
+#
+# Note: the "Automated site publishing" text below is used to reject
+# builds triggered when pushing to asf-site (see git configuration above).
+# If you change this text then remember to change it above also.
+#
+git commit -v -m "Automated site publishing by Jenkins build ${BUILD_NUMBER}"
+if [ $? -ne 0 ]; then
+    echo "Commit failed."
+    exit 2
+fi
+echo "Pushing to gitbox..."
+git push -v origin asf-site
+if [ $? -ne 0 ]; then
+    echo "Push failed."
+    exit 3
+fi
+echo "Done."
+
+
+


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to