Variable | Description |
---|---|
|
The App ID for a GitHub app |
|
The private key for a GitHub app |
|
The installation ID for the organisation / user account that the GitHub app has been installed to |
|
A Jenkins instance (defaults to |
|
A Maven repository which should be treated as the incrementals destination,
defaults to |
|
An Artifactory user’s API key (from the user profile in Artifactory) |
|
A URL pointing to the generated repository-permissions-updater output,
defaults to
|
|
A |
|
A string that is required for Authorization: Bearer $token authentication to allow access |
Variable | Description |
---|---|
|
URL which will serve up JSON which represents metadata about a Pipeline Run (example) |
|
Same but for metadata of the repository folder. |
|
URL to a |
This service only supports one kind of request, and is expected to only be
called by the buildPlugin()
step or other Jenkins Pipelines which are
publishing incrementally built artifacts into Artifactory.
{
"build_url" : "https://ci.jenkins.io/job/structs-plugin/job/PR-36/3/"
}
This URL is expected to be the value of a BUILD_URL
environment variable from
Jenkins.
Unit tests can simply be run by executing make check
in this directory.
For acceptance testing, please set the appropriate Environment Variables in a terminal and
then execute make run
in the repository root directory.
Once the Azure Functions container has come online, requests can be sent to the Function, for example:
curl -H "Authorization: Bearer ${PRESHARED_KEY}" -H 'Content-Type: application/json' -i -d '{"build_url":"https://ci.jenkins.io/job/Plugins/job/jenkins-infra-test-plugin/job/master/52/"}' http://localhost:3000