Changes api-programming-guide job to:

publish to api.openstack.org
source from openstack/api-site

Re-orders the jobs in the api-jobs.yaml file.
Rebases against master.

Change-Id: I82f45e88a2b4f6bcd48cc4dff0c5678400107d37
Reviewed-on: https://review.openstack.org/15143
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
This commit is contained in:
Jeremy Stanley 2012-11-02 15:13:51 +00:00 committed by Jenkins
parent 4abafa57fb
commit ebb86f159a
3 changed files with 68 additions and 64 deletions

View File

@ -3,27 +3,77 @@
jobs:
- gate-{name}-merge
# in zuul/layout.yaml specified to only run against master branch.
# this copies static files from www
# this moves the openstack-api-programming job from manuals.yaml and adjusts target
# and publishers accordingly
- job:
name: openstack-api-site
name: openstack-api-programming
project-type: maven
concurrent: true
node: precise
wrappers:
- timeout:
timeout: 40
fail: true
triggers:
- zuul-post
prebuilders:
- gerrit-git-prep
- markdown-docbook:
filename: "openstack-api-programming"
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
maven:
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: openstack-api-programming/pom.xml
goals: 'clean generate-sources'
publishers:
- console-log-post
- ftp:
site: api.openstack.org
source: 'doc/target/docbkx/webhelp/openstack-api-programming/**'
target: 'openstack-compute/programmer/'
remove-prefix: 'doc/target/docbkx/webhelp/openstack-api-programming/'
excludes: '**/*.xml,**/null*'
# this replaces the old openstack-api-quick-start job
- job:
name: openstack-api-quick-start
project-type: maven
concurrent: false
node: precise
triggers:
- zuul-post
builders:
prebuilders:
- gerrit-git-prep
maven:
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: api-quick-start/pom.xml
goals: 'clean generate-sources'
publishers:
- console-log-post
- ftp:
site: api.openstack.org
source: 'www/**'
source: 'doc/target/docbkx/webhelp/api-quick-start-onepager/**'
target: ''
remove-prefix: 'www/'
excludes: ''
- console-log-post
remove-prefix: 'doc/target/docbkx/webhelp/api-quick-start-onepager/'
excludes: '**/*.xml,**/null*'
remote-directory: 'api/quick-start'
# this replaces the old openstack-api-site job in Jenkins
- job:
@ -55,35 +105,28 @@
excludes: '**/*.xml,**/null*'
remote-directory: ''
# this replaces the old openstack-api-quick-start job
# in zuul/layout.yaml specified to only run against master branch.
# this copies static files from www
- job:
name: openstack-api-quick-start
project-type: maven
name: openstack-api-site
concurrent: false
node: precise
triggers:
- zuul-post
prebuilders:
builders:
- gerrit-git-prep
maven:
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: api-quick-start/pom.xml
goals: 'clean generate-sources'
publishers:
- console-log-post
- ftp:
site: api.openstack.org
source: 'doc/target/docbkx/webhelp/api-quick-start-onepager/**'
source: 'www/**'
target: ''
remove-prefix: 'doc/target/docbkx/webhelp/api-quick-start-onepager/'
excludes: '**/*.xml,**/null*'
remote-directory: 'api/quick-start'
remove-prefix: 'www/'
excludes: ''
- console-log-post
# this replaces the old openstack-netconn-api-doc job
- job:

View File

@ -125,46 +125,6 @@
remove-prefix: 'doc/target/docbkx/webhelp/images-api-2.0/'
excludes: '**/*.xml,**/null*'
- job:
name: openstackapi-programming
project-type: maven
concurrent: true
node: precise
wrappers:
- timeout:
timeout: 40
fail: true
triggers:
- zuul-post
prebuilders:
- gerrit-git-prep
- markdown-docbook:
filename: "openstackapi-programming"
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
maven:
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/src/docbkx/openstack-api-programming/pom.xml
goals: 'clean generate-sources'
publishers:
- console-log-post
- ftp:
site: docs.openstack.org
source: 'doc/target/docbkx/webhelp/openstack-api-programming/**'
target: 'api/openstack-compute/programmer/'
remove-prefix: 'doc/target/docbkx/webhelp/openstack-api-programming/'
excludes: '**/*.xml,**/null*'
- job:
name: openstack-glossary
project-type: maven

View File

@ -762,6 +762,7 @@ projects:
- openstack-api-quick-start
- openstack-api-site
- openstack-api-ref
- openstack-api-programming
- name: openstack/compute-api
check: