Skip to content

Commit 383a9ad

Browse files
committed
Update CI to code changes
1 parent 862d7cd commit 383a9ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ jobs:
254254
echo "Print version using version command"
255255
/floodgate/bin/floodgate version
256256
echo "Comare changes - clean Spinnaker"
257-
/floodgate/bin/floodgate << parameters.floodgate_extra_params >> --config ~/floodgate.yaml compare && exit 1 || echo "Found changes"
257+
/floodgate/bin/floodgate << parameters.floodgate_extra_params >> --config ~/floodgate.yaml compare && exit 1 || if [ $? -eq 1 ]; then echo "Found changes"; else echo "Unsupported error code: $?"; exit 1; fi
258258
echo "Apply local resources"
259259
/floodgate/bin/floodgate << parameters.floodgate_extra_params >> --config ~/floodgate.yaml sync
260260
echo "Compare changes - synced resources"

0 commit comments

Comments
 (0)