- - shell: 'if [ -d /tmp/r ]; then rm -rf /tmp/r; fi'
-
-- builder:
- name: jacoco-nojava-workaround
- builders:
- - shell: 'mkdir -p $WORKSPACE/target/classes $WORKSPACE/jacoco/classes'
-
-- builder:
- name: check-clm
- builders:
- - sonatype-clm:
- application-name: '{application-name}'
-
-- builder:
- name: releng-check-unicode
- builders:
- - shell: |
- $WORKSPACE/scripts/check-unicode.sh jjb/
-
-- builder:
- name: provide-maven-settings
- builders:
- - config-file-provider:
- files:
- - file-id: '{global-settings-file}'
- variable: 'GLOBAL_SETTINGS_FILE'
- - file-id: '{settings-file}'
- variable: 'SETTINGS_FILE'
-
-- builder:
- name: releng-fetch-p2zip-if-necessary
- builders:
- - shell: |
- # Cleanup any existing zips and metadata before we download the new update site
- rm -f *.zip *.xml
- - conditional-step:
- condition-kind: strings-match
- condition-string1: '$P2ZIP_URL'
- condition-string2: ''
- condition-basedir: workspace
- steps:
- # TODO: Figure out latest snapshot version number to pull rather than hardcoding 1.1.1-SNAPSHOT
- - maven-target:
- maven-version: '{maven-version}'
- goals: >
- org.apache.maven.plugins:maven-dependency-plugin:get
- org.apache.maven.plugins:maven-dependency-plugin:copy
- -V -B
- -Dartifact=org.opendaylight.yangide:org.opendaylight.yangide.update-site:1.1.1-SNAPSHOT:zip
- -DoutputDirectory=$WORKSPACE
- settings: '{settings}'
- global-settings: '{global-settings}'
-
-- builder:
- name: releng-generate-p2pom
- builders:
- - shell: !include-raw: generate-p2pom.sh
-
-- builder:
- name: releng-update-p2composite-metadata
- builders:
- - shell: !include-raw: update-p2composite-metadata.sh
- - conditional-step:
- condition-kind: file-exists
- condition-filename: deploy-composite-repo.xml
- condition-basedir: workspace
- steps:
- - maven-target:
- maven-version: '{maven-version}'
- pom: 'deploy-composite-repo.xml'
- goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r'
- settings: '{settings}'
- global-settings: '{global-settings}'
-
-- publisher:
- name: releng-openstack-stack-delete
- publishers:
- - postbuildscript:
- builders:
- - role: BOTH
- build-on:
- - ABORTED
- - FAILURE
- - SUCCESS
- - UNSTABLE
- build-steps:
- - shell: |
- #!/bin/bash
- echo "Deleting $STACK_NAME"
- source "/tmp/v/openstack/bin/activate"
- openstack stack delete --yes "$STACK_NAME"
- mark-unstable-if-failed: false
-
-- builder:
- name: releng-stage-release
- builders:
- - shell: !include-raw: stage-release.sh