Public Jenkins Pipeline Utilities Library which are build upon Kubernetes To use this library add the repository and the artifact as maven dependency using the following mechanics:
@GrabResolver(name='stroeerdigitalpublishing', root='https://dl.bintray.com/stroeerdigitalpublishing/maven/')
@Grab(group='de.stroeerdigitalpublishing', module='jenkins-pipeline-utils', version='1.0-latest')
<repository>
<id>stroeerdigitalpublishing</id>
<name>stroeerdigitalpublishing</name>
<url>https://dl.bintray.com/stroeerdigitalpublishing/maven/</url>
</repository>
<dependency>
<groupId>de.stroeerdigitalpublishing</groupId>
<artifactId>jenkins-pipeline-utils</artifactId>
<version>1.0-latest</version>
<type>pom</type>
</dependency>
maven {
url "https://dl.bintray.com/stroeerdigitalpublishing/maven/"
}
compile 'de.stroeerdigitalpublishing:jenkins-pipeline-utils:1.0-latest'
<ibiblio name="stroeerdigitalpublishing"
root="https://dl.bintray.com/stroeerdigitalpublishing/maven/"
m2compatible="true" />
<dependency org='de.stroeerdigitalpublishing' name='jenkins-pipeline-utils' rev='1.0-latest'>
<artifact name='jenkins-pipeline-utils' ext='pom' ></artifact>
</dependency>
- JDK 8
JAVA_HOME
enviroment variable set- Optinally use docker to build
- Bintray Account
- Administrative Access to Binatry Project
$ ./gradlew.bat clean build bintrayUpload -PbuildNumber=<buildNumber> -PbintrayPublish=<true|false> -PbintrayUser=<user> -PbintrayApiKey=<apiKey>
$ ./gradlew clean build bintrayUpload -PbuildNumber=<buildNumber> -PbintrayPublish=<true|false> -PbintrayUser=<user> -PbintrayApiKey=<apiKey>
$ docker run -it \
--rm \
--workdir /root/project \
-v <local-project-path>:/root/project \
openjdk:8u131-jdk-apline \
./gradlew clean build bintrayUpload -PbuildNumber=<buildNumber> \
-PbintrayPublish=<true|false> -PbintrayUser=<user> -PbintrayApiKey=<apiKey>