Name.remal.travis ci

Plugin class: name.remal.gradle_plugins.plugins.ci.TravisCIPlugin

plugins {
    id 'name.remal.travis-ci' version '1.3.1'
}
plugins {
    id("name.remal.travis-ci") version "1.3.1"
}

 

This plugin works only if CI and TRAVIS environment variables equals to true.

The plugin applies name.remal.common-ci plugin.

Current build is treated as executed on a CI server if CI and TRAVIS environment variables equals to true.

 

The plugin sets ci extension values:

  • pipelineId to null
  • buildId to TRAVIS_BUILD_NUMBER environment variable (TRAVIS_BUILD_ID as fallback)
  • stageName to TRAVIS_BUILD_STAGE_NAME environment variable
  • jobName to TRAVIS_JOB_NAME environment variable (TRAVIS_JOB_NUMBER and then TRAVIS_JOB_ID as fallbacks)

 

If name.remal.vcs-operations plugin is applied, this plugin:

  • Sets vcsOperations.overwriteCurrentBranch to TRAVIS_PULL_REQUEST_BRANCH or TRAVIS_BRANCH environment variable (only if TRAVIS_TAG environment variable is empty)