Established TCP socket on 42555 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/TunDeviceLib/workspace/pom.xml -Dmaven.repo.local=/var/lib/jenkins/maven-repositories/0 deploy -Plinux-x64,linux-x86 [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building TunDeviceLib 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- cmake-maven-plugin:3.7.2-b1:generate (cmake-generate-linux_64) @ TunDeviceLib --- [INFO] Using local binaries -- The C compiler identification is GNU 6.3.0 -- The CXX compiler identification is GNU 6.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found JNI: /opt/java/jdk1.8/jre/lib/amd64/libjawt.so -- JNI_INCLUDE_DIRS=/opt/java/jdk1.8/include;/opt/java/jdk1.8/include/linux;/opt/java/jdk1.8/include -- JNI_LIBRARIES=/opt/java/jdk1.8/jre/lib/amd64/libjawt.so;/opt/java/jdk1.8/jre/lib/amd64/server/libjvm.so -- Configuring done -- Generating done -- Build files have been written to: /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/cmake/linux-x64 [INFO] [INFO] --- cmake-maven-plugin:3.7.2-b1:compile (cmake-compile-linux_64) @ TunDeviceLib --- [INFO] Configured to use native CMake Scanning dependencies of target TunDeviceLib [ 16%] Building C object CMakeFiles/TunDeviceLib.dir/TunDeviceLib.c.o [ 33%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap.c.o [ 50%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap_log.c.o [ 66%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap-unix.c.o [ 83%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap-unix-linux.c.o [100%] Linking C shared module libTunDeviceLib.so [100%] Built target TunDeviceLib Scanning dependencies of target TunDeviceLibTarget [100%] Built target TunDeviceLibTarget [INFO] [INFO] --- cmake-maven-plugin:3.7.2-b1:generate (cmake-generate-linux_32) @ TunDeviceLib --- [INFO] Using local binaries -- The C compiler identification is GNU 6.3.0 -- The CXX compiler identification is GNU 6.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found JNI: /opt/java/jdk1.8/jre/lib/amd64/libjawt.so -- JNI_INCLUDE_DIRS=/opt/java/jdk1.8/include;/opt/java/jdk1.8/include/linux;/opt/java/jdk1.8/include -- JNI_LIBRARIES=/opt/java/jdk1.8/jre/lib/amd64/libjawt.so;/opt/java/jdk1.8/jre/lib/amd64/server/libjvm.so -- Configuring done -- Generating done -- Build files have been written to: /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/cmake/linux-x86 [INFO] [INFO] --- cmake-maven-plugin:3.7.2-b1:compile (cmake-compile-linux_32) @ TunDeviceLib --- [INFO] Configured to use native CMake Scanning dependencies of target TunDeviceLib [ 16%] Building C object CMakeFiles/TunDeviceLib.dir/TunDeviceLib.c.o [ 33%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap.c.o [ 50%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap_log.c.o [ 66%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap-unix.c.o [ 83%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap-unix-linux.c.o [100%] Linking C shared module libTunDeviceLib.so cc: error: $LINK_FLAGS: Datei oder Verzeichnis nicht gefunden CMakeFiles/TunDeviceLib.dir/build.make:198: die Regel für Ziel „libTunDeviceLib.so“ scheiterte make[2]: *** [libTunDeviceLib.so] Fehler 1 CMakeFiles/Makefile2:104: die Regel für Ziel „CMakeFiles/TunDeviceLib.dir/all“ scheiterte make[1]: *** [CMakeFiles/TunDeviceLib.dir/all] Fehler 2 Makefile:83: die Regel für Ziel „all“ scheiterte make: *** [all] Fehler 2 [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.634 s [INFO] Finished at: 2018-11-20T11:18:30+01:00 [INFO] Final Memory: 12M/153M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.googlecode.cmake-maven-project:cmake-maven-plugin:3.7.2-b1:compile (cmake-compile-linux_32) on project TunDeviceLib: Return code: 2 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException