Source code for James Lee's Jenkins course.
Check out our Latest DevOps PDF book.
Source code for James Lee's Jenkins course
Home Page: https://www.level-up.one
Source code for James Lee's Jenkins course.
Check out our Latest DevOps PDF book.
Hi James,
I'm on your Udemy Jenkins lecture.
I encountered the following error while building the first Jenkins project. Would you please kindly advise the next steps? Thank you!
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error: Source option 6 is no longer supported. Use 7 or later.
[ERROR] error: Target option 6 is no longer supported. Use 7 or later.
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Maven Project 1.0-SNAPSHOT:
[INFO]
[INFO] Maven Project ...................................... SUCCESS [ 0.142 s]
[INFO] Server ............................................. FAILURE [ 0.402 s]
[INFO] Webapp ............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.630 s
[INFO] Finished at: 2021-09-04T09:59:06+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project server: Compilation failure: Compilation failure:
[ERROR] error: Source option 6 is no longer supported. Use 7 or later.
[ERROR] error: Target option 6 is no longer supported. Use 7 or later.
[ERROR] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :server
Build step 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE
I am VERY new to all of this, but I am humble enough to admit that I am a novice and I am coachable enough to learn from anyone! I have researched a couple best practices to avoid stepping on anyone's toes, but I am happy to learn ways my use of this site could improve.
I am learning Linux and I am trying to do configure Java_Home on my Linux. So far, I have barely done more than install a few virtual machines (CentOS 7 and two clones; CentOS7 Full DVD and CentOS 7 NetInstall).
My Jenkins course on stackskills.com referred me to GitHub with my questions and I'm having trouble with the following instructions on how to add Java_Home to my startup script:
Configure Java_Home on Linux:
Login to your account and open the startup script file which is usually ~/.bash_profile file (or can be .bashrc depending on your envrionment settings)
$ vi ~/.bash_profile
In the startup script, set JAVA_HOME and PATH
C shell:
setenv JAVA_HOME jdk-install-dir
setenv PATH $JAVA_HOME/bin:$PATH
export PATH=$JAVA_HOME/bin:$PATH
jdk-install-dir is the JDK installation director, which should be something similar to /usr/java/jdk1.5.0_07/bin/java
Bourne shell:
JAVA_HOME=jdk-install-dir
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH
Korn and bash shells:
export JAVA_HOME=jdk-install-dir
export PATH=$JAVA_HOME/bin:$PATH
Type the following command to activate the new path settings immediately:
$ source ~/.bash_profile
Verify new settings:
$ echo $JAVA_HOME
$ echo $PATH
I'm not exactly sure how to use these instructions. Below is a screenshot of my VM and, from the formatting, it looks like I have the Bourne shell.
Please advise...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.