Skip to content
Snippets Groups Projects
Select Git revision
  • 183d6d3a25350e4dba7a306444d51da10e50a7cb
  • master default
  • rtde
  • tmp-gpg-key-workaround-2
  • tmp-gpg-key-workaround
  • 68-git-lfs-error-in-ddeploy-job
  • split-build-and-test
  • 66-jazzy-support
  • 62-deploy-jobs-do-not-pull-files-from-lfs-manual-lfs-pull
  • 62-deploy-jobs-do-not-pull-files-from-lfs-custom-docker-image
  • py3-without-industrial-ci-test
  • 58-add-yolo-pip-package-support
  • 55-collision-between-test-jobs-due-to-dds-autodiscovery-ros2
  • 52-ddeploy-job-failing-when-enforcing-labels-alt-quick-dind-test
  • 48-python3_syntax
  • 46-default-docker-image-name-too-long
  • 45-double-pipeline-triggered-if-merge-request-has-melodic-branch-name
  • 40-repo-is-ros-testing
  • test-badges
  • test-lfs-concept
  • add-packages
21 results

.yamllint

Blame
  • gitlab-ci-maven.yml 31.23 KiB
    # =========================================================================================
    # Copyright (C) 2021 Orange & contributors
    #
    # This program 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 3 of the License, or (at your option) any later version.
    #
    # This program 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 
    # program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth 
    # Floor, Boston, MA  02110-1301, USA.
    # =========================================================================================
    spec:
      inputs:
        image:
          description: The Docker image used to run Maven - **set the version required by
            your project**
          default: registry.hub.docker.com/library/maven:latest
        project-dir:
          description: Maven project root directory
          default: .
        cfg-dir:
          description: The Maven configuration directory
          default: .m2
        settings-file:
          description: The Maven `settings.xml` file path
          default: $MAVEN_CFG_DIR/settings.xml
        opts:
          description: '[Global Maven options](http://maven.apache.org/configure.html#maven_opts-environment-variable)'
          default: >-
            -Dhttps.protocols=TLSv1.2
            -Dmaven.repo.local=${MAVEN_CFG_DIR}/repository
            -Dorg.slf4j.simpleLogger.showDateTime=true
            -Djava.awt.headless=true
        cli-opts:
          description: Additional [Maven options](https://maven.apache.org/ref/3-LATEST/maven-embedder/cli.html)
            used on the command line
          default: >-
            --no-transfer-progress
            --batch-mode
            --errors
            --fail-at-end
            --show-version
            -DinstallAtEnd=true
            -DdeployAtEnd=true
        build-args:
          description: Maven arguments for the build & test job
          default: org.jacoco:jacoco-maven-plugin:prepare-agent verify org.jacoco:jacoco-maven-plugin:report
        sonar-host-url:
          description: SonarQube server url
          default: ''
        sonar-base-args:
          description: SonarQube [analysis arguments](https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/analysis-parameters/)
          default: >-
            sonar:sonar
            -Dsonar.links.homepage=${CI_PROJECT_URL}
            -Dsonar.links.ci=${CI_PROJECT_URL}/-/pipelines
            -Dsonar.links.issue=${CI_PROJECT_URL}/-/issues
        sonar-quality-gate-enabled:
          description: 'Enables SonarQube [Quality Gate](https://docs.sonarsource.com/sonarqube-server/latest/instance-administration/analysis-functions/quality-gates/)
            verification.
    
    
            _Uses `sonar.qualitygate.wait` parameter ([see doc](https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/ci-integration/overview/#quality-gate-fails))._'
          type: boolean
          default: false
        dependency-check-disabled: