name: MAVEN_SELECTOR
default: '{maven}'
description: 'Maven selector to be used by shell scripts'
+
+- parameter:
+ name: maven-exec
+ parameters:
+ - string:
+ name: MVN
+ default: '/w/tools/hudson.tasks.Maven_MavenInstallation/{maven-version}/bin/mvn'
+ description: 'Maven selector to be used by shell scripts'
+
- parameter:
name: repo-name-parameter
parameters:
default: '{repo-name}'
description: 'Name of repo to which to publish packaging'
+- parameter:
+ name: compiler-parameter
+ parameters:
+ - string:
+ name: CC
+ default: '{cc}'
+ description: "CC parameter, can be gnu or clang"
+
+- parameter:
+ name: is-csit-vpp-job-parameter
+ parameters:
+ - string:
+ name: IS_CSIT_VPP_JOB
+ default: '{is-csit-vpp-job}'
+ description: "Parameter is True if this is a CSIT vpp job."
+
##### SCMS
- scm:
fail: true
- wrapper:
- name: build-no-activity-timeout
+ # This wrapper is used for all jobs that require no-activity timeouts
+ name: fdio-infra-wrappers-non-activity-timeout
wrappers:
- - timeout:
- type: no-activity
- timeout: '{build-timeout}'
- fail: true
+ - timeout:
+ type: no-activity
+ timeout: '{build-timeout}'
+ fail: true
+ - timestamps
+ - ssh-agent-credentials:
+ users:
+ - 'jenkins-gerrit-credentials'
+ - jclouds:
+ single-use: True
+ - openstack:
+ single-use: True
- wrapper:
# This wrapper is required for all jobs as it configures the wrappers
- 'jenkins-gerrit-credentials'
- jclouds:
single-use: True
+ - openstack:
+ single-use: True
###### TRIGGERS
- trigger:
output-path: '{output-path}'
other-files: ''
+- publisher:
+ name: fdio-infra-shiplogs
+ # To archive things, the job will need to create an "archives" directory in
+ # the workspace and this macro will handle copying the contents of the
+ # archives directory.
+ #
+ # Uses the build parameter ARCHIVE_ARTIFACTS if not empty to find files to
+ # archive. You can pass globstar patterns for example "**/*.xml **/*.log" as
+ # the archive pattern. This is a space separated list of files to archive.
+ #
+ # Also ensure that the workspace is cleaned up at the end of the build.
+ publishers:
+ - postbuildscript:
+ builders:
+ - shell: !include-raw: include-raw-deploy-archives.sh
+ - maven-target:
+ maven-version: '{maven-version}'
+ pom: '.archives/deploy-archives.xml'
+ goals: 'clean deploy -V -B -q -Dmaven.repo.local=/tmp/r'
+ settings: 'jenkins-log-archives-settings'
+ settings-type: cfp
+ global-settings: 'global-settings'
+ global-settings-type: cfp
+ - description-setter:
+ regexp: '^Build logs: .*'
+ script-only-if-succeeded: false
+ script-only-if-failed: false
+ mark-unstable-if-failed: true
+ - workspace-cleanup:
+ fail-build: false
+
###### BUILDERS
- builder:
name: ci-management-check-unicode