jenkins-x-plugins / octant-jx

a Jenkins X plugin for Octant for visualising pipelines and environments
Apache License 2.0
30 stars 14 forks source link

pipeline step view: export env vars as export script #18

Open jstrachan opened 4 years ago

jstrachan commented 4 years ago

when debugging locally a step that fails, it'd be super nice if there was a quick way to turn all the env vars into a shell script for copy/paste into a terminal!

e.g. a button/link to view the env vars as a shell script.

e.g. for this page..

Octant

have a way to show that as text...

export APP_NAME="foo"
export BRANCH_NAME="PR-3"
...
jenkins-x-bot commented 3 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with /close. Provide feedback via https://jenkins-x.io/community. /lifecycle stale

jenkins-x-bot commented 3 years ago

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity. If this issue is safe to close now please do so with /close. Provide feedback via https://jenkins-x.io/community. /lifecycle rotten

jstrachan commented 3 years ago

FWIW we've a CLI command for this now: https://jenkins-x.io/v3/develop/reference/jx/pipeline/env/