Skip to content

julian-eggers/jenkins-push-automatization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins Push Automatization

Codacy Badge Coverage Status Build Status

Adds a jenkins webhook to every associated project.

Docker

Dockerhub

docker run \
-d \
--name=jenkins-push-automatization \
--restart=always \
jeggers/jenkins-push-automatization:2.1.0-RELEASE \
--gitlab.url=http://gitlab-server:8080/ \
--gitlab.token=AfQ6P9DSfnu4tuzbe \
--jenkins.url=http://jenkins-server:8080/

Properties

Property Required Default Example
--gitlab.url yes AfQ6P9DSfnu4tuzbe
--gitlab.token yes http://gitlab-server:8080/
--gitlab.checkout.url.scheme no SSH SSH or HTTP
--jenkins.url yes http://jenkins-server:8080/
--jenkins.username no admin
--jenkins.password no secretPassword
--task.delay no 60000 60000 (in milliseconds!)

Build & Release

Build

mvn clean package dockerfile:build

Release

mvn clean package dockerfile:build dockerfile:tag@tag-latest dockerfile:tag@tag-version dockerfile:push@push-latest dockerfile:push@push-version github-release:release