-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 11638c9
Showing
2 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Dataverse-Jenkins | ||
================= | ||
|
||
This repository aims to document the configuration of automated testing for [Dataverse][] and its satellite projects. | ||
|
||
The [Odum Institute][] hosts [jenkins.dataverse.org][] as a vanilla CentOS 7 VM running [Jenkins][]' standard [repo RPM][]. If you would like to stand up your own Jenkins instance, we recommend GeerlingGuy's excellent [Jenkins Ansible role][]. | ||
|
||
In our current configuration, Jenkins waits for a webhook push from [IQSS/dataverse-develop][], builds the Dataverse warfile and in the near future will deploy it to a test VM. You may find this [config.xml][] file helpful to get you started. | ||
|
||
[Dataverse]: https://dataverse.org/ | ||
[Odum Institute]: https://odum.unc.edu | ||
[jenkins.dataverse.org]: https://jenkins.dataverse.org/ | ||
[Jenkins]: https://jenkins.io/ | ||
[repo RPM]: https://pkg.jenkins.io/redhat/ | ||
[Jenkins Ansible Role]: https://github.com/geerlingguy/ansible-role-jenkins | ||
[IQSS/dataverse-develop]: https://github.com/IQSS/dataverse/tree/develop | ||
[config.xml]: config.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?xml version='1.1' encoding='UTF-8'?> | ||
<project> | ||
<actions/> | ||
<description>IQSS-develop build for GDCC</description> | ||
<keepDependencies>false</keepDependencies> | ||
<properties> | ||
<com.coravy.hudson.plugins.github.GithubProjectProperty plugin="github@1.29.4"> | ||
<projectUrl>https://github.com/IQSS/dataverse/</projectUrl> | ||
<displayName></displayName> | ||
</com.coravy.hudson.plugins.github.GithubProjectProperty> | ||
</properties> | ||
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3"> | ||
<configVersion>2</configVersion> | ||
<userRemoteConfigs> | ||
<hudson.plugins.git.UserRemoteConfig> | ||
<url>https://github.com/IQSS/dataverse.git</url> | ||
</hudson.plugins.git.UserRemoteConfig> | ||
</userRemoteConfigs> | ||
<branches> | ||
<hudson.plugins.git.BranchSpec> | ||
<name>*/develop</name> | ||
</hudson.plugins.git.BranchSpec> | ||
</branches> | ||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> | ||
<submoduleCfg class="list"/> | ||
<extensions/> | ||
</scm> | ||
<canRoam>true</canRoam> | ||
<disabled>false</disabled> | ||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> | ||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | ||
<triggers> | ||
<com.cloudbees.jenkins.GitHubPushTrigger plugin="github@1.29.4"> | ||
<spec></spec> | ||
</com.cloudbees.jenkins.GitHubPushTrigger> | ||
</triggers> | ||
<concurrentBuild>false</concurrentBuild> | ||
<builders> | ||
<hudson.tasks.Shell> | ||
<command>#!/usr/bin/env bash | ||
|
||
echo "exit on error" | ||
set -e | ||
|
||
echo "package warfile" | ||
mvn package</command> | ||
</hudson.tasks.Shell> | ||
</builders> | ||
<publishers/> | ||
<buildWrappers> | ||
<org.jenkinsci.plugins.buildnamesetter.BuildNameSetter plugin="build-name-setter@1.7.1"> | ||
<template>#${BUILD_NUMBER}: ${GIT_BRANCH}, SHA:${GIT_REVISION, length=8} (${BUILD_CAUSE})</template> | ||
<runAtStart>true</runAtStart> | ||
<runAtEnd>true</runAtEnd> | ||
</org.jenkinsci.plugins.buildnamesetter.BuildNameSetter> | ||
</buildWrappers> | ||
</project> |