Skip to content

get-dx/datacloud-jenkins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dx-data-sharer

Introduction

This plugin is intended for customers of DX (https://getdx.com/). It shares Jenkins build data with DX.

To run this plugin locally:

To generate a *.hpi file:

  • mvn package

Getting started

Installing the Plugin

  • Run your Jenkins instance. This involves finding jenkins.war (the location can vary, but if you installed with Homebrew, it is likely /usr/local/Cellar/jenkins/2.451/libexec), and running Java -jar jenkins.war

  • Click "Manage Jenkins"

Screenshot 2024-04-09 at 4 25 20 PM
  • Click "Plugins"
Screenshot 2024-04-09 at 4 25 29 PM
  • Click "Advanced Settings"
Screenshot 2024-04-09 at 4 25 39 PM
  • Click "Choose File" under "Deploy Plugin", and select the *.hpi file
Screenshot 2024-04-09 at 4 25 51 PM
  • Once the upload is complete, restart Jenkins
  • To confirm the plugin is present, confirm dx-data-sharer.jpi is present in {jenkins_home}/plugins/
  • To confirm the plugin is running, check the console ouput for a build. You should see the message: "Authentication token not found for key: dx_token". Proceed to the next step: Adding your DX API Key to Jenkins.

Adding Your DX API Key to Jenkins

  • Click “Manage Jenkins” in the menu on the left side of the homepage.
Screenshot 2024-04-01 at 12 16 19 PM
  • Click “Manage Credentials” in the Security section
Screenshot 2024-04-01 at 12 16 40 PM
  • You will see your credentials, if you have any. Click on the store or domain you would like to add your DX API Key to.
Screenshot 2024-04-01 at 12 23 43 PM
  • Click “Add Credentials”.
Screenshot 2024-04-01 at 12 25 13 PM
  • For "Kind", select “Secret Text”
  • Choose your desired scope
  • For “Secret”, ass your API Key
  • For “ID”, use the string "dx_token"
  • For "Description", use “An API Key for the DX API”
  • Click “OK”

Adding Your DX URL to Jenkins

  • Follow the same steps you used to add your API Key, but use the following values: -- ID: "dx_path" -- Secret: your company’s DX URL -- Description: Company-specific DX URL

Issues

Report issues and enhancements in the Jenkins issue tracker.

Contributing

CONTRIBUTING

Refer to our contribution guidelines

LICENSE

Licensed under MIT, see LICENSE

About

Jenkins Plugin for Data Cloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published