We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17ce305 commit c34749eCopy full SHA for c34749e
dev/javadoc.sh
100644
100755
@@ -2,6 +2,14 @@
2
3
set -e
4
5
+if [[ "${TRAVIS_REPO_SLUG}" != "oracle/opengrok" ||
6
+ "${TRAVIS_PULL_REQUEST}" == "true" ||
7
+ "${TRAVIS_BRANCH}" != "master" ]]; then
8
+ exit 0
9
+fi
10
+
11
+echo -e "Publishing javadoc...\n"
12
13
mvn -DskipTests=true site
14
15
git config --global user.email "[email protected]"
@@ -17,3 +25,5 @@ cp -Rf ${TRAVIS_BUILD_DIR}/target/site/apidocs ./javadoc
17
25
git add -f ./javadoc
18
26
git commit -m "Lastest javadoc auto-pushed to gh-pages"
19
27
git push -fq origin gh-pages
28
29
+echo -e "Published Javadoc to gh-pages.\n"
0 commit comments