Skip to content

Differences in build on Jenkins?

I configure Jenkins to build a project from git, i’m using maven: However, the project build is incomplete: In a terminal the build occurred correct: In both case no error occurs and a build is finished with sucess. I don’t know exactly, why the differences are happening. Answer I was making two m…

OpenCV 3.1.0 won’t compile with CMake

I know there are many supposed duplicates for this matter, but since none of the answers worked for me I’d rather ask another question. My project won’t compile with CMake: Found package configuration file: /usr/share/OpenCV/OpenCVConfig.cmake but it set OpenCV_FOUND to FALSE so package “Ope…

Difference between archiving and compression

What is the difference between Archiving and compression in Linux? We have different commands for both which we can combine too.. but what exactly are they? Answer Archiving means that you take 10 files and combine them into one file, with no difference in size. If you start with 10 100KB files and archive th…

Package manager on the Docker Machine default VM?

I’m developing on OSX using Docker Machine. I used the quickstart terminal to let it create the default VM which is extremely minimal: In an OS X installation, the docker daemon is running inside a Linux VM called default. The default is a lightweight Linux VM made specifically to run the Docker daemon …

How do I read the whole command line?

Command $ ls -l | ./main.out The output will show My question is, how do I make my program to read the command before that, ls -l Answer Command line parameters are passed as arguments when calling the program. And your program will read the entire command line arguments. But What you are doing ($ ls -l | ./m…

formatting the output with sed command

I need your help… I got this kind of text: and the output I need is (first and second column and socialSecurityNumber OR tng-customer-id): So the question is … is it possible to solve this issue with sed command? I need the OR option here. If I try to do it separately, firstly, find the socialSecu…

./gradlew run BUILD FAILED

I have my build.gradle file set up and my project is working good so far. The problem now is when i run ./gradlew run, it fails with the error : What went wrong: Execution failed for task ‘:run’. Process ‘command ‘/usr/lib/jvm/java-7-openjdk-amd64/bin/java” finished with non-zero…