This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository processor. See https://gitlab.nuiton.org/nuiton/processor.git commit 6b7aba78d50d4c3d99b1f5d78c7f6cd6f1b4994a Author: Eric Chatellier <chatellier@codelutin.com> Date: Fri Jul 31 10:55:35 2020 +0200 Add gitlab ci --- .gitlab-ci.yml | 21 +++++++++++++++++++++ src/site/site.xml | 11 ++--------- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..11063e1 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,21 @@ +image: maven:3.6-jdk-11 + +stages: + - build + - reporting + +build: + stage: build + script: + - mvn install + +pages: + stage: reporting + # only: + # - master + artifacts: + paths: + - public + script: + - mvn site:site site:stage -Preporting + - mv target/staging/nuitonpom/nuiton-processor public \ No newline at end of file diff --git a/src/site/site.xml b/src/site/site.xml index 517478b..445f006 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -21,9 +21,9 @@ #L% --> -<project name="${project.name}" xmlns="http://maven.apache.org/DECORATION/1.4.0" +<project name="${project.name}" xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/DECORATION/1.4.0 http://maven.apache.org/xsd/decoration-1.4.0.xsd"> + xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd"> <bannerLeft> <name>${project.name}</name> @@ -51,12 +51,5 @@ <menu ref="reports"/> - <footer><![CDATA[ - <div id='mavenProjectProperties' locale='fr' - projectId='${project.projectId}' - version='${project.siteDeployClassifier}' - sourcesType='${project.siteSourcesType}'/> - ]]></footer> - </body> </project> -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.