|
|
# Create Jenkins project to run build using DBB, Git and Jenkins slave on z/OS
|
|
|
## For the example, create Jenkins Freestyle Project
|
|
|
### The Jenkins project name should be used in the Eclipse project folder /conf/"Jenkins Project Name".properties
|
|
|
## This is assuming Jenkins has been setup and all the necessary plugins have been installed
|
|
|
### See [[Installation and Setup Jenkins for z/OS]]
|
|
|
## Under Source Code Management
|
|
|
### You will need to use SSH protocol with Git on z/OS
|
|
|
#### Example: ssh://git@"Git server":7999/zos/mortgageapplication.git
|
|
|
#### Add z/OS credentials to access the repository from z/OS
|
|
|
#### You can added "branches to build". Format "*/release/v0.0.1*"
|
|
|
#### Default Git executable will work, provided Git is installed properly on z/OS
|
|
|
## Under Build
|
|
|
### Add Execute Groovy Script
|
|
|
#### Groovy Version - Pointing to DBB Groovy Tool definition. See [[Installation and Setup Jenkins for z/OS]]
|
|
|
#### Select "Groovy Script file"
|
|
|
#### enter "build/build.groovy"
|
|
|
#### In the Advanced section
|
|
|
##### Add the classpath "'DBB Home'/lib/*:'zJenkins Home'/lib/*
|
|
|
##### Add Java Opts "-Djava.library.path='DBB Home'/lib/*:'zJenkins Home'/lib/* |
|
|
\ No newline at end of file |
|
|
## Create Jenkins project to run build using DBB, Git and Jenkins slave on z/OS
|
|
|
### For the example, create Jenkins Freestyle Project
|
|
|
#### The Jenkins project name should be used in the Eclipse project folder /conf/"Jenkins Project Name".properties
|
|
|
#### This is assuming Jenkins has been setup and all the necessary plugins have been installed
|
|
|
#### See [[Installation and Setup Jenkins for z/OS]]
|
|
|
### Under Source Code Management
|
|
|
#### You will need to use SSH protocol with Git on z/OS
|
|
|
##### Example: ssh://git@"Git server":7999/zos/mortgageapplication.git
|
|
|
##### Add z/OS credentials to access the repository from z/OS
|
|
|
##### You can added "branches to build". Format "*/release/v0.0.1*"
|
|
|
##### Default Git executable will work, provided Git is installed properly on z/OS
|
|
|
### Under Build
|
|
|
#### Add Execute Groovy Script
|
|
|
##### Groovy Version - Pointing to DBB Groovy Tool definition. See [[Installation and Setup Jenkins for z/OS]]
|
|
|
##### Select "Groovy Script file"
|
|
|
##### enter "build/build.groovy"
|
|
|
##### In the Advanced section
|
|
|
###### Add the classpath "'DBB Home'/lib/*:'zJenkins Home'/lib/*
|
|
|
###### Add Java Opts "-Djava.library.path='DBB Home'/lib/*:'zJenkins Home'/lib/* |
|
|
\ No newline at end of file |