forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 22
TestingHudson
Ondrej Kosarko edited this page Apr 17, 2026
·
2 revisions
⚠️ This page documents v5-era Hudson CI and is kept for reference only. For current testing, see Testing.
{{toc}}
- installed hudson, changed authorisation
- http://ufal-point-dev.ms.mff.cuni.cz:8083/
- added few commands to visudo for user hudson
- see https://ufal-point-dev.ms.mff.cuni.cz/hudson/xmlui/
- create firefox-bin in /usr/bin pointing to /usr/lib/firefox/firefox because selenium wants to start firefox directly (not through .sh)
- ant + testng + default selenium plugins do not work nicely, so you have to use testng plugins for displaying
- there should be collections including more than 1 page of results
- e.g., import #642
git submodule init
git submodule update
cp /opt/ufal-configs/local.conf config
cp /opt/ufal-configs/utilities.properties.local Utilities/conf/
cd scripts
########## 1st timers
#make setup
#sudo make create_utilities_database
#sudo make create_database
##########
make update_utilities
########## 1st timers
#sudo make new_deploy
##########
sudo make deploy_guru
########## 1st timers
###sudo /installations/dspace/hudson/bin/dspace create-administrator
##########
sudo make init_statistics
sudo make init_indicies
sudo /installations/dspace/hudson/bin/dspace update-discovery-index
sudo make restart
# located in /var/lib/hudson/jobs/
whoami
mvn -version
java -version
which mvn
cp /opt/ufal-configs/master-dev.local.conf config/local.conf
cd scripts
#########################################################
# Redeployment
#########################################################
sudo make clean_source || echo "cleaning not successful"
sudo make setup
sudo make deploy_guru
sudo make update_indicies
sudo make update_statistics
sudo make update_discovery
sudo make update_oai
sudo make restart
sudo make restart
you can add to pom.xml e.g.,
+
+<!--
+ UFAL info
+-->
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.6</version>
+ <reportSets>
+ <reportSet>
+ <reports><!-- select reports -->
+ <report>index</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+
+
+
<!--
Runtime and Compile Time dependencies for DSpace.
-->
<build>
<plugins>
+
+<!--
+ needed for UFAL info
+-->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.3</version>
+ </plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
and use findbugs plugin in hudson
Getting Started
Features
- All Features — full categorised list
- CLARIN Licenses
- PIDs & Handles
- Featured Services / Refbox
- Field-Level Permissions
- File Previews
- Sharing a Submission
- Personal Access Tokens
- DOI Configuration per Community
- ROR Authority
Operations
- Kubernetes Deployment
- Samples (.env, Nginx)
- Nginx + Shibboleth
- Handle Server · Setup (v7)
- Shibboleth · DiscoJuice
- Shibboleth Accounts
- S3 Storage · CESNET S3
- Google Analytics
- Matomo
- Solr
- Logging
- Custom Namespace
- Health Report
For Users
Development
Reference
- Authorizations
- Metadata Info
- Citations (proposal)
- Repository Checklist
- Search, Browse & Filters
- Localization
- Importing Items (CLI)
- NFA Import - Steps
- OpenAIRE
- DOI Registration
- Inclusion in OLAC
- Unit Testing
- Deploy Checks
- Troubleshooting
- Versioning Theory
- Dynamic Resource Versioning
- Metashare Import · Schema
- Web Server Overview
- LINDAT Common Theme
- Workshop 2016 Results
- WebLicht Integration
- Google Dataset Search
Archive (v5 / stale)
- Old Home (v5)
- Installation (v5)
- Prerequisites (v5)
- Connecting Tomcat with Apache
- Using Apache
- Building Shibboleth FastCGI
- Shibboleth Install (v5)
- EUDAT Replication
- Backup (v5)
- Spring Social / Google Drive (v5)
- Clarin (→ Repository Checklist)
- Control Panel (v5)
- Overlays (v5)
- Configuration (v5)
- Speeding Up Downloads
- Debugging (v5)
- Selenium (v5)
- Code Contributions (v5)
- Best Practices (v5)
- Testing Hudson
- Working on Windows
- Prerequisites Checklist (v5)
- Migration to DSpace 7.2.1
- Upgrade From Lindat
- Piwik (→ Matomo) · Piwik Cleaning