概要 CircleCIのビルドコンテナ上で、ビルドしたwarファイルをTomcatへデプロイする。 環境 Circle CI (CI) Bitbaket (Git Repository) Tomcat 8.0 スクリプト machine: timezone: Asia/Tokyo dependencies: pre: # tomcatをダウンロードしてセットアップする - sudo useradd tomcat - wget http://ftp.riken.jp/net/apache/tomcat/tomcat-8/v8.5.15/bin/apache-tomcat-8.5.15.tar.gz - tar -xzvf ./apache-tomcat-8.5.15.tar.gz - sudo mkdir /opt/apache-tomcat - sudo mv ./apache-tomca