Skip to content

Commit

Permalink
Make sure to call generate_doc_maintenance_jobs.py for rosdoc2.
Browse files Browse the repository at this point in the history
So that when we run generate_all_jobs.py, we can properly
deploy rosdoc2 jobs.

Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette committed Apr 23, 2024
1 parent 7ad8967 commit b93bbc6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ros_buildfarm/scripts/generate_all_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from ros_buildfarm.config import get_release_build_files
from ros_buildfarm.config import get_source_build_files
from ros_buildfarm.config.doc_build_file import DOC_TYPE_MANIFEST
from ros_buildfarm.config.doc_build_file import DOC_TYPE_ROSDOC
from ros_buildfarm.config.doc_build_file import DOC_TYPE_ROSDOC, DOC_TYPE_ROSDOC2
from ros_buildfarm.jenkins import configure_view
from ros_buildfarm.jenkins import connect

Expand Down Expand Up @@ -130,6 +130,10 @@ def main(argv=sys.argv[1:]):
generate_doc_metadata_job(
args.config_url, ros_distro_name, doc_build_name,
dry_run=not args.commit)
elif doc_build_file.documentation_type == DOC_TYPE_ROSDOC2:
generate_doc_maintenance_jobs(
args.config_url, ros_distro_name, doc_build_name,
dry_run=not args.commit)
else:
assert False, ("Unknown documentation type '%s' in doc " +
"build file '%s'") % \
Expand Down

0 comments on commit b93bbc6

Please sign in to comment.