+++ /dev/null
----
-# OpFlex macros
-
-- builder:
- name: opflex-build
- builders:
- - maven-target:
- maven-version: "mvn33"
- pom: genie/pom.xml
- goals: compile
- - shell: !include-raw-escape: scripts/opflex-build.sh
-
-- builder:
- name: "opflex-build-libuv"
- builders:
- - shell: !include-raw-escape: scripts/libuv-build.sh
-
-- builder:
- name: "opflex-build-openvswitch"
- builders:
- - shell: !include-raw: scripts/openvswitch-build.sh
-
-- builder:
- name: "opflex-build-rapidjson"
- builders:
- - shell: !include-raw-escape: scripts/rapidjson-build.sh
-
-- builder:
- name: opflex-deploy-maven-file
- # Todo: Remove this builder when the generic version of the builder is
- # available in global-jjb. Change no: 5753
- # Deploy artifacts to a repository.
- #
- # The builder requires passing the following parameters
- # REPO_ID: Repository ID
- # GROUP_ID: Group ID of the repository
- # UPLOAD_FILES_PATH: Path to directory containing one or more files
- builders:
- - lf-maven-install:
- mvn-version: "{mvn-version}"
- - lf-provide-maven-settings:
- global-settings-file: "{global-settings-file}"
- settings-file: "{settings-file}"
- - inject:
- properties-content: |
- MAVEN_REPO_URL=file://$WORKSPACE/m2repo
- REPO_ID={repo-id}
- GROUP_ID={group-id}
- UPLOAD_FILES_PATH={upload-files-dir}
- - shell: !include-raw-escape:
- - ../global-jjb/shell/common-variables.sh
- - scripts/deploy-opflex.sh
-
-- builder:
- name: opflex-maven-stage
- # Todo: Migrate to the generic version of the builders available in
- # global-jjb. Change no: 5753
- # Stage files to Nexus repository.
- #
- # The builder requires passing the following parameters
- # REPO_ID : Repository ID
- # GROUP_ID : Group ID of the repository
- # UPLOAD_FILES_PATH : Path to directory containing one or more files
- # STAGING_PROFILE_ID : Staging profile id created on Nexus
- builders:
- - lf-provide-maven-settings:
- global-settings-file: "{global-settings-file}"
- settings-file: "{settings-file}"
- - lf-infra-create-netrc:
- server-id: opendaylight-staging
- - inject:
- properties-content: |
- STAGING_PROFILE_ID={staging-profile-id}
- - shell: !include-raw-escape:
- - ../global-jjb/shell/maven-stage.sh
-
-- scm:
- name: "git-opflex-libuv"
- scm:
- - git:
- url: https://github.com/libuv/libuv.git
- branches:
- - "refs/tags/v$LIBUV_VERSION"
- wipe-workspace: true
-
-- scm:
- name: "git-opflex-ovs-v2"
- scm:
- - git:
- url: https://github.com/openvswitch/ovs.git
- branches:
- - "refs/tags/v$OPENVSWITCH_VERSION"
- wipe-workspace: true
-
-- scm:
- name: "git-opflex-rapidjson"
- scm:
- - git:
- url: https://github.com/miloyip/rapidjson.git
- branches:
- - "refs/tags/v$RAPIDJSON_VERSION"
- wipe-workspace: true