Questions tagged [continuous-deployment]

A software engineering approach in which teams keep producing software in short cycles and ensure that the software can be released to production at any time.

Continuous Deployment (CD) is a continuous automation process where deployment of software to production systems is fully automated. This ensures that fixes and new features can be brought to production quickly.

This usually includes having a good set of automated tests to automatically verify the fitness of the software for production use.

See the article Continuous Delivery on Wikipedia for more information.

2362 questions
378
votes
14 answers

Continuous Integration vs. Continuous Delivery vs. Continuous Deployment

What's the difference between these three terms? My university provides the following definitions: Continuous Integration basically just means that the developer's working copies are synchronized with a shared mainline several times a…
78
votes
8 answers

How to trigger Jenkins builds remotely and to pass parameters

I am invoking a Jenkins job remotely using: wget http://:8080/job/Test-Jenkins/build?token=DOIT Here Test-Jenkins job is invoked and DOIT is the security token that I have used. Now I need to pass some parameters to the build.xml file of…
70
votes
14 answers

How to download the latest artifact from Artifactory repository?

I need the latest artifact (for example, a snapshot) from a repository in Artifactory. This artifact needs to be copied to a server (Linux) via a script. What are my options? Something like Wget / SCP? And how do I get the path of the artifact? I…
user1338413
  • 2,341
  • 8
  • 26
  • 35
56
votes
5 answers

How do you abort/end a Chef run?

Under certain conditions, I need to abort/end a Chef run with a non-zero status code, that will then propagate back through our deployment chain and eventually to Jenkins resulting in a big, fat red ball. What is the best way to do this?
Jordan Dea-Mattson
  • 5,695
  • 5
  • 35
  • 52
54
votes
2 answers

CI/CD of a ASP.NET Core Web API using VSTS

I have created an ASP.NET Core Web API app using Visual Studio 2017 (Community Edition). I could successfully publish to an Azure App Service using Visual Studio. I now want to set up CI/CD using VSTS. I used the 'Configure Continuous Delivery'…
43
votes
3 answers

Dependencies Between Workflows on Github Actions

I have a monorepo with two workflows: .github/workflows/test.yml name: test on: [push, pull_request] jobs: test-packages: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: test packages run: | …
40
votes
2 answers

Git short branch name in teamcity

I'm using teamcity 8.x.x version.I configured my Teamcity for continuous deployment. I'm need a feature branching deployment. I see this document "http://confluence.jetbrains.com/display/TCD8/Working+with+Feature+Branches". I'm trying this document…
Ömer Faruk Aplak
  • 794
  • 2
  • 8
  • 20
36
votes
2 answers

How is deployment to Production done from local VirtualBox / Vagrant development environment?

Recently I started to read about building development environments with virtualization software (I am a beginner) and it seems that 'infrastructure as a code' is a really powerful concept. I really like the workflow structure described here: The…
skanatek
  • 4,793
  • 3
  • 41
  • 69
36
votes
3 answers

continuous deployment with jenkins

I want to deploy with jenkins to the test environment and to the production environment. To do so I need to connect to the server of the wanted environment, something like ssh/scp. I would like to know what the best way is. I found some plugins to…
user1338413
  • 2,341
  • 8
  • 26
  • 35
35
votes
3 answers

How to deploy to Heroku directly from my Gitlab repository

In my team, we use Gitlab as a remote repository, so we are looking for a solution to auto deploy our apps to Heroku. We found Codeship for auto deploying apps to Heroku from Github. Any tips? Tricks?
Toanalien
  • 599
  • 1
  • 6
  • 15
32
votes
6 answers

Code build execution continues after build fails instead of stopping

I'm building a CI/CD pipeline using git, codebuild and elastic beanstalk. During codebuild execution when build fails due to syntax error of a test case, I see codebuild progress to next stage and ultimatly go on to produce the artifacts. My…
30
votes
4 answers

AWS CodePipeline not able to access Organization's repositories

I am trying to setup Continuous deployments pipelines in AWS Codepipeline. While creating a pipeline I provide "Source provider" as GitHub and then connect to GitHub. I am able to see my public repositories in "Repository" drop-down in create…
26
votes
2 answers

jenkins fails on building a downstream job

I'm trying to trigger a downstream job from my current job like so pipeline { stages { stage('foo') { steps{ build job: 'my-job', propagate: true, wait: true } } } } The purpose is to wait on the job result and fail…
omu_negru
  • 4,294
  • 3
  • 21
  • 36
25
votes
1 answer

Best-practice for continuous integration and deployment

Continuous integration concept has just been integrated in my team. Assume we have an integration branch named Dev. From it derived 3 branches, one for each specific current project : Project A Project B Project C First, Teamcity is configured…
25
votes
4 answers

android environment using docker and bitbucket pipelines

I am very new to Bitbucket pipelines (Beta) and docker.No previous experience on CI integration I followed this question , But no clear description for beginners I am trying to set up Continuous Integration (CI) in Bitbucket Pipelines for Android…
1
2 3
99 100