File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 5050 - name : url
5151 value : https://github.com/redhat-appstudio/tssc-cli.git
5252 - name : revision
53- value : main
53+ value : release-1.8
5454 - name : pathInRepo
5555 value : integration-tests/tasks/get-rhads-config.yaml
5656 params :
6666 - name : url
6767 value : https://github.com/redhat-appstudio/tssc-cli.git
6868 - name : revision
69- value : main
69+ value : release-1.8
7070 - name : pathInRepo
7171 value : integration-tests/tasks/start-pipelines.yaml
7272 params :
Original file line number Diff line number Diff line change 9393 - name : url
9494 value : https://github.com/redhat-appstudio/tssc-cli.git
9595 - name : revision
96- value : main
96+ value : release-1.8
9797 - name : pathInRepo
9898 value : integration-tests/tasks/tssc-install.yaml
9999 params :
Original file line number Diff line number Diff line change 6565 git clone "${GIT_URL}" .
6666 git checkout "${GIT_REVISION}"
6767 else
68- echo -e "INFO: Cloning repository 'redhat-appstudio/tssc-cli' with revision 'main'"
69- git clone https://github.com/redhat-appstudio/tssc-cli.git .
68+ target_repo_branch="$(echo "$JOB_SPEC" | jq -r '.git.target_repo_branch')"
69+ echo -e "INFO: Cloning repository 'redhat-appstudio/tssc-cli' with revision '$target_repo_branch'"
70+ git clone -b "$target_repo_branch" https://github.com/redhat-appstudio/tssc-cli.git .
7071 fi
7172
7273 # Generate the .env file for tssc installation based on the configuration given in the rhads-config
You can’t perform that action at this time.
0 commit comments