diff --git a/pipeline.sh b/pipeline.sh index 32b041c..c1c4589 100755 --- a/pipeline.sh +++ b/pipeline.sh @@ -65,6 +65,9 @@ EXAMPLES: ENVIRONMENT: GIT_SHA Git commit SHA (default: current HEAD) +NOTE: + On macOS, the script will automatically launch in a new iTerm window. + EOF exit 0 } @@ -307,6 +310,30 @@ run_jobs() { log_success "All jobs completed successfully" } +launch_in_iterm() { + log_info "Launching pipeline in new iTerm window..." + + local script_path="$0" + local args="" + + for arg in "$@"; do + args="$args $arg" + done + + osascript <