2024-04-24 09:39:33 +03:00
2023-11-30 17:10:33 +03:00
r
2023-11-15 19:05:30 +03:00
2024-04-24 09:39:33 +03:00

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
No description provided
Readme 69 KiB
Languages
Groovy 100%