Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Started by an SCM change
- Running as SYSTEM
- Building in workspace /var/jenkins_home/workspace/job-01
- The recommended git tool is: NONE
- using credential GitHub
- > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/job-01/.git # timeout=10
- Fetching changes from the remote Git repository
- > git config remote.origin.url https://github.com/myanch200/DevOps-CourseWork # timeout=10
- Fetching upstream changes from https://github.com/myanch200/DevOps-CourseWork
- > git --version # timeout=10
- > git --version # 'git version 2.32.0'
- using GIT_ASKPASS to set credentials
- > git fetch --tags --force --progress -- https://github.com/myanch200/DevOps-CourseWork +refs/heads/*:refs/remotes/origin/* # timeout=10
- > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
- Checking out Revision bbb715168c02a22bcc1d4e92284e7e58a424ab91 (refs/remotes/origin/master)
- > git config core.sparsecheckout # timeout=10
- > git checkout -f bbb715168c02a22bcc1d4e92284e7e58a424ab91 # timeout=10
- Commit message: "Adding test for negative number"
- > git rev-list --no-walk d29d09f8e8a22853974ab9e551ca4f89749b3826 # timeout=10
- [job-01] $ /var/jenkins_home/sonarqube/sonar-scanner-3.3.0.1492-linux/bin/sonar-scanner -Dsonar.host.url=http://34.236.42.125:9000/ ******** -Dproject.settings=/var/jenkins_home/workspace/job-01/sonar-project.properties -Dsonar.projectBaseDir=/var/jenkins_home/workspace/job-01
- INFO: Scanner configuration file: /var/jenkins_home/sonarqube/sonar-scanner-3.3.0.1492-linux/conf/sonar-scanner.properties
- INFO: Project root configuration file: /var/jenkins_home/workspace/job-01/sonar-project.properties
- INFO: SonarQube Scanner 3.3.0.1492
- INFO: Java 11.0.13 Eclipse Adoptium (64-bit)
- INFO: Linux 5.4.0-1058-aws amd64
- INFO: User cache: /root/.sonar/cache
- INFO: SonarQube server 9.1.0
- INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent)
- INFO: Load global settings
- INFO: Load global settings (done) | time=96ms
- INFO: Server id: BF41A1F2-AX0BGcg9s0mt1I0bQrYw
- INFO: User cache: /root/.sonar/cache
- INFO: Load/download plugins
- INFO: Load plugins index
- INFO: Load plugins index (done) | time=51ms
- INFO: Load/download plugins (done) | time=138ms
- INFO: Process project properties
- INFO: Process project properties (done) | time=9ms
- INFO: Execute project builders
- INFO: Execute project builders (done) | time=2ms
- INFO: Project key: java-jenkins-sonar
- INFO: Base dir: /var/jenkins_home/workspace/job-01
- INFO: Working dir: /var/jenkins_home/workspace/job-01/.scannerwork
- INFO: Load project settings for component key: 'java-jenkins-sonar'
- INFO: Load project settings for component key: 'java-jenkins-sonar' (done) | time=20ms
- INFO: Auto-configuring with CI 'Jenkins'
- INFO: Load quality profiles
- INFO: Load quality profiles (done) | time=49ms
- INFO: Auto-configuring with CI 'Jenkins'
- INFO: Load active rules
- INFO: Load active rules (done) | time=1792ms
- INFO: Indexing files...
- INFO: Project configuration:
- INFO: 38 files indexed
- INFO: 0 files ignored because of scm ignore settings
- INFO: Quality profile for java: Sonar way
- INFO: Quality profile for xml: Sonar way
- INFO: ------------- Run sensors on module java-jenkins-sonar
- INFO: Load metrics repository
- INFO: Load metrics repository (done) | time=46ms
- INFO: Sensor JavaSensor [java]
- INFO: Configured Java source version (sonar.java.source): none
- INFO: JavaClasspath initialization
- INFO: JavaClasspath initialization (done) | time=9ms
- INFO: JavaTestClasspath initialization
- INFO: JavaTestClasspath initialization (done) | time=1ms
- INFO: Java "Main" source files AST scan
- INFO: 2 source files to be analyzed
- INFO: Load project repositories
- INFO: Load project repositories (done) | time=14ms
- INFO: 2/2 source files have been analyzed
- WARN: Dependencies/libraries were not provided for analysis of SOURCE files. The 'sonar.java.libraries' property is empty. Verify your configuration, as you might end up with less precise results.
- WARN: Unresolved imports/types have been detected during analysis. Enable DEBUG mode to see them.
- INFO: Java "Main" source files AST scan (done) | time=1681ms
- INFO: No "Test" source files to scan.
- INFO: No "Generated" source files to scan.
- INFO: Sensor JavaSensor [java] (done) | time=2077ms
- INFO: Sensor CSS Rules [cssfamily]
- INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
- INFO: Sensor CSS Rules [cssfamily] (done) | time=0ms
- INFO: Sensor JaCoCo XML Report Importer [jacoco]
- INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
- INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
- INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms
- INFO: Sensor C# Project Type Information [csharp]
- INFO: Sensor C# Project Type Information [csharp] (done) | time=0ms
- INFO: Sensor C# Analysis Log [csharp]
- INFO: Sensor C# Analysis Log [csharp] (done) | time=15ms
- INFO: Sensor C# Properties [csharp]
- INFO: Sensor C# Properties [csharp] (done) | time=0ms
- INFO: Sensor SurefireSensor [java]
- INFO: parsing [/var/jenkins_home/workspace/job-01/target/surefire-reports]
- INFO: Sensor SurefireSensor [java] (done) | time=63ms
- INFO: Sensor JavaXmlSensor [java]
- INFO: 5 source files to be analyzed
- INFO: 5/5 source files have been analyzed
- INFO: Sensor JavaXmlSensor [java] (done) | time=238ms
- INFO: Sensor HTML [web]
- INFO: Sensor HTML [web] (done) | time=4ms
- INFO: Sensor XML Sensor [xml]
- INFO: 5 source files to be analyzed
- INFO: 5/5 source files have been analyzed
- INFO: Sensor XML Sensor [xml] (done) | time=333ms
- INFO: Sensor VB.NET Project Type Information [vbnet]
- INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=1ms
- INFO: Sensor VB.NET Analysis Log [vbnet]
- INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=16ms
- INFO: Sensor VB.NET Properties [vbnet]
- INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
- INFO: ------------- Run sensors on project
- INFO: Sensor Zero Coverage Sensor
- INFO: Sensor Zero Coverage Sensor (done) | time=11ms
- INFO: Sensor Java CPD Block Indexer
- INFO: Sensor Java CPD Block Indexer (done) | time=33ms
- INFO: SCM Publisher SCM provider for this project is: git
- INFO: SCM Publisher 4 source files to be analyzed
- INFO: SCM Publisher 4/4 source files have been analyzed (done) | time=210ms
- INFO: CPD Executor Calculating CPD for 2 files
- INFO: CPD Executor CPD calculation finished (done) | time=11ms
- INFO: Analysis report generated in 85ms, dir size=139.1 kB
- INFO: Analysis report compressed in 35ms, zip size=31.2 kB
- INFO: Analysis report uploaded in 21ms
- INFO: ANALYSIS SUCCESSFUL, you can browse http://34.236.42.125:9000/dashboard?id=java-jenkins-sonar
- INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
- INFO: More about the report processing at http://34.236.42.125:9000/api/ce/task?id=AX0BujL2s0mt1I0bQweK
- INFO: Analysis total time: 7.626 s
- INFO: ------------------------------------------------------------------------
- INFO: EXECUTION SUCCESS
- INFO: ------------------------------------------------------------------------
- INFO: Total time: 8.910s
- INFO: Final Memory: 18M/64M
- INFO: ------------------------------------------------------------------------
- [job-01] $ /bin/sh -xe /tmp/jenkins4653267408218773093.sh
- + javac src/main/Dec2Hex.java
- + java src/main/Dec2Hex
- Please provide argument for the program ![job-01] $ /var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/maven/bin/mvn test
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------< com.javatpoint.application1:my-application1 >-------------
- [INFO] Building Maven Quick Start Archetype 1.0
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ my-application1 ---
- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] skip non existing resourceDirectory /var/jenkins_home/workspace/job-01/src/main/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ my-application1 ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ my-application1 ---
- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] skip non existing resourceDirectory /var/jenkins_home/workspace/job-01/src/test/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ my-application1 ---
- [INFO] Changes detected - recompiling the module!
- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
- [INFO] Compiling 1 source file to /var/jenkins_home/workspace/job-01/target/test-classes
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ my-application1 ---
- [INFO] Surefire report directory: /var/jenkins_home/workspace/job-01/target/surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running com.myanch.example.TestDec2Hex
- Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.14 sec
- Results :
- Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 2.267 s
- [INFO] Finished at: 2021-11-08T22:45:25Z
- [INFO] ------------------------------------------------------------------------
- Recording test results
- [Checks API] No suitable checks publisher found.
- Finished: SUCCESS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement