Merge branch 'master' into devel
This commit is contained in:
commit
d884f0cbbd
2
.gitignore
vendored
2
.gitignore
vendored
@ -18,3 +18,5 @@ classes/artifacts/Discord_Stroumpf_Beta_jar/
|
|||||||
src/main/resources/templates/css
|
src/main/resources/templates/css
|
||||||
|
|
||||||
src/main/resources/templates/js
|
src/main/resources/templates/js
|
||||||
|
|
||||||
|
\.directory
|
||||||
|
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -2,12 +2,12 @@ node {
|
|||||||
def app
|
def app
|
||||||
stage('Clone') { // for display purposes
|
stage('Clone') { // for display purposes
|
||||||
// Get some code from a GitHub repository
|
// Get some code from a GitHub repository
|
||||||
git url: 'https://github.com/BrokenFire/BrokenDiscordBot.git', branch: 'devel'
|
git 'https://github.com/BrokenFire/BrokenDiscordBot.git'
|
||||||
}
|
}
|
||||||
stage('Build image') {
|
stage('Build image') {
|
||||||
/* This builds the actual image; synonymous to
|
/* This builds the actual image; synonymous to
|
||||||
* docker build on the command line */
|
* docker build on the command line */
|
||||||
|
|
||||||
app = docker.build("brokenfire/brokendiscordbot","--rm=true .")
|
app = docker.build("brokenfire/brokendiscordbot","--rm=true .")
|
||||||
}
|
}
|
||||||
stage('Push image') {
|
stage('Push image') {
|
||||||
@ -15,10 +15,11 @@ node {
|
|||||||
* First, the incremental build number from Jenkins
|
* First, the incremental build number from Jenkins
|
||||||
* Second, the 'latest' tag.
|
* Second, the 'latest' tag.
|
||||||
* Pushing multiple tags is cheap, as all the layers are reused. */
|
* Pushing multiple tags is cheap, as all the layers are reused. */
|
||||||
app.push("devel")
|
app.push()
|
||||||
|
|
||||||
}
|
}
|
||||||
stage('Cleaning'){
|
stage('Cleaning'){
|
||||||
sh "docker image prune -f"
|
sh "docker image prune -f"
|
||||||
|
build job: 'Bot Discord javadoc', wait: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# BrokenDiscordBot
|
# BrokenDiscordBot
|
||||||
Master:<br/> [![Build Status](https://jenkins.seb6596.ovh/buildStatus/icon?job=BrokenDiscordBot/master)](https://jenkins.seb6596.ovh/job/BrokenDiscordBot/job/master/)
|
Master:<br/>[![Build Status](https://jenkins.seb6596.ovh/job/Bot%20Discord%20Gradle/badge/icon)](https://jenkins.seb6596.ovh/job/Bot%20Discord%20Gradle/)
|
||||||
|
|
||||||
Devel: <br/>[![Build Status](https://jenkins.seb6596.ovh/buildStatus/icon?job=BrokenDiscordBot/devel)](https://jenkins.seb6596.ovh/job/BrokenDiscordBot/job/devel/)
|
Devel: <br/>[![Build Status](https://jenkins.seb6596.ovh/buildStatus/icon?job=BrokenDiscordBot/devel)](https://jenkins.seb6596.ovh/job/BrokenDiscordBot/job/devel/)
|
||||||
|
|
||||||
@ -70,6 +70,10 @@ Devel: <br/>[![Build Status](https://jenkins.seb6596.ovh/buildStatus/icon?job=Br
|
|||||||
> ```
|
> ```
|
||||||
> Docker hub [repo](https://hub.docker.com/r/brokenfire/brokendiscordbot/)
|
> Docker hub [repo](https://hub.docker.com/r/brokenfire/brokendiscordbot/)
|
||||||
|
|
||||||
|
### [Javadoc](https://jenkins.seb6596.ovh/job/Bot%20Discord%20Gradle/javadoc/)
|
||||||
|
|
||||||
|
### [Jenkins](https://jenkins.seb6596.ovh/job/Bot%20Discord%20Gradle/)
|
||||||
|
|
||||||
#### Jenkisfile
|
#### Jenkisfile
|
||||||
`git config --global merge.ours.driver true`
|
`git config --global merge.ours.driver true`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user