forked from pierront/rock-paper-scissors
Add Jenkinsfile for CI/CD pipeline setup, including build, test, package, and deployment stages.
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -1,6 +1,12 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
|
||||||
|
|
||||||
|
environment {
|
||||||
|
JAVA_HOME = '/var/lib/jenkins/tools/hudson.model.JDK/jdk25'
|
||||||
|
PATH = "${JAVA_HOME}/bin:${PATH}"
|
||||||
|
}
|
||||||
|
|
||||||
tools {
|
tools {
|
||||||
jdk 'jdk25'
|
jdk 'jdk25'
|
||||||
maven 'maven-3.9'
|
maven 'maven-3.9'
|
||||||
|
|||||||
Reference in New Issue
Block a user