Skip to content

Commit

Permalink
[Misc] Prepare the template repository
Browse files Browse the repository at this point in the history
  • Loading branch information
vmassol committed Jul 11, 2023
0 parents commit 2c32a69
Show file tree
Hide file tree
Showing 5 changed files with 619 additions and 0 deletions.
61 changes: 61 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# ---------------------------------------------------------------------------
# See the NOTICE file distributed with this work for additional
# information regarding copyright ownership.
#
# This is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of
# the License, or (at your option) any later version.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this software; if not, write to the Free
# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA, or see the FSF site: http://www.fsf.org.
# ---------------------------------------------------------------------------

# Maven
target
target-eclipse

# Gradle
build
.gradle

# IntelliJ IDEA
*.iml
*.ipr
*.iws
.idea
atlassian-ide-plugin.xml

# Eclipse
.classpath
.project
.settings
.checkstyle
.fbprefs
bin
# Automatically generated by WTP
**/src/main/java/META-INF/
**/src/test/java/META-INF/
**/src/META-INF/
# PyDev
.pydevproject

# NetBeans
nbproject

# Gradle Enterprise
.mvn/.gradle-enterprise

# Misc
*.log.*
*.log
.sonar-ide.properties
.clover
*~
36 changes: 36 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/

// It's assumed that Jenkins has been configured to implicitly load the vars/xwikiModule.groovy library which exposes
// the "xwikiModule" global function/DSL.
// Note that the version used is the one defined in Jenkins but it can be overridden as follows:
// @Library("XWiki@<branch, tag, sha1>") _
// See https://github.com/jenkinsci/workflow-cps-global-lib-plugin for details.

// TODO: Uncomment to have this maven project be built by https://ci.xwiki.org and to have SonarQube validate it at
// https://sonarcloud.io/organizations/xwiki/projects
/*
xwikiModule {
// Note: Java 11+ is required for Sonar/Sonarcloud
goals = 'clean deploy jacoco:report sonar:sonar'
profiles = 'quality,integration-tests,docker'
sonar = true
}
*/
Loading

0 comments on commit 2c32a69

Please sign in to comment.