|
| 1 | +/* |
| 2 | + * See the NOTICE file distributed with this work for additional |
| 3 | + * information regarding copyright ownership. |
| 4 | + * |
| 5 | + * This is free software; you can redistribute it and/or modify it |
| 6 | + * under the terms of the GNU Lesser General Public License as |
| 7 | + * published by the Free Software Foundation; either version 2.1 of |
| 8 | + * the License, or (at your option) any later version. |
| 9 | + * |
| 10 | + * This software is distributed in the hope that it will be useful, |
| 11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | + * Lesser General Public License for more details. |
| 14 | + * |
| 15 | + * You should have received a copy of the GNU Lesser General Public |
| 16 | + * License along with this software; if not, write to the Free |
| 17 | + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA |
| 18 | + * 02110-1301 USA, or see the FSF site: http://www.fsf.org. |
| 19 | + */ |
| 20 | + |
| 21 | +// It's assumed that Jenkins has been configured to implicitly load the vars/xwikiModule.groovy library which exposes |
| 22 | +// the "xwikiModule" global function/DSL. |
| 23 | +// Note that the version used is the one defined in Jenkins but it can be overridden as follows: |
| 24 | +// @Library("XWiki@<branch, tag, sha1>") _ |
| 25 | +// See https://github.com/jenkinsci/workflow-cps-global-lib-plugin for details. |
| 26 | + |
| 27 | +// TODO: Uncomment to have this maven project be built by https://ci.xwiki.org and to have SonarQube validate it at |
| 28 | +// https://sonarcloud.io/organizations/xwiki/projects |
| 29 | +/* |
| 30 | +xwikiModule { |
| 31 | + // Note: Java 11+ is required for Sonar/Sonarcloud |
| 32 | + goals = 'clean deploy jacoco:report sonar:sonar' |
| 33 | + profiles = 'quality,integration-tests,docker' |
| 34 | + sonar = true |
| 35 | +} |
| 36 | +*/ |
0 commit comments