Configuring Jenkins to deploy Jobs on Nexus

Talend Software Development Life Cycle Best Practices Guide

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend MDM Platform
Talend Big Data
Talend Data Integration
Talend Data Management Platform
Talend Data Fabric
Talend ESB
Talend Data Services Platform
task
Deployment
Design and Development
Administration and Monitoring
EnrichPlatform
Talend Administration Center
Talend JobServer
Talend Repository Manager
Talend CommandLine
Talend Studio
Talend Artifact Repository
How to configure the DeployToNexus project on Jenkins to deploy all Jobs available in your project to the Nexus artifact repository.

Before you begin

You have generated your sources and have run all corresponding Tests, see Configuring Jenkins to generate the sources and Configuring Jenkins to run all tests.

Procedure

  1. In the DeployToNexus project configuration, set the path to the <jenkins_workspace>/RunTests/projectSources/pom.xml file generated previously in the Root POM field of the Build area.
  2. In the Goals and options field, enter the Maven instruction to deploy all the Jobs available into the Nexus artifact repository of your choice.
    deploy -fn -e

    This project deploys artifacts on Nexus by using the instructions held in the POM file.