「継続的インテグレーションの概要」および「継続的インテグレーションのワークフロー」セクションでは、継続的インテグレーションの概念を紹介し、継続的インテグレーションがプロセスとしてどのように機能するかを概説します。本セクションでは、継続的インテグレーションのプロセスについて説明し、Micro Focus が提供する各種製品がそのプロセスにどのように適合し、そのプロセスに価値をもたらすかを示します。
以下の図は、「継続的インテグレーションのワークフロー」のトピックで紹介しているプロセスを示していますが、プロセスのさまざまな段階で使用できる Micro Focus 製品が追記されています。この図では Micro Focus 製品を紹介していますが、説明されているプロセスでは Micro Focus 製品の使用は必須ではないため、プロセスの一部でサードパーティ製品をすでに使用している場合は、引き続きその製品を使用して Micro Focus 製品と統合できます。
上図内の数字の箇条書き箇所の詳細は次のとおりです。
この図では、AccuRev、Dimensions CM、StarTeam、または PVCS をソース コード管理システムとして使用する方法を示していますが、それらの製品だけを使用することに限定されるものではありません。Visual COBOL は SCC 準拠のソース コード管理システムと連携するため、Visual COBOL では実質的にあらゆるソース コード管理システム (Micro Focus 製品またはサードパーティ製品であるかにかかわらず) とシームレスに作業できます。
この時点で、手順 2 でチェックインされた変更が正常にビルドされ、ビルドに使用されたソース コードにビルド ラベルが適用されています (そのため、必要に応じてビルドを再作成できます)。
ビルドに失敗した場合、CI サーバーは手順 1 からのプロセスを再開する関連開発者に通知を送ります。開発者は、Visual COBOL を使用してビルド エラーを解決するために必要な変更を行います。
この時点で、手順 2 でチェックインされた変更は正常にビルドされテストが完了しています。手動の作業はほとんどあるいはまったく不要です。
Jenkins を使用して上記リストの CI サーバー タスクを実行する方法については、「Visual COBOL および Jenkins の連携」を参照してください。
次のリストでは、継続的インテグレーションのプロセスに関わる各 Micro Focus 製品を簡単に概説します。
Micro Focus AccuRev is a software configuration management tool that addresses complex parallel and distributed development environments with stream-based architecture to accelerate development processes and improve asset reuse.
AccuRev integrates with Visual COBOL to enable you to commit your changes to the shared repository quickly and easily with a minimum of fuss.
Micro Focus COBOL Analyzer is powerful code analysis and visualization toolset, designed to address the challenges of working with large-scale, complex applications.
COBOL Analyzer enables 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 COBOL 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.
COBOL Server is the deployment and execution environment for applications developed using Visual COBOL. It provides a high-performance, platform-portable run time environment in which your customers can execute your COBOL applications, while its small footprint and ease of installation makes it easy for you to use in your testing.
As well as providing the environment in which your COBOL applications run, COBOL Server includes features to simplify your testing. For example, once you have set up a COBOL 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 COBOL Server environment such as region definitions, locations of data files, and settings of environment variables. Once you have exported the definition you can import it to be used during your testing, ensuring that the COBOL Server environment you use in your testing is exactly the same environment as the one you know to be correct.
Micro Focus Dimensions CM streamlines the complexity of collaborative parallel development and increases team velocity while ensuring a high degree of release readiness.
Dimensions CM integrates with Visual COBOL to enable you to commit your changes to the shared repository quickly and easily with a minimum of fuss.
Micro Focus PVCS Version Manager is used by thousands of software developers around the world to meet their version control requirements. It is one of the most reliable, trusted, and proven solutions available.
PVCS integrates with Visual COBOL to enable you to commit your changes to the shared repository quickly and easily with a minimum of fuss.
Micro Focus StarTeam delivers changes across multiple ALM repositories and tools as the single source of truth. It's an enterprise change management system, serving both centralized and geographically distributed development teams, helping them achieve their highest level of software delivery.
StarTeam integrates with Visual COBOL to enable you to commit your changes to the shared repository quickly and easily with a minimum of fuss.
Micro Focus Visual COBOL is the next-generation solution for COBOL application development and deployment. It enables you to modernize COBOL systems using Visual Studio and Eclipse as well as deploy COBOL applications and services to new platforms, including .NET, JVM, and the cloud.
Visual COBOL には、CI プロセスでの使用に適した次の機能が用意されています。
With the recording loaded into the debugger you can monitor everything that influenced the running of the program (such as all input, disk access, and keyboard strokes) and because the debugger lets you move backwards and forwards through the execution path you can easily focus on potential causes of crashes or other unexpected behavior in the application.