- job: name: release-new node: smoke7 description: glusterfs release script project-type: freestyle scm: - glusterfs properties: - one-build-per-node parameters: - string: default: v3.10.0 description: Refspec to "git checkout" as the release code snapshot. Typically a git annotated tag like "v3.10.0". Specifying a branch name will use the current HEAD of that branch. name: GERRIT_REFSPEC - string: default: 3.10.0 description: Version name to be assigned to the release. name: RELEASE_VERSION - string: default: packaging@gluster.org,maintainers@gluster.org description: Mail addresses to send the announcement of the tarball too. name: ANNOUNCE_EMAIL - bool: default: true name: PUBLISH_ARCHIVES description: Publish archives to bits.gluster.org publishers: - archive: allow-empty: false artifacts: "*.tar.gz" default-excludes: true fingerprint: false only-if-success: true - archive: allow-empty: false artifacts: "*.sha512sum" default-excludes: true fingerprint: false only-if-success: true - email-ext: recipients: $ANNOUNCE_EMAIL subject: "glusterfs-${RELEASE_VERSION} released" body: | SRC: ${BUILD_URL}artifact/glusterfs-${ENV,var="RELEASE_VERSION"}.tar.gz HASH: ${BUILD_URL}artifact/glusterfs-${ENV,var="RELEASE_VERSION"}.sha512sum This release is made off jenkins-release-${BUILD_ID} save-output: true failure: false success: true builders: - shell: !include-raw: ../scripts/release.sh wrappers: - timestamps - credentials-binding: - file: credential-id: 0b53bb70-545a-445f-9664-228d9cc0e6e3 variable: BITS_KEY