steps-script-runner

command module
v0.0.0-...-0f349f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 7 Imported by: 0

README

Script Runner

Step changelog

Run scripts from file

Description

Run scripts from file

🧩 Get started

Add this step directly to your workflow in the Bitrise Workflow Editor.

You can also run this step directly with Bitrise CLI.

⚙️ Configuration

Inputs
Key Description Flags Default
file_path The script you want to run. required
runner The executor to be used for running the script. You can use any binary which is in the PATH (bash/ruby/etc.), multipart commands (e. g. go run), absolute paths (e. g. /bin/sh) or binaries from env (e. g. /usr/bin/env python). You can specify flags as well (e. g. /bin/bash -l). required bash
working_dir This directory will be set as the current working directory for the script. Any relative path in the Script (file_path) will be relative to this directory. $BITRISE_SOURCE_DIR
is_debug If debug=yes the step will print debug infos about the working dir, tmp file path, exit code, etc. no
Outputs There are no outputs defined in this step

🙋 Contributing

We welcome pull requests and issues against this repository.

For pull requests, work on your changes in a forked repository and use the Bitrise CLI to run step tests locally.

Learn more about developing steps:

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL