Jenkins Tutorial - Using Environment Variables in Pipeline

preview_player
Показать описание
Learn how to use environment variables in Jenkins pipeline. Following will be covered in this video:
- Default Environment Variables
- Create Global environment variables
- Use environment variables in pipeline
Рекомендации по теме
Комментарии
Автор

i am getting is error when i am running from : pipeline scripts from SCM
ANY IDEAS WHY I AM GETTING THIS ERROR MESSAGE?
-B compile
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test)
Stage "Test" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)

delowar