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

Commit 33e6b39

Browse files
author
James Wallis
authored
[master] Odo devfile jenkinsfile master (#3185)
* Update Jenkinsfile to point to new location Signed-off-by: James Wallis <[email protected]> * Re-think logic Signed-off-by: James Wallis <[email protected]>
1 parent 3a80794 commit 33e6b39

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Jenkinsfile

+6-2
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,12 @@ pipeline {
288288
exit 1
289289
fi
290290
291-
ODO_DEVFILE_BRANCH="master-devfile"
292-
curl -Lfo ${SRC_DIR}/pfe/extensions/codewind-odo-extension-devfile-$VERSION.zip http://archive.eclipse.org/codewind/codewind-odo-extension/$ODO_DEVFILE_BRANCH/latest/codewind-odo-extension-devfile-$VERSION.zip
291+
ODO_DEVFILE_BRANCH="$BRANCH-devfile"
292+
ODO_DEVFILE_VERSION=$ODO_DEVFILE_BRANCH
293+
if [ $CHANGE_TARGET == "master" ]; then
294+
ODO_DEVFILE_VERSION="devfile-9.9.9999"
295+
fi
296+
curl -Lfo ${SRC_DIR}/pfe/extensions/codewind-odo-extension-devfile-$VERSION.zip http://archive.eclipse.org/codewind/codewind-odo-extension/$ODO_DEVFILE_BRANCH/latest/codewind-odo-extension-$ODO_DEVFILE_VERSION.zip
293297
if [ $? -ne 0 ]; then
294298
echo "Error downloading odo-devfile extension"
295299
exit 1

0 commit comments

Comments
 (0)