Guest User

Untitled

a guest
Nov 20th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. #select the snapshot or release
  2. if [ "$SELECT_SNAP_OR_REL_VERSION" == "Snapshots" ]
  3. then
  4. $SELECT_SNAPSHOT_VERSION
  5. echo "Snapshot Selected"
  6.  
  7. elif [ "$SELECT_SNAP_OR_REL_VERSION" == "Releases" ]
  8. then
  9. $SELECT_RELEASE_VERSION
  10. echo "Release Selected"
  11.  
  12. else
  13. echo "No Selection"
  14.  
  15. fi
  16.  
  17.  
  18.  
  19. #deploy the artifact to selected server
  20. if [ "$Server_Selection" == "192.168.94.139" ]
  21. then
  22. selectDevSnap;
  23.  
  24. elif [ "$Server_Selection" == "192.168.94.140" ]
  25. then
  26. selectProdRel
  27.  
  28. else
  29. echo "Error"
  30.  
  31. fi
  32.  
  33. #select the snapshot or release
  34. if [ "$SELECT_SNAP_OR_REL_VERSION" == "Snapshots" ]
  35. then
  36. $SELECT_SNAPSHOT_VERSION
  37. echo "Snapshot Selected"
  38.  
  39. else
  40.  
  41. if [ "$Server_Selection" == "192.168.94.139" ]
  42. then
  43. selectDevSnap;
  44.  
  45. else
  46. echo "Error"
  47.  
  48. fi
  49. fi
Add Comment
Please, Sign In to add comment