「継続的インテグレーションの概要」および「継続的インテグレーションのワークフロー」セクションでは、継続的インテグレーションの概念を紹介し、継続的インテグレーションがプロセスとしてどのように機能するかを概説します。本セクションでは、継続的インテグレーションのプロセスについて説明し、Micro Focus が提供する各種製品がそのプロセスにどのように適合し、そのプロセスに価値をもたらすかを示します。
以下の図は、「継続的インテグレーションのワークフロー」のトピックで紹介しているプロセスを示していますが、プロセスのさまざまな段階で使用できる Micro Focus 製品が追記されています。この図では Micro Focus 製品を紹介していますが、説明されているプロセスでは Micro Focus 製品の使用は必須ではないため、プロセスの一部でサードパーティ製品をすでに使用している場合は、引き続きその製品を使用して Micro Focus 製品と統合できます。
上図内の数字の箇条書き箇所の詳細は次のとおりです。
この図では、ChangeMan ZMF をソース コード管理システムとして使用する方法を示していますが、その製品だけを使用することに限定されるものではありません。Enterprise Developer は SCC 準拠のソース コード管理システムと連携するため、Enterprise Developer では実質的にあらゆるソース コード管理システム (Micro Focus 製品またはサードパーティ製品であるかにかかわらず) とシームレスに作業できます。
メインフレーム開発では、Enterprise Developer および Enterprise Sync (Micro Focus Enterprise スイートの別の製品) を併用することで、メインフレームのソース コードを分散型のソフトウェア構成管理プラットフォームに複製し、並列アプリケーション開発の効率を大幅に向上させることが可能です。
この時点で、手順 2 でチェックインされた変更が正常にビルドされ、ビルドに使用されたソース コードにビルド ラベルが適用されています (そのため、必要に応じてビルドを再作成できます)。
ビルドに失敗した場合、CI サーバーは手順 1 からのプロセスを再開する関連開発者に通知を送ります。開発者は、Enterprise Developer を使用してビルド エラーを解決するために必要な変更を行います。
この時点で、手順 2 でチェックインされた変更は正常にビルドされテストが完了しています。手動の作業はほとんどあるいはまったく不要です。
Jenkins を使用して上記リストの CI サーバー タスクを実行する方法については、「Enterprise Developer および Jenkins の連携」を参照してください。
次のリストでは、継続的インテグレーションのプロセスに関わる各 Micro Focus 製品を簡単に概説します。
Micro Focus ChangeMan ZMF is a comprehensive, automated change management system for reliably implementing mainframe software changes from development to testing to production, and treats change management as a business issue by giving key stakeholders visibility into the release process. ChangeMan ZMF protects your corporate assets and helps you get more done in less time.
Micro Focus Enterprise Analyzer delivers a wide array of tools and content to enable you to quickly gain a thorough understanding of your applications, meaning that you reduce the amount of time it takes you to make your changes and you can have more confidence that your changes have the desired effect and do not introduce any new issues.
You can also use Enterprise Analyzer to run queries to determine if your code conforms to your in-house standards. Any code that does not conform to your standards can be flagged as an error following a commit or during the build process.
Micro Focus Enterprise Developer provides an integrated development environment (IDE) that streamlines mainframe COBOL and PL/I development activities. This toolset provides access, flexibility, and extensibility to modern technologies through fast integration and remote development capability.
Enterprise Developer には、CI プロセスでの使用に適した次の機能が含まれています。
Micro Focus Enterprise Sync integrates with Enterprise Developer to enable faster and more efficient parallel development. Replicating your mainframe source code on a distributed platform lets you take full advantage of the huge range of modern GUI-based tooling that is available to help you to adopt a modern application development process.
Using Enterprise Sync, changes made to your distributed source control are synchronized automatically with your mainframe software change management system, keeping your mainframe application source code as the primary system of record and ensuring the integrity of your software change and configuration management processes.
Micro Focus Enterprise Test Server is an IBM mainframe application test environment on Windows. It enables you to confidently test mainframe application change on scalable, low-cost commodity hardware, and expands your test capacity to scale to meet the delivery timelines and quality standards driven by today's business requirements.
An example of a way in which Enterprise Test Server can simplify your testing is the ability to export and import execution environments. Once you have set up an Enterprise Test Server environment for testing an application you can export the definition of that environment to an XML file, where the XML definition includes details of all aspects of the Enterprise Test Server environment such as region definitions, locations of data files, and settings of environment variables. After exporting the definition you can then import it to be used during your testing, ensuring that the Enterprise Test Server environment you use in your testing is exactly the same environment as the one you know to be correct.