Argyle
  • Member for 3 years, 5 months
  • Last seen more than a week ago
  • Maryland, USA
Is scrum or kanban really useful for SRE teams?
7 votes

We don't use Agile for the DevOps group ourselves, but we do integrate with the normal Scrum Teams. When something is needed by the team from DevOps, such as optimizing the build server, the related ...

View answer
What is the difference between Jenkin's `Replay` and `Rebuild` options?
Accepted answer
6 votes

Rebuild, using the Rebuilder plugin allows a completed job to be re-executed while allowing you to change the parameters, assuming your job is parameterized. Replay does something similar, except it ...

View answer
Unable to parse YAML: mapping values are not allowed here
Accepted answer
4 votes

Running your config.yml through yamllint, produced the following: 1:1 warning missing document start "---" (document-start) 13:3 error duplication of key "build" in mapping (key-...

View answer
How to create a "silent" MySQL docker container?
Accepted answer
3 votes

You can run the container in detached mode by passing -d or --detach with the run command: https://docs.docker.com/engine/reference/run/#detached-vs-foreground

View answer
How to determine if a Jenkins build is triggered by a Pull Request merged to Master
2 votes

You might try installing the GitHub Integration plugin. Reading their documentation, they provide a number of environment variables you can use for your purpose. GITHUB_PR_STATE can be OPEN, CLOSE ...

View answer
Ansible ad-hoc command to reboot servers in serial with a pause
2 votes

I think this might be as easy as adding a sleep with the value of seconds you'd like to wait before rebooting. Also, since Ansible runs in parallel by default, we'll have to specify that we only want ...

View answer
How to deploy a desktop application using Azure DevOps?
2 votes

So you want to deploy a desktop application to a Windows machine? Looking through the rest of the documentation, the following links may be helpful: Windows Machine File Copy task Build, test, and ...

View answer
Is there an alternative to the Jenkins dir() to change to a directory on a Docker container?
Accepted answer
2 votes

I could not achieve changing the working directory using the suggestion by Vishwas, although I did try creating a Jenkins user inside the container with the same uid as the host. It just didn't work ...

View answer
Jenkins Plugin:Extended Choice Parameter from JSON file
1 votes

EDIT: Updating my answer to include steps on using the Declarative Directive Generator. You can experiment with the different available configuration options, and sometimes gets hints as to what ...

View answer
Using Jenkins gitlab token to make an API call
1 votes

You can do this using the Credential Binding Plugin. Open an existing pipeline job, scroll down to the text area where you enter the pipeline code, and click the Pipeline Syntax link to open the ...

View answer
Jenkins file that uses docker-compose gives ambigous error
1 votes

You need to install the Docker Commons plugin? https://plugins.jenkins.io/docker-commons/ Edit: According to this link for I would like to use Docker CLI inside of a Pipeline job You need to make ...

View answer
mariadb docker on raspberry
Accepted answer
1 votes

Does the following work? docker-compose exec mariadb /usr/bin/mysql -u <your_db_username> --password=<your_db_password> < your_db_backup.sql Note: mariadb is the name of your ...

View answer
Are there arguments against using “imagization" tools in the literature and if so, what are the main ones?
Accepted answer
1 votes

You might have better luck finding answers to your questions if you use the more standard term of "containerization". This article discusses containerization as well as some pros and cons you might ...

View answer
Are there any tools to monitor custom console applications on Windows Server?
Accepted answer
1 votes

This is probably a question better suited for ServerFault or StackOverflow. One approach that may work is to Create a Windows Service from an Executable, then set the service to restart on failure/...

View answer
How to define dynamic parallel stages in a Jenkinsfile?
1 votes

I hope this helps. We had a similar issue and solved it using the below method. Our project contains about 12 or so different components (programs) that we wanted to build in parallel. Because some ...

View answer
Legacy build environment in Docker container, incompatible with Jenkins agent
Accepted answer
1 votes

According the the Jenkins docs, you could use your custom docker image as the execution environment, assuming the server Jenkins is running on has Docker installed/running. pipeline { agent { ...

View answer
Store data in Jenkins job description
1 votes

Not sure if this would work for you, but what I do is store all of the build metadata into a BuildInfo.json file. You could just save it as an XML file like you said, but I found it easier to parse ...

View answer
How to save groovy output to pipeline variable
Accepted answer
1 votes

Have you tried setting returnStdout to true in the sh() command per the Jenkins documentation? You can then assign that output to a variable within your pipeline: def artifactsList = sh(label: '...

View answer
Equivalent of GitLab's "before_script" for Jenkins?
1 votes

You can use the Jenkins provided step dir() which changes the directory to one relative to the Jenkins env.WORKSPACE (/var/lib/jenkins/workspace/JOB_NAME by default). stage('Build') { steps { ...

View answer
What is the most common server permission policy for web application deployment?
1 votes

According to the Nginx docs you can configure the user which runs Nginx. By default the user is nobody. You can read this Ask Ubuntu question that explains how to configure Apache2 to run as a ...

View answer
How can we automatically transition Epic Jiras based on the transitions of underlying Jiras?
1 votes

I think this link on the Atlassian Community forum may be what you're trying to do.

View answer
What is the cheapest way to get CI for a Qt project?
1 votes

You could use Jenkins along with Gitlab for your CI. Both are free. As far as the Qt project goes, you could use the sh or bat steps to run qmake, or cmake for that matter, from within the build job. ...

View answer
Jenkins Pipeline GitLab API Credentials Management
1 votes

Are you doing the building using web hooks or just polling? I think it's inevitable that you'll have to create a Jenkins account to manage API access. This Gitlab link explains how to use the Jenkins ...

View answer
Jenkins Pipeline - Clean before checkout - git clean -fdx "failed to remove: Directory not empty"
0 votes

I think this might just be a permissions issue. You can test this by manually running git clean -fdx as the user running Jenkins. If it doesn't work, try it again with sudo git clean -fdx. If it works,...

View answer
System monitoring and reporting with Jenkins
0 votes

If I understand the question correctly, you want a way to distribute status information of other servers, not specifically the Jenkins server, to less-technical users. Is that correct? I guess the ...

View answer