wooga / atlas-paket

Paket plugin for gradle
https://wooga.github.io/atlas-paket/
Apache License 2.0
0 stars 2 forks source link

Use new buildGradlePlugin step instead of custom script #44

Closed Larusso closed 6 years ago

Larusso commented 6 years ago

Description

To unify the atlas plugin build steps I added a new custom step to https://github.com/wooga/atlas-jenkins-pipeline

This steps tests and publishes gradle plugins. At the moment, the custom test configuration has to be set from the outside.

def coveralls_token = "coveralls token" //can be null

def testEnvironment = [
                        "test_var_1=value1",
                        "test_var_2=value2"
                       ]

buildGradlePlugin plaforms: ['osx'], coverallsToken: coveralls_token, testEnvironment: testEnvironment

see wooga/rfcs#4

Changes

IMPROVE Jenkinsfile by using custom build step