4642d09a0c54114b520fdedaecf5e0d28622ab27
Helper class for Jenkins
This repo add functionality for automate building with SHS plugin.
Setup
First install SHS.Platforms Jenkins library
You should add SHSSDK_DIR environment to your Jenkins with path to local directory on server
where all plugins will be saved. SHS Server plugins manager works with this directory.
Next you should register this library in Jenkins -> System settings -> Global Pipeline Libraries:
- Library name:
SHS.SDK - Default version:
master - Project Repository:
https://git.shstk.ru/SHS/SHS_jenkins_lib.git
API
org.SHS.SDK Class:
build()- build plugin for all major SHS versions for all platforms, then register for further autobuild on SHS change
Usage
Typically any plugin Jenkinfile is like this:
@Library(['SHS.Platforms', 'SHS.SDK']) _
node {
def sdk = new org.SHS.SDK(this)
sdk.build()
}
Description
Languages
Groovy
100%