X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fautorelease%2Fautorelease-templates.yaml;h=b7f06d9f953f480e5d9ead29105051bb5d002077;hb=93db3a3bd3a1fcf666cac50f85e34fc4a2b43995;hp=a54d5c64f9dd74c20e69c40d33fe609b2670ec91;hpb=69c3ad1a710d68e874012618f7dccfaffd7d011c;p=releng%2Fbuilder.git diff --git a/jjb/autorelease/autorelease-templates.yaml b/jjb/autorelease/autorelease-templates.yaml index a54d5c64f..b7f06d9f9 100644 --- a/jjb/autorelease/autorelease-templates.yaml +++ b/jjb/autorelease/autorelease-templates.yaml @@ -37,6 +37,7 @@ branch: master refspec: 'refs/heads/master' jenkins-ssh-credential: opendaylight-jenkins-ssh + submodule-disable: false submodule-recursive: true submodule-timeout: 10 choosing-strategy: default @@ -63,9 +64,15 @@ cron: 'H 0 * * *' java-version: '{java-version}' mvn-global-settings: global-settings + mvn-goals: clean deploy + mvn-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' + mvn-params: '' mvn-settings: autorelease-settings mvn-version: mvn35 - extra-mvn-opts: '' + sign-artifacts: true + mvn-central: true + ossrh-profile-id: 6386ebbbf3a563 + disable-job: 'false' ##################### # Job Configuration # @@ -73,35 +80,26 @@ project-type: freestyle node: '{build-node}' - jdk: '{java-version}' + disabled: '{disable-job}' properties: - lf-infra-properties: build-days-to-keep: 30 parameters: - - maven-exec: - maven-version: '{mvn-version}' - lf-infra-parameters: project: '{project}' stream: '{stream}' branch: '{branch}' lftools-version: '{lftools-version}' + - lf-infra-maven-parameters: + mvn-opts: '{mvn-opts}' + mvn-params: '{mvn-params}' + mvn-version: '{mvn-version}' - distribution-karaf-version: karaf-version: '{karaf-version}' - autorelease-release-tag: release-tag: '{stream}' - - string: - name: EXTRA_MVN_OPTS - default: '{extra-mvn-opts}' - description: | - Additional optional Maven Options to pass to the Maven Goals - parameter. - - Examples: - -Dskip.karaf.featureTest=true # To disable karaf SingleFeatureTests - --fail-never # NEVER fail the build, regardless of project result - --fail-at-end # Only fail the build afterwards; allow all non-impacted builds to continue - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' @@ -143,8 +141,6 @@ - lf-provide-maven-settings: global-settings-file: '{mvn-global-settings}' settings-file: '{mvn-settings}' - - lf-infra-create-netrc: - server-id: '{mvn-staging-id}' - autorelease-generate-release-patches - autorelease-generate-artifact-versions - lf-update-java-alternatives: @@ -157,23 +153,21 @@ # Keep the patches compatible with that ideal, but apply an edit # to enable building in a single maven reactor afterwards. - autorelease-fix-relative-paths - - maven-target: - maven-version: '{mvn-version}' - pom: 'pom.xml' - goals: | - clean deploy - $EXTRA_MVN_OPTS - -Pintegrationtests,repoBuild - -Dcheckstyle.skip=true - -DaltDeploymentRepository=staging::default::file:"$WORKSPACE"/m2repo - {opendaylight-infra-mvn-opts} - java-opts: - - '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: '{mvn-settings}' - settings-type: cfp - global-settings: '{mvn-global-settings}' - global-settings-type: cfp - - lf-maven-stage + - lf-maven-build: + mvn-goals: '{mvn-goals}' + - lf-sigul-sign-dir: + sign-artifacts: '{sign-artifacts}' + sign-dir: '$WORKSPACE/m2repo' + sign-mode: serial + - lf-maven-stage: + mvn-global-settings: '{mvn-global-settings}' + mvn-settings: '{mvn-settings}' + mvn-staging-id: '{mvn-staging-id}' + - lf-maven-central: + mvn-central: '{mvn-central}' + mvn-global-settings: '{mvn-global-settings}' + mvn-settings: '{mvn-settings}' + ossrh-profile-id: '{ossrh-profile-id}' - autorelease-get-integration-test-variables - autorelease-maven-sources: opendaylight-infra-mvn-opts: '{opendaylight-infra-mvn-opts}' @@ -223,6 +217,7 @@ ###################### cron: 'H 0 * * *' + disable-job: 'false' ##################### # Job configuration # @@ -230,6 +225,7 @@ project-type: freestyle node: centos7-builder-2c-2g + disabled: '{disable-job}' properties: - lf-infra-properties: @@ -249,6 +245,7 @@ branch: '{branch}' refspec: 'refs/heads/{branch}' jenkins-ssh-credential: opendaylight-jenkins-ssh + submodule-disable: false submodule-recursive: true submodule-timeout: 10 choosing-strategy: default @@ -287,6 +284,7 @@ ###################### cron: '@weekly' + disable-job: 'false' ##################### # Job configuration # @@ -294,6 +292,7 @@ project-type: freestyle node: centos7-builder-2c-1g + disabled: '{disable-job}' properties: - lf-infra-properties: @@ -312,6 +311,7 @@ branch: master refspec: 'refs/heads/master' jenkins-ssh-credential: opendaylight-jenkins-ssh + submodule-disable: false submodule-recursive: true submodule-timeout: 10 choosing-strategy: default @@ -365,6 +365,7 @@ mvn-global-settings: global-settings mvn-settings: autorelease-settings mvn-version: mvn35 + disable-job: 'false' ##################### # Job configuration # @@ -372,6 +373,7 @@ project-type: freestyle node: '{build-node}' + disabled: '{disable-job}' properties: - opendaylight-infra-properties: @@ -413,6 +415,7 @@ branch: '{branch}' refspec: 'refs/heads/{branch}' jenkins-ssh-credential: opendaylight-jenkins-ssh + submodule-disable: false submodule-recursive: true submodule-timeout: 10 choosing-strategy: default @@ -442,6 +445,7 @@ ###################### # Default parameters # ###################### + disable-job: 'false' gerrit_merge_triggers: - comment-added-contains-event: @@ -453,6 +457,7 @@ project-type: freestyle node: centos7-builder-2c-8g + disabled: '{disable-job}' properties: - lf-infra-properties: @@ -468,13 +473,14 @@ name: RELEASE description: | Release to generate release notes for. - Eg. Oxygen-SR1, Fluorine-SR2... + Eg. Neon-SR1, Fluorine-SR2... scm: - lf-infra-gerrit-scm: git-url: '$GIT_URL/$GERRIT_PROJECT' branch: '$GERRIT_BRANCH' refspec: '$GERRIT_REFSPEC' jenkins-ssh-credential: opendaylight-jenkins-ssh + submodule-disable: false submodule-recursive: true submodule-timeout: 10 choosing-strategy: default @@ -513,18 +519,19 @@ mvn-global-settings: global-settings mvn-settings: autorelease-settings mvn-version: mvn35 + disable-job: 'false' ##################### # Job Configuration # ##################### - disabled: false project-type: freestyle # Note: This NEEDS to be hardcoded as projects should NOT be allowed to # override the build node. node: centos7-builder-2c-8g concurrent: true jdk: '{java-version}' + disabled: '{disable-job}' properties: - lf-infra-properties: