Cloud customer?
Start for Free >
Upgrade in MyJFrog >
What's New in Cloud >

Search





You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The Jenkins Integration is used to connect the JFrog Pipelines platform to Jenkins. This will enable a Jenkins build job to trigger execution of a pipeline in Pipelines.

Creating an Integration

You can add this integration by following steps on the Managing Pipelines Integrations page.

Here is the information you need to create this integration:

  • Name -- choose a friendly name for the integration
  • url -- enter the HTTP endpoint (URL) of your Jenkins  
  • username – The Jenkins account user name
  • api token – The Jenkins user's API token for authentication
  • callback user -- JFrog Platform username to use for basic authentication in the callback URL to Pipelines
  • callback password -- JFrog Platform user password


Page Contents

Usage

The Jenkins integration can be used in the BuildInfo resource.

A Jenkins integration can be added directly to a step in the integrations section to access its environment variables. 

Once the integration has been created, it provides the format of the callback URL and curl command lines that your Jenkins job must invoke to trigger execution of a pipeline in Pipelines.

Default Environment Variables

When you add this integration directly to a step, a set of environment variables is automatically made available.

Environment variable

Description

int_<integration-name>_urlHTTP endpoint of Jenkins
int_<integration-name>_hookUsernameCallback Username
int_<integration-name>_hookPasswordCallback Password



  • No labels
Copyright © 2021 JFrog Ltd.