project-type: freestyle
node: ubuntu1804-us
concurrent: false
- archive-artifacts: '**/test/doc/build/html/*'
+ archive-artifacts: '**/build-root/build-test/doc/html/*'
allow-empty: 'true'
fingerprint: false
only-if-success: true
set -xe -o pipefail
[ "$DOCS_REPO_URL" ] || DOCS_REPO_URL="https://nexus.fd.io/content/sites/site"
[ "$PROJECT_PATH" ] || PROJECT_PATH=io/fd/vpp
-[ "$DOC_DIR" ] || DOC_DIR=test/doc/build/html
+[ "$DOC_DIR" ] || DOC_DIR=build-root/build-test/doc/html
[ "$SITE_DIR" ] || SITE_DIR=build-root/docs/deploy-site
[ "$RESOURCES_DIR" ] || RESOURCES_DIR=${SITE_DIR}/src/site/resources/vpp_make_test
[ "$MVN" ] || MVN="/opt/apache/maven/bin/mvn"
- master:
branch: 'master'
repo-stream-part: 'master'
- - '1901':
- branch: 'stable/1901'
- repo-stream-part: 'stable.1901'
- '1904':
branch: 'stable/1904'
repo-stream-part: 'stable.1904'
when: ansible_os_family == 'RedHat'
become: true
- - name: 'Install ruby gems'
- command: 'gem install "rubygems-update:<3.0.0" --no-document'
- become: 'true'
-
- - name: 'Install rake gem'
- command: 'gem install rake'
- become: true
-
- - name: 'Install PackageCloud'
- command: 'gem install package_cloud'
- become: true
-
roles:
- lfit.mono-install