Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • In ‘Source Code Management’, select git and under ‘Repository’ add the repo detail

 eg : ‘https://code.rdkcentral.com/r/admin/repos/rdk/tools/automatics/rpi-provider/java-handler’ and also add the repo credentialsImage Removed

Image Added

  • Also add the branch of the repository in ‘Branches to build’

    eg : */rdk-next

    Image Modified

Configure Build Triggers

...

  • In the ‘Build’ settings, Click on ‘Add build step’ and Select ‘Invoke top-level Maven level targets’

Image Added

  • Add the following maven step in the text box
    clean deploy -DaltDeploymentRepository=<id>::default::<Artifact repository path>
    altDeploymentRepository – Specifies an alternative repository to which the project artifacts should be deployed
  • Click on Advanced button in ‘Invoke top-level Maven level targets’ and add following maven configuration. In the image shown below, maven settings.xml is place at /mnt/maven directory.  Update the settings.xml path based on its location in partner's VM.

Image Added

           Reference - https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html

...