* Returns the ID of the current job. * @return {string}
()
| 159 | * @return {string} |
| 160 | */ |
| 161 | function ciJobId() { |
| 162 | return isGithubActions |
| 163 | ? env('GITHUB_RUN_NUMBER') |
| 164 | : isCircleci |
| 165 | ? env('CIRCLE_JOB') |
| 166 | : ''; |
| 167 | } |
| 168 | |
| 169 | /** |
| 170 | * Returns the URL of the current job. |