Commit b1b286fa authored by Gradl, Tobias's avatar Gradl, Tobias

Minor finalizing steps for Gradle migration

parent dc206e1a
Pipeline #13396 failed with stages
in 5 minutes and 32 seconds
......@@ -24,48 +24,4 @@ build:
deploy:
stage: deploy
script:
- ./gradlew publish -x test $NEXUS_CREDENTIALS
only:
- master
docs:
stage: deploy
script:
- |
if [[ $VERSION = *"SNAPSHOT" || $VERSION = *"RELEASE" ]]; then
echo "Building documentation for $ARTIFACT $VERSION"
cd docs
echo "-- Setting up Virtualenv"
virtualenv venv
pwd
. venv/bin/activate
echo "-- Installing requirements"
pip install -r requirements.txt
echo "-- Building HTML version within $(pwd)"
make clean html
echo "-- Creating package"
fpm -t deb -a noarch -s dir --name dme-doc \
--description='DARIAH-DE DME Documentation' \
--maintainer='DARIAH-DE <info@de.dariah.eu>' \
--vendor='DARIAH-DE' \
--url='https://dme.de.dariah.eu' \
--version $VERSION \
-x ".git**" \
-x "**/.git**" \
-x "**/.hg**" \
-x "**/.svn**" \
-x ".buildinfo" \
-x "**/*.deb" \
--prefix /var/www/doc/dme \
-C _build/html .
~/scripts/push_deb_packages.sh ./
fi
only:
- master
- docs
\ No newline at end of file
- ./gradlew publish $NEXUS_CREDENTIALS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment