Latest questions in DevOps & Agile

+1 vote
2 answers

undo git add before commit

git status git will tell you what is ...READ MORE

Aug 20, 2018 in Git & GitHub by Nilesh
• 7,050 points

edited Dec 21, 2020 by MD 2,827 views
0 votes
2 answers

Detach/move subdirectory into separate git repo

git filter-branch --prune-empty --subdirectory-filter <YOUR_SUBDIR_TO_KEEP> master git push ...READ MORE

Aug 20, 2018 in Git & GitHub by Nilesh
• 7,050 points
628 views
0 votes
1 answer

Change a commit author for a specific commit

You can use interactive rebase. git rebase -i ...READ MORE

Aug 17, 2018 in Git & GitHub by Kalgi
• 52,360 points
2,950 views
0 votes
4 answers
0 votes
2 answers

Delete all git branches that have been merged

To delete all local branches that are ...READ MORE

Aug 21, 2018 in Git & GitHub by Nilesh
• 7,050 points
2,509 views
0 votes
2 answers

Add images to README.md on GitHub

This is the easiest way to go ...READ MORE

Aug 21, 2018 in Git & GitHub by Nilesh
• 7,050 points
19,746 views
0 votes
3 answers

Error: ‘Jenkins: Cannot define variable in pipeline stage’

https://stackoverflow.com/questions/39832862/jenkins-cannot-define-var ...READ MORE

Mar 13, 2019 in Jenkins by Charles Wu
4,724 views
0 votes
1 answer

Error: ‘Jenkins pipeline: No such DSL method'

This is a simple mistake, just remove ...READ MORE

Aug 17, 2018 in Jenkins by Sophie may
• 10,610 points
22,989 views
0 votes
1 answer

Error updating rsyslog using ansible

apparently my proxy server was blocking the ...READ MORE

Aug 17, 2018 in Ansible by DareDev
• 6,890 points
626 views
0 votes
1 answer

Where can I find Docker log (driver json-file) location for ‘Docker for windows’?

For windows, the container storage is the ...READ MORE

Aug 16, 2018 in Docker by Sophie may
• 10,610 points
2,115 views
0 votes
1 answer

How to make ‘Docker for windows’ use another VM besides MobylinuxVM?

docker-machine env can output the environment for cmd ...READ MORE

Aug 16, 2018 in Docker by Sophie may
• 10,610 points
1,093 views
0 votes
1 answer

Execute puma workers only in prod but not in dev environment

You can us RACK_ENV here instead of ...READ MORE

Aug 16, 2018 in Other DevOps Questions by ajs3033
• 7,300 points
1,084 views
0 votes
2 answers

How do I create a volume in kubernetes so that it doesn't get detroyed when pods die?

if you need to do this is ...READ MORE

Jul 26, 2020 in Kubernetes by Akash Gupta
1,346 views
0 votes
2 answers
0 votes
1 answer

Docker for Windows cleanup

Download docker-ci-zap.exe from https://github.com/jhowardmsft/docker-ci-zap and then run it in powershell with ...READ MORE

Aug 15, 2018 in Docker by Sophie may
• 10,610 points
3,609 views
+1 vote
1 answer

Git: Remove committed file after push

check out the previous (unchanged) state of ...READ MORE

Aug 14, 2018 in Git & GitHub by Kalgi
• 52,360 points
10,345 views
+1 vote
1 answer

CSS formatting getting stripped out when viewing on jenkins

CSS is stripped out because of the ...READ MORE

Aug 14, 2018 in DevOps & Agile by Kalgi
• 52,360 points
4,306 views
0 votes
2 answers

Error - trustAnchors parameter must be non-empty

This fixed the problem for me on ...READ MORE

Aug 17, 2018 in Jenkins by Nilesh
• 7,050 points
3,214 views
0 votes
1 answer

Push from phpstorm to bitbucket

I think you haven’t committed the changes ...READ MORE

Aug 14, 2018 in Git & GitHub by Kalgi
• 52,360 points
1,697 views
0 votes
2 answers

VSCode “please clean your repository working tree before checkout”

One of the ways is to stash ...READ MORE

Apr 22, 2019 in Git & GitHub by Nikhil
49,779 views
0 votes
1 answer

git - show modified files, except for deleted (or renamed) files

You can use --diff-filter=dr to exclude delete ...READ MORE

Aug 14, 2018 in Git & GitHub by Kalgi
• 52,360 points
4,445 views
0 votes
1 answer

Installing the Jenkins slave service by Jenkins

In the slave machine try install the ...READ MORE

Aug 14, 2018 in Jenkins by Kalgi
• 52,360 points
2,429 views
0 votes
1 answer

Set a Jenkins environment variable based on a job parameter

So if you give choice parameter the ...READ MORE

Aug 14, 2018 in Jenkins by Kalgi
• 52,360 points
8,120 views
0 votes
1 answer

Error: “Docker for Windows: No hypervisor is present”

I faced the same error and this ...READ MORE

Aug 14, 2018 in Docker by Sophie may
• 10,610 points
904 views
0 votes
1 answer

Error: Docker for Windows not working

The following worked for me: Download VirtualBox 5.03  Reboot ...READ MORE

Aug 14, 2018 in Docker by Sophie may
• 10,610 points
1,180 views
0 votes
2 answers

Calling a Jenkins build from outside of Jenkins?

Jenkins has support for parameterized build as ...READ MORE

Aug 13, 2018 in Jenkins by lina
• 8,220 points
1,315 views
0 votes
1 answer

Authenticate Jenkins CI for Github private repository

when you have a server that needs ...READ MORE

Aug 13, 2018 in Jenkins by Kalgi
• 52,360 points
2,552 views
0 votes
3 answers

How can I make Jenkins CI with Git trigger on pushes to master?

To automatically run build on code commit, follow ...READ MORE

Aug 7, 2019 in Jenkins by Sirajul
• 59,230 points
4,580 views
0 votes
2 answers

Different Jenkins $PATH

just add: source /etc/profile As the first step in ...READ MORE

Aug 13, 2018 in Jenkins by lina
• 8,220 points
6,767 views
+3 votes
12 answers

Set environment variables in Jenkins

You can try something like this stages { ...READ MORE

Dec 10, 2018 in Jenkins by Celia
107,916 views
+2 votes
5 answers

error cloning remote repo 'origin'

ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Could ...READ MORE

Jun 3, 2019 in Git & GitHub by Sirajul
• 59,230 points
38,710 views
0 votes
2 answers

Reset commit of remote branch

Just fix the issue on your local, ...READ MORE

Aug 13, 2018 in Git & GitHub by Nilesh
• 7,050 points
1,282 views
0 votes
1 answer

gerrit-cherry-pick:fatal: 'origin' does not appear to be a git repository

The user account making that command does ...READ MORE

Aug 13, 2018 in Git & GitHub by Kalgi
• 52,360 points
1,681 views
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

Aug 27, 2018 in Docker by Mahesh Ajmeria
3,291 views
+3 votes
4 answers

Chef vs puppet

Both chef and puppet have their own ...READ MORE

Aug 14, 2018 in Chef by Sahil
1,024 views
0 votes
1 answer

Docker image of maven returns this error - could not create local repository

Instead of mounting the root/.m2 folder to ...READ MORE

Aug 10, 2018 in Docker by Sophie may
• 10,610 points
4,762 views
0 votes
1 answer

Jenkins - maven project fails at Build stage

To fix this, you need to change ...READ MORE

Aug 10, 2018 in Jenkins by Sophie may
• 10,610 points
1,948 views
0 votes
1 answer

Using lxc_container module in ansible

This mostly happens when you've not installed ...READ MORE

Aug 10, 2018 in Ansible by DareDev
• 6,890 points
1,322 views
0 votes
1 answer

Build servers supported by release manager 2013

Release Management for Visual Studio 2013 is ...READ MORE

Aug 10, 2018 in DevOps & Agile by ajs3033
• 7,300 points
480 views
0 votes
1 answer

How do I get into a Docker container?

docker attach will let you connect to your ...READ MORE

Aug 10, 2018 in Docker by Kalgi
• 52,360 points
617 views
+1 vote
4 answers

Docker Compose wait for container X before starting Y

You can use the depends_on feature was ...READ MORE

May 7, 2019 in Docker by Kunal
10,691 views
0 votes
1 answer

Docker compose no response

May be you’ve used Charles as proxy ...READ MORE

Aug 10, 2018 in Docker by Kalgi
• 52,360 points
1,208 views
0 votes
1 answer

Docker-Compose with Docker 1.12 “Swarm Mode”

you can run docker service commands on ...READ MORE

Aug 10, 2018 in Docker by Kalgi
• 52,360 points
481 views
0 votes
1 answer

Can you use docker-compose files to start services in Docker 1.12 swarm-mode?

Yess, you can. you must download/install the ...READ MORE

Aug 10, 2018 in Docker by Kalgi
• 52,360 points
458 views
0 votes
1 answer

No output in output file even though pexpect scrift runs succesfully

You've got to wait til the ls ...READ MORE

Aug 10, 2018 in Docker by DareDev
• 6,890 points
3,458 views
0 votes
1 answer

Support for ES6 modules syntax on IBM bluemix

There is no native support for es6 ...READ MORE

Aug 10, 2018 in DevOps on Cloud by ajs3033
• 7,300 points
463 views
0 votes
1 answer

Unable to bring up the container using custom shell script as docker entrypoint

You have to put something infinite so ...READ MORE

Aug 9, 2018 in Docker by Damon Salvatore
• 5,980 points
2,548 views
0 votes
3 answers

How to get the Maven Version of a project in Jenkins?

Here is a snippet from our Jenkins ...READ MORE

Oct 4, 2019 in Jenkins by Petr Doležal
22,253 views
0 votes
2 answers

How can I list all the `env` properties within a Jenkins pipeline?

Here's a quick script you can add ...READ MORE

Aug 8, 2019 in Jenkins by Sirajul
• 59,230 points
7,882 views
0 votes
1 answer

Why am I not able to re-deploy after moving 3 apps into one folder ?

The error that you are getting i.e., app ...READ MORE

Aug 9, 2018 in DevOps & Agile by Damon Salvatore
• 5,980 points
431 views