Add custom job name into the API

Hi,

I would like to query the name of a job that was created using the matrix attribute by a PR from github.
Example .travis File:

matrix:
  include:
  - name: 'super test1'
    env: TEST_NAME='TEST1'
  - name: 'super test2'
    env: TEST_NAME='TEST2'
script: java -jar "${JAR_PATH}" -test "${TEST_NAME}"

I can’t get the value of name attribute (which is shown on travis webpage). Neither with the ‘build’ (https://developer.travis-ci.com/resource/build#Build) nor with the ‘job’ (https://developer.travis-ci.com/resource/job#Job) request.

Can anyone help me ?

Greetings, Michael

Confirmed that the custom name isn’t present in job info or build info anywhere, only the autogenerated “id” and “number”.

1 Like

I contacted the travis CI support and also got the confirmation that the information is not exposed via the API yet.

However, the support wrote me that they filed a feature request to make it visible. :slight_smile: