{"id":17173750,"url":"https://github.com/netodevel/spring-boot-continuous-deploy","last_synced_at":"2025-07-14T04:33:38.257Z","repository":{"id":104722180,"uuid":"80522656","full_name":"netodevel/spring-boot-continuous-deploy","owner":"netodevel","description":"Continuous Deployment with Spring Boot and Jenkins","archived":false,"fork":false,"pushed_at":"2017-08-09T12:03:44.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T12:55:46.464Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netodevel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-31T13:27:18.000Z","updated_at":"2020-07-22T23:21:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed89a89a-0b2e-4325-b4fa-0279f07b91a7","html_url":"https://github.com/netodevel/spring-boot-continuous-deploy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/netodevel/spring-boot-continuous-deploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netodevel%2Fspring-boot-continuous-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netodevel%2Fspring-boot-continuous-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netodevel%2Fspring-boot-continuous-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netodevel%2Fspring-boot-continuous-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netodevel","download_url":"https://codeload.github.com/netodevel/spring-boot-continuous-deploy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netodevel%2Fspring-boot-continuous-deploy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265240230,"owners_count":23732972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T23:52:13.811Z","updated_at":"2025-07-14T04:33:38.239Z","avatar_url":"https://github.com/netodevel.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-boot-continuous-deploy\nContinuous Deployment with Spring Boot and Jenkins\n\n# Requeriments\n\n* Maven\n* Java \n* Jenkins\n* Git\n\n# Structure\n\n    __deploy\n       __develop\n          __clone-project\n          server-dev.log\n          myproject.jar\n       __production\n          __clone-project\n          server-prod.log\n          myproject.jar\n\n# Shell script life cycle\n\n### First step:\nThe clone of the branch (master or develop)\n\n### Second step:\nPerforms the maven clean package to generate our application.jar\n\n### Third step:\nLet's move our jar to directory (develop or production)\n\n### Fourth step:\nKill the process that is running the application\n\n### Fifth step:\nrestart our application.\n\n\n# Usage\nReplace the {} parameters in the shells files.\n\n\n| Parameters   | Description    |\n| ------------- |:-------------:| \n| {YOUR_USER}   | Your linux machine user.|\n| {YOUR_USER_GIT} | Your git user for authentication in the pull command. |\n| {YOUR_PASSWORD_GIT}  | Your git password for authentication in the pull command. |\n| {URL_GIT}    | Git url of your project. | \n| {JAR_NAME}  | JAR NAME OF YOUR PROJECT | \n\n# Jenkins Integration\n\n### First step:\ncreate job project maven.\n\n### Second Step:\nSource Code Management use GIT\n\nSelect branch (master or develop)\n\n### Third step:\nCheck the SCM periodically\n\nadd schedule `****`\n\n### Fourth step:\nAdd Post Steps if build succeeds\n\nRun Shell\n\n`./deploy-master` or `./deploy-develop`\n\n\n# Configuration Enviroment Spring Boot\n\n### Add in your application-production.properties\n\n    spring.profiles.active=production\n    logging.level.org.springframework.security: INFO\n    logging.level.org.springframework.web: INFO\n    server.port=8082\n    server.context-path=/\n    server.tomcat.remote-ip-header=x-forwarded-for\n    server.tomcat.protocol-header=x-forwarded-proto\n    server.tomcat.access-log-enabled=true\n    server.tomcat.basedir=target/tomcat\n    server.tomcat.uri-encoding=UTF-8\n    \n### Use application-properties for develop\n    \n    spring.profiles.active=develop\n    server.port=8083\n    logging.level.org.springframework.security: INFO\n    logging.level.org.springframework.web: INFO\n    \n# License\n\n    The MIT License (MIT)\n\n    Copyright (c) 2017 José Vieira \n\n    Permission is hereby granted, free of charge, to any person obtaining a \n    copy of this software and associated documentation files (the \"Software\"), \n    to deal in the Software without restriction, including without limitation \n    the rights to use, copy, modify, merge, publish, distribute, sublicense, \n    and/or sell copies of the Software, and to permit persons to whom the Software is \n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included \n    in all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, \n    INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR \n    PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE \n    FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n    ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetodevel%2Fspring-boot-continuous-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetodevel%2Fspring-boot-continuous-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetodevel%2Fspring-boot-continuous-deploy/lists"}