Fix repo URL and build process
diff --git a/ansible/roles/common/files/build-ci.sh b/ansible/roles/common/files/build-ci.sh
index e54960b..73b2b7d 100755
--- a/ansible/roles/common/files/build-ci.sh
+++ b/ansible/roles/common/files/build-ci.sh
@@ -22,7 +22,7 @@
# create a distribution tarball from the requested git branch
cd /usr/src/couchdb-checkout
git reset --hard
-git clean -fdx
+git clean -ffdx
git pull
git checkout $GIT_BRANCH
./configure --with-curl
diff --git a/ansible/roles/common/tasks/couchdb.yml b/ansible/roles/common/tasks/couchdb.yml
index 5e44b5d..bf2bacf 100644
--- a/ansible/roles/common/tasks/couchdb.yml
+++ b/ansible/roles/common/tasks/couchdb.yml
@@ -35,7 +35,7 @@
- name: get CouchDB sources from git
git:
- repo: https://gitbox.apache.org/repos/asf/couchdb.git
+ repo: https://github.com/apache/couchdb.git
dest: /usr/src/couchdb-checkout
accept_hostkey: yes
force: yes
diff --git a/utils/analyze-jenkins-logs/ci-errors.markdown b/utils/analyze-jenkins-logs/ci-errors.markdown
index dc414e4..5435c2f 100644
--- a/utils/analyze-jenkins-logs/ci-errors.markdown
+++ b/utils/analyze-jenkins-logs/ci-errors.markdown
@@ -92,7 +92,7 @@
## Regular Expressions
When one of these regular expression has a match in the build log, I assume this build failure falls into this category.
-* `/fatal: unable to access 'https:\/\/gitbox.apache.org/`
+* `/fatal: unable to access 'https:\/\/github.com/`
* `/fatal: read error: Connection reset by peer/`
## Builds
diff --git a/utils/analyze-jenkins-logs/index.js b/utils/analyze-jenkins-logs/index.js
index 1b49d7c..e0a837f 100644
--- a/utils/analyze-jenkins-logs/index.js
+++ b/utils/analyze-jenkins-logs/index.js
@@ -36,7 +36,7 @@
const regexes = {
aborted: [ /Build was aborted/ ],
network: [
- /fatal: unable to access 'https:\/\/gitbox.apache.org/,
+ /fatal: unable to access 'https:\/\/github.com/,
/fatal: read error: Connection reset by peer/,
],
docker: [
diff --git a/utils/analyze-jenkins-logs/package.json b/utils/analyze-jenkins-logs/package.json
index c706ba6..840f716 100644
--- a/utils/analyze-jenkins-logs/package.json
+++ b/utils/analyze-jenkins-logs/package.json
@@ -8,7 +8,7 @@
},
"repository": {
"type": "git",
- "url": "https://gitbox.apache.org/repos/asf/couchdb.git"
+ "url": "https://github.com/apache/couchdb.git"
},
"author": "The Apache CouchDB contributors",
"license": "Apache-2.0",
diff --git a/utils/auto-download-jenkins-logs/package.json b/utils/auto-download-jenkins-logs/package.json
index 5d782e8..44105bd 100644
--- a/utils/auto-download-jenkins-logs/package.json
+++ b/utils/auto-download-jenkins-logs/package.json
@@ -8,7 +8,7 @@
},
"repository": {
"type": "git",
- "url": "https://gitbox.apache.org/repos/asf/couchdb.git"
+ "url": "https://github.com/apache/couchdb.git"
},
"author": "The Apache CouchDB contributors",
"license": "Apache-2.0",