Skip to content
This repository was archived by the owner on Jul 19, 2022. It is now read-only.

Commit 5798e64

Browse files
renamed ARTIFACT_GLOB to CF_APP_PATH
1 parent 174bc98 commit 5798e64

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

generate-manifest/task.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ set -eu
66
set -o pipefail
77

88
# copy the artifact to the task-output folder
9-
cp artifact/$ARTIFACT_GLOB task-output/.
9+
cp artifact/$CF_APP_PATH task-output/.
1010

1111
cd task-output
1212

1313
# convert 'artifact-*.jar' into 'artifact-1.0.0-rc.1.jar'
14-
appPath=$(ls $ARTIFACT_GLOB)
14+
appPath=$(ls $CF_APP_PATH)
1515

1616
cat <<EOF >manifest.yml
1717
---

generate-manifest/task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ image_resource:
1010
params:
1111
CF_APP_NAME:
1212
CF_APP_HOST:
13+
CF_APP_PATH:
1314
CF_APP_MEMORY:
1415
CF_APP_INSTANCES:
1516
CF_APP_TIMEOUT:
@@ -19,7 +20,6 @@ params:
1920
# JAVA_OPTS: -Djava.security.egd=file:///dev/urandom
2021
# TRUST_CERTS: api.run.pivotal.io
2122
CF_APP_ENV_VARS:
22-
ARTIFACT_GLOB:
2323

2424
inputs:
2525
- name: pipeline-tasks

0 commit comments

Comments
 (0)