89
votes
Accepted
Is there a [ci skip] option in GitLab CI?
Yes, there is:
If your commit message contains [ci skip] or [skip ci], using any capitalization, the commit will be created but the pipeline will be skipped.
Alternatively, one can pass the ci.skip ...
11
votes
Accepted
How to build a complex parallel Jenkins pipeline?
Based on the comments to my question, and some basic testing the following seems to work:
Use nested parallel statements. (Thanks @lawnmowerlatte)
Although today (May 15th 2017) Jenkins Blue ocean ...
11
votes
Jenkins: What is a build?
As you guessed, build not necessarily means "compile". Building is a process of creating software from sources, which might include stuff like gathering dependencies, compiling, archiving, ...
7
votes
Accepted
Is artifact promotion in this pipeline correct?
It depends on the artifact repository you are using but in general, you tag the artifacts in the repository to indicate their state. This can specify it has passed some level of quality gate, some ...
6
votes
CodeBuild - multiple input artifacts in AWS Pipeline
We've had exactly the same problem - our build stage needs to use information from two separate locations.
To solve this in a generic manner, I've created two general purpose Lambdas - one that will ...
6
votes
Accepted
How to cache third party resources in a build pipeline?
I'm not overly familiar with Docker particularly but it sounds a lot like issues one would get when building a normal .NET application or java app with the need to store their external dependencies (...
5
votes
How to build a complex parallel Jenkins pipeline?
I had a similar situation in which I wanted to nest other parallel jobs threads inside another parallel one. This code worked for me:
def performDeploymentStages(String node, String app) {
stage("...
5
votes
Reading two Repos in Azure Build pipeline
I also use the classic editor, and I have implemented this for our builds. My use case was that I have a set of common set of build/release scripts stored in their own repository, and I want the ...
5
votes
Why do companies use JFrog Artifactory or other repositories instead of Maven central repository?
Saved bandwith and faster downloads: Artifactory stores the artifacts that are downloaded from maven central. So if another developer needs the same dependencies they don't need to be downloaded again ...
4
votes
Continuous Integraton using Jenkins Pipeline for a .NET project
Specifically in answer to your 3rd question, if you are willing to look outside of the Jenkins Ecosystem there are alternatives out there that might be of value to you.
For my clients who use the ...
4
votes
Accepted
Maven command for Sonarqube analysis
Well, you can pass multiple goals to maven in command line simply by passing them as arguments.
Skipping test require a java system property that you can also pass as an argument to the command line. ...
4
votes
CodeBuild - multiple input artifacts in AWS Pipeline
I have actually solved the problem by cloning repository directly in codebuild:
Pass GitHub token:
- { Name: GITHUB_TOKEN, Value: {Ref: GitHubToken } }
- { Name: GITHUB_BRANCH, Value: {...
4
votes
Accepted
Automated patching of docker images
As this question is quite high-level, I give a high level answer.
Technically, if there is an incident, you would normally enforce a shutdown of a running container and a replacement with a newer ...
4
votes
Accepted
Decoupling data of devops tools eg jenkins nexus
You might want to explore immutable architecture.
Steps
CI with static analysis(Sonarqube, because free!), pushing version artefacts to Nexus.
Base Image using Packer. These must be revisited from ...
4
votes
Is local / staging / production still industry standard?
When you say "Industry Standard" that's very much going to depend on what industry.
You can drop code into production however you want (legally restricted industries obviously being the ...
3
votes
Accepted
CodeBuild - multiple input artifacts in AWS Pipeline
As of Sep 4 2018 Amazon added support for multiple input sources:
https://aws.amazon.com/about-aws/whats-new/2018/08/aws-codebuild-adds-ability-to-create-build-projects-with-multiple-input-sources-...
3
votes
Configuration of AWS CodePipeline for Android CI/CD
The indentation looks incorrect for the artifacts section in your buildspec-test.yml file. It is nested under the phases section. That way it is not being output properly and can't be picked up by the ...
3
votes
Condition CircleCI build on what part of monorepo changed?
This discussion gives a pretty good suggestion on how to accomplish what I want.
https://discuss.circleci.com/t/does-circleci-2-0-work-with-monorepos/10378/11
3
votes
Multiple gradle builds with docker
There is currently an issue open to share Gradle cache between containers:
https://github.com/gradle/gradle/issues/851
I think the best solution at the moment is to bake as many dependencies in to ...
3
votes
Accepted
Storing Meta Data for Apps/tools
Problems with golden images are that you have to store a full system image with overhead of data which is not build-specific, and using conventions for configuration to make deploy process the same ...
3
votes
Accepted
How to manage Free and Open Source Software dependencies?
Any organization that needs the level of control you've specified is essentially forced into the preapproval process ("walled garden"). It's a pain for developers, but it's a necessary process to keep ...
3
votes
Accepted
Azure Devops: Filter Test Projects in Nuget Build Pipeline
I noticed that the description for the filepath properties of the pack command is different than the descriptions in the test and publish commands:
Pattern to search for csproj or nuspec files to ...
2
votes
How to manage Free and Open Source Software dependencies?
There are enterprise tools that manage these opensource dependencies namely Jfrog Artifactory with the Xray feature and Inedo ProGet with features for license filtering and vulnerability scanning.
...
2
votes
List of Ticket Management Software
Currently my team uses Jira, and it's RapidBoard agile thing. We aren't using real agile, but it's nice to schedule work loads for the next week.
Jira can be super complex, but we Have our tickets ...
2
votes
What are formal criteria for establishing declarative pipelines, or pipelines as a code?
Pipeline as Code (PaC) means that the CI/CD configuration will be stored in the VCS instead of in the CI/CD tool itself, e.g. configuring it manually by using a UI.
Any experiences what can be the "...
2
votes
Scope for one click deploy
The answer is: it depends.
Before I answer, I need to provide definitions for a couple of terms to prevent ambiguity.
1) Deploy is defined as the act of changing executables in an environment. This ...
2
votes
Accepted
Trigger a job and get the job log on the same page in Jenkins
It looks like there exists a plugin to do exactly what you want: Display console output plugin.
However, I haven't tried this plugin myself, and it looks like this plugin is not well-maintained, so I ...
2
votes
AWS CodePipeline staged deployments
I managed to setup an environment that does what I described above. Here are the full details:
Launch a template that creates a CodeCommit repository for the
application. This repository will be used ...
2
votes
Condition CircleCI build on what part of monorepo changed?
We're using CircleCI with Go monorepo.
Here’s how it’s done:
Define a job for each service in circle config yaml.
A git push triggers CircleCI job that finds which services are part of the change.
...
2
votes
Cancel sibling snapshot dependency on failure
I was unable to find a way to configure the build to behave like I wanted. Instead I needed to start using the TeamCity API to achieve this.
In the build.sh and test.sh file that TC runs, I extended ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
build-pipeline × 68azure-devops × 16
jenkins × 13
continuous-integration × 12
azure-pipelines × 11
docker × 8
jenkins-pipeline × 6
deployment × 6
continuous-deployment × 6
artifacts × 6
gitlab × 5
cicd × 5
builds × 5
amazon-web-services × 4
azure × 4
yaml × 4
ansible × 3
git × 3
continuous-delivery × 3
dotnet × 3
terminology × 2
jenkinsfile × 2
tfs × 2
versioning × 2
release × 2