Questions tagged [continuous-integration]

Continuous integration (CI) is the building and automated testing of the full software product on a frequent schedule: at least once a day, often several times a day and sometimes as often as after every check in to the version control system.

Concept

Continuous integration is an important part of an agile software development process. Integration is an important step to detect quality issues, so if it is done frequently, problems will be detected earlier and fewer at a time. Hence, continuous integration can help to reduce the overall cost of the process. Although continuous integration could be automated with simple scripting, it is generally more advantageous to use tools built for this purpose, especially for complex projects with many modular parts.

Tools

One of the first tools to become popular for this purpose was CruiseControl. Now there are many such products, both open source and proprietary.

References

Martin Fowler has a good writeup of what it all means in Continuous Integration.

13768 questions
6
votes
1 answer

Is it possible to have Travis-ci trigger another repository's build?

I am trying to wrap my head around Travis-ci scripts but I am trying to figure out if what I want is even possible: Repo #1: - my app to be built via travis-ci Repo #2: - contains selenium/nightwatch tests that should run once repo #1 is finished…
6
votes
1 answer

Get maven deployment URL during/after deployment

I have a Java project. It has a pom.xml set up and I use mvn deploy to deploy new artifacts to an internal company Nexus. And everything is working fine. But... I'm working on integrating this application in a CI/CD system. So, basically what I need…
morgoth84
  • 1,070
  • 2
  • 11
  • 25
6
votes
2 answers

Android SDK Download as Part of Gradle Build

I am trying build an Android app with Jenkins and I have little control over Jenkins' slave machines. In order to build the app I need the Android SDK installed on the slave, otherwise I get as expected: "SDK location not found. Define location with…
6
votes
1 answer

How to add rollback functionality to a basic S3 CodeBuild deploy

I have followed this instruction to get a very basic ci workflow in aws. It works flawless but I want to have a extra functionality, rollback. First i though it would work "out-of-the-box", but not in my case, if I select the the previous job in…
6
votes
3 answers

Failed rmRF: EPERM: operation not permitted, unlink .bowerrc

I am using TFS Online todo Continuous Integration The builds pass but the Release fail because I get the following error Unhandled: Failed rmRF: EPERM: operation not permitted, unlink 'C:\path\.bowerrc' The thing I did notice is that when i look at…
R4nc1d
  • 2,923
  • 3
  • 24
  • 44
6
votes
1 answer

VSTS build failed with Git fetch failed with exit code: 128

I setup a build agent and build process on VSTS. All configuration is ok but build is failed at getting source step. Here is what I have tried: Check permission: Since my profile is owner of this project so I do not specify permission in Roles I…
6
votes
3 answers

In jenkins declarative pipeline, how can I set environment variable based on method?

In jenkins declarative pipeline, how can I set the value of an environment variable based on custom groovy/powershell method? For instance, if I have a delcarative pipeline as follows, can I use a shared library method to set this value?…
6
votes
1 answer

Where to keep a GPG secret key for a Maven project in CI environment?

I'm trying to use maven-gpg-plugin:sign in order to sign project artifacts before deployment to Sonatype OSS repository. The question is where shall I keep my secret key secring.gpg: In continuous integration ~/.gnupg directory In project source…
yegor256
  • 102,010
  • 123
  • 446
  • 597
6
votes
3 answers

Continuous build infrastructure recommendations for primarily C++; GreenHills Integrity

I need your recommendations for continuous build products for a large (1-2MLOC) software development project. Characteristics: ClearCase revision control Approx 80% C++; 15% Java; 5% script or low-level Compiles for Green Hills Integrity OS, but…
andersoj
  • 22,406
  • 7
  • 62
  • 73
6
votes
1 answer

It is posible to get URL to current pipeline execution in Bitbucket Pipelines?

Every pipeline execution has their own URL (I think is a kind of UUID?). It's possible to get that URL or UUID to compose the URL? I have a command inside my tasks triggering messages using a REST/API call, but I want to include a link to the…
Gonzalo
  • 468
  • 1
  • 7
  • 17
6
votes
4 answers

firebase init command failing to execute

Can someone help me to solve this error I cannot run firebase init command before running firebase deploy. Error: Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth For CI servers and headless…
6
votes
0 answers

How can I prioritize later steps when running Jenkins pipeline scripts?

Suppose I have two similar simple pipeline scripts, each of which basically look like this: stage('only stage') { node { // first step } node { // second step } } Let's call the steps in my first script A and B, and the…
csapp
  • 61
  • 3
6
votes
3 answers

Jenkins: how to trigger pipeline on git tag

We want to use Jenkins to generate releases/deployments on specific project milestones. Is it possible to trigger a Jenkins Pipeline (defined in a Jenkinsfile or Groovy script) when a tag is pushed to a Git repository? We host a private Gitlab…
6
votes
1 answer

Allow anonymous access to only one specific Jenkins view or job

I am using Role Based Security in Jenkins. All my jobs are private, require login for every permission, which is good. However, I'm adding a couple of jobs that I would like to expose to the public. I would like anyone to be able to discover and…
rdgd
  • 1,451
  • 2
  • 18
  • 33
6
votes
2 answers

CI automation / Jenkins - don't trigger the build if a pull request has a label assigned (or other condition)

In my current company we use Jenkins, previously I used TeamCity but the approach looks exactly the same. Every time someone creates a pull request and pushes changes, CI tool (Jenkins in this case) triggers the build. Is it possible to configure it…
Matt Komarnicki
  • 5,198
  • 7
  • 40
  • 92
1 2 3
99
100