Java Maven Demo

This article will guide you through how to compile a Maven project in bk-ci.

Prepare materials

detailed steps

  1. Associate the prepared gitlab codebase with bk-ci, please refer to

  2. Create a blank pipeline

  3. Add the following four plug-ins:

    1. Checkout Gitlab

    1. Shell Scripts

         #!/usr/bin/env bash
         cd initial
         mvn install
    2. Shell Scripts

      #!/usr/bin/env bash
      cd initial
      mvn test
    3. Upload artifacts

Last updated