X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fdocs%2Fdocs-template.yaml;h=d0d42157bed6958e07e82b65482329bb5937cce2;hb=af2731233e5a7ef6b57301c2378d37481d5ca42b;hp=13632e14606008380d06c4a61c0b4c8030f5b147;hpb=9cf7f8727ae33989cfb02036f25dbf03216efecd;p=releng%2Fbuilder.git diff --git a/jjb/docs/docs-template.yaml b/jjb/docs/docs-template.yaml index 13632e146..d0d42157b 100644 --- a/jjb/docs/docs-template.yaml +++ b/jjb/docs/docs-template.yaml @@ -1,12 +1,12 @@ --- # Autorelease build jobs - job-template: - name: 'docs-update-{stream}-{project-name}' + name: "docs-update-{stream}" ###################### # Default parameters # ###################### - disable-job: 'false' + disable-job: "false" ##################### # Job Configuration # @@ -14,7 +14,7 @@ project-type: freestyle node: centos7-builder-2c-2g - disabled: '{disable-job}' + disabled: "{disable-job}" properties: - lf-infra-properties: @@ -22,29 +22,42 @@ parameters: - lf-infra-parameters: - project: '{project}' - project-name: '{project-name}' - branch: '{branch}' - stream: '{stream}' - lftools-version: '{lftools-version}' + project: "releng/autorelease" + project-name: "autorelease" + branch: "{branch}" + stream: "{stream}" + lftools-version: "{lftools-version}" - string: name: RELEASE_NAME - description: 'The next release name eg Magnesium' + description: "The next release name eg: Silicon, Phosphorus." - bool: name: PUBLISH default: false - description: 'The flag to publish or not' + description: "The flag to publish or not" scm: - - lf-infra-gerrit-scm: - git-url: '$GIT_URL/$GERRIT_PROJECT' - branch: '$GERRIT_BRANCH' - refspec: '$GERRIT_REFSPEC' + - lf-gerrit-clone: + 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 + basedir: "autorelease" choosing-strategy: default + wipe-workspace: true + - lf-gerrit-clone: + git-url: "$GIT_URL/docs" + branch: "$GERRIT_BRANCH" + refspec: "$GERRIT_REFSPEC" + jenkins-ssh-credential: opendaylight-jenkins-ssh + submodule-disable: true + basedir: "docs" + submodule-recursive: false + submodule-timeout: 10 + choosing-strategy: default + wipe-workspace: false wrappers: - lf-infra-wrappers: @@ -56,3 +69,21 @@ publishers: - lf-infra-publish + +- scm: + name: lf-gerrit-clone + scm: + - git: + credentials-id: "{jenkins-ssh-credential}" + url: "{git-url}" + basedir: "{basedir}" + refspec: "{refspec}" + branches: + - "refs/heads/{branch}" + skip-tag: true + wipe-workspace: "{wipe-workspace}" + submodule: + disable: "{submodule-disable}" + recursive: "{submodule-recursive}" + timeout: "{submodule-timeout}" + choosing-strategy: "{choosing-strategy}"