Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #select the snapshot or release
- if [ "$SELECT_SNAP_OR_REL_VERSION" == "Snapshots" ]
- then
- $SELECT_SNAPSHOT_VERSION
- echo "Snapshot Selected"
- elif [ "$SELECT_SNAP_OR_REL_VERSION" == "Releases" ]
- then
- $SELECT_RELEASE_VERSION
- echo "Release Selected"
- else
- echo "No Selection"
- fi
- #deploy the artifact to selected server
- if [ "$Server_Selection" == "192.168.94.139" ]
- then
- selectDevSnap;
- elif [ "$Server_Selection" == "192.168.94.140" ]
- then
- selectProdRel
- else
- echo "Error"
- fi
- #select the snapshot or release
- if [ "$SELECT_SNAP_OR_REL_VERSION" == "Snapshots" ]
- then
- $SELECT_SNAPSHOT_VERSION
- echo "Snapshot Selected"
- else
- if [ "$Server_Selection" == "192.168.94.139" ]
- then
- selectDevSnap;
- else
- echo "Error"
- fi
- fi
Add Comment
Please, Sign In to add comment