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 {
|
||||
agent any
|
||||
|
||||
|
||||
environment {
|
||||
JAVA_HOME = '/var/lib/jenkins/tools/hudson.model.JDK/jdk25'
|
||||
PATH = "${JAVA_HOME}/bin:${PATH}"
|
||||
}
|
||||
|
||||
tools {
|
||||
jdk 'jdk25'
|
||||
maven 'maven-3.9'
|
||||
|
||||
Reference in New Issue
Block a user