Monthly release of Bitrise CLI tools and summary of updates (September, 2017) - CLI v1.9.0

We ship a new bitrise cli version on the second Tuesday of every month.
The new release will be available on the bitrise.io
virtual machines on the weekend after the CLI release,
unless we discover a serious bug / regression.

Read on to learn more about this month’s Bitrise CLI release and about the changes around bitrise tools and steps.


New version of Bitrise CLI (1.9.0)

step timeout handling

From this bitrise version on you can specify the step’s timeout property to restrict the step’s max run time.

In the following bitrise.yml:

format_version: "4"
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git

workflows:
  timeout:
    steps:
    - script:
        timeout: 5
        inputs:
        - content: echo "This script is fast"
    - script:
        timeout: 5
        inputs:
        - content: echo "sleep makes this script too slow :("; sleep 10

the second script step will fail:

sleep makes this script too slow :(
ERRO[12:29:14] Step (script) failed, error: timeout

bitrise tools update

  • envman update to version 1.1.7
  • stepman update to version 0.9.34

bitrise default plugins update

  • init plugin update to version 0.9.10
  • step plugin update to version 0.9.5

go toolkit’s go version update to 1.9

bitrise normalize command fixes


New version of Stepman (0.9.34)

  • manage dependencies with dep
  • dependency updates

New version of Envman (1.1.7)

  • manage dependencies with dep
  • dependency updates

New steps

  • bitbucket-snippet-runner 0.1.0
  • firebase-testlab 0.9.0
  • script-runner 0.9.2
  • swiftlint 0.1.1

Step updates

  • apk-info 1.3.0:
  • aws-device-farm-runner 0.0.7:
  • certificate-and-profile-installer 1.8.8:
    • removed os.Exit(1) when checking expiry date
  • cordova-archive 0.9.3:
    • resolve symlinked output path
    • use custom options in build commands
  • deploy-to-bitrise-io 1.3.7:
    • allow custom name for compressed artifacts
  • ftp-upload 2.1.3:
    • added hostname cleanup to match the previous step input format
    • fix for: fails to upload when there are files to overwrite (MLSD support)
    • updated type_tags
  • git-clone 3.5.2:
    • retry merge using diff file and fallback to normal merge
  • git-commit-changelog 1.0.5:
    • release / tag containing Dom’s fixes
  • gradle-runner 1.7.7:
    • dependency file generation fix
  • install-missing-android-tools 2.0.2:
    • removed unnecessary android gradle plugin version handling
    • ensure gradlew executable permission
    • fixed create android licences directory
    • NEW OUTPUTS: COMPILE_SDK_VERSIONS and BUILD_TOOLS_VERSIONS
    • fix for missing settings.gradle file in the project root directory
    • fix for non three-component buildToolsVersion
    • log fixes
    • use gradle dependencies command to determine or install missing android sdk components
    • REMOVED INPUT: update_support_library_and_play_services
    • REMOVED OUPUT: COMPILE_SDK_VERSIONS
    • REMOVED OUPUT: BUILD_TOOLS_VERSIONS
  • ionic-archive 0.9.5:
    • do not fail if can not export .app file
    • fixed platform rm and add commands
    • handle symlinked output
    • use custom options in build commands
  • lifx-notifier 1.0.3:
  • nunit-runner 1.4.0:
    • BREAKING CHANGE: removed mdtool value option from build_tool input
    • BREAKING CHANGE: msbuild is the default value for build_tool input
  • openstf-connect 0.0.2:
    • console output coloring added
    • error messages spelling fixes
    • description typofixes
  • openstf-disconnect 0.0.3:
    • device releasing error made non-fatal so remaining devices can be released
  • project-scanner 1.5.7:
    • step version updates
    • step version update
    • format version rollback to bitriseModels.Version
    • format version rollback to “3”
    • step version updates
  • recreate-user-schemes 1.0.2:
    • fixed issue: in case of cocoapods project the refered pod project does not exist before pod install
  • slack 2.6.2:
    • check if body string is ok
  • virtual-device-testing-for-android 0.9.5:
    • upload test apk only if test type is instr.
    • changed input descriptions
  • xamarin-android-test 1.2.0:
    • BREAKING CHANGE: removed mdtool value option from build_tool input
    • BREAKING CHANGE: msbuild is the default value for build_tool input
  • xamarin-archive 1.5.0:
    • BREAKING CHANGE: removed mdtool value option from build_tool input
    • BREAKING CHANGE: msbuild is the default value for build_tool input
    • deprecated force_mdtool input removed
  • xamarin-ios-test 2.4.0:
    • BREAKING CHANGE: removed mdtool value option from build_tool input
    • BREAKING CHANGE: msbuild is the default value for build_tool input
  • xamarin-test-cloud-for-android 2.3.0:
    • BREAKING CHANGE: removed mdtool value option from build_tool input
    • BREAKING CHANGE: msbuild is the default value for build_tool input
  • xamarin-test-cloud-for-ios 2.4.0:
    • BREAKING CHANGE: removed mdtool value option from build_tool input
    • BREAKING CHANGE: msbuild is the default value for build_tool input
  • xcode-archive 2.2.1:
    • fixed exportOptions generation
    • auto generate Xcode 9’s new exportOptions property (provisioningProfiles)
    • react-native project_type_tag added
  • xcode-archive-mac 1.5.1:
    • BITRISE_XCARCHIVE_DIR_PATH output renamed to BITRISE_MACOS_XCARCHIVE_PATH
2 Likes

The new timeout param is super awesome!! Thanks @godreikrisztian :wink: