Created
November 24, 2019 12:55
-
-
Save mikroskeem/a0f006a3e83939d4d58d5b98d4f70e1b to your computer and use it in GitHub Desktop.
Run a multiline shell script inside Concourse CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
jobs: | |
- name: run-script | |
public: true | |
plan: | |
- task: execute-shell | |
config: | |
platform: linux | |
image_resource: | |
type: docker-image | |
source: | |
repository: busybox | |
tag: latest | |
run: | |
path: /bin/ash | |
args: | |
- "-e" | |
- "-c" | |
- | | |
echo "hello world! current date is: $(date '+%Y-%m-%d %H:%M:S')" | |
uname -a | |
id -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment