yoesoff

jenkin send root.war to s3

Nov 10th, 2020
517
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #Post Build script
  2. echo "New WAR file: "
  3. stat /var/lib/tomcat9/webapps/ROOT.war
  4. sudo chmod -R 777 /home/ubuntu/logs
  5.  
  6. s3cmd put file /var/lib/tomcat9/webapps/ROOT.war s3://goota-prod-war/
Advertisement
Add Comment
Please, Sign In to add comment