Publishing your artefacts with Jenkins
Jenkins can push your artifacts in order to make them available for your projects.
def response = httpRequest acceptType: 'APPLICATION_JSON',
contentType: 'APPLICATION_OCTETSTREAM',
httpMode: 'POST',
multipartName: 'file',
quiet: true,
responseHandle: 'NONE',
timeout: null,
uploadFile: './files/spark.jar',
customHeaders: [['name': 'X-Tenant', value: 'XXXXXXX'], ['name': 'Authorization', value: 'Basic XXXX']]
url: 'https://api.graal.systems/v1/api/libraries'