Configuring Jenkins to deploy Jobs on Nexus

Talend Software Development Life Cycle Best Practices Guide

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Data Integration
Talend Data Fabric
Talend ESB
Talend MDM Platform
Talend Big Data
Talend Data Services Platform
Talend Data Management Platform
task
Design and Development
Deployment
Administration and Monitoring
EnrichPlatform
Talend Administration Center
Talend CommandLine
Talend JobServer
Talend Artifact Repository
Talend Repository Manager
Talend Studio
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.