Compare commits

..

No commits in common. "f88534d4f212672727f61967fa4ee4cacde534bc" and "3a9ab203532a5358cb43bb297a362abb0da4d7bb" have entirely different histories.

2 changed files with 0 additions and 37 deletions

View file

@ -1,6 +0,0 @@
FROM docker.io/jenkins/jenkins:lts
USER root
RUN apt-get update && apt-get install -y --no-install-recommends mercurial
USER jenkins

31
Jenkinsfile vendored
View file

@ -1,31 +0,0 @@
pipeline {
agent none
environment {
CHAT = "spacenerdmo@clacks.network"
}
stages {
stage('Build docker image') {
agent { label 'testbuilder' }
environment {
TAG = "lts"
}
steps {
jabberNotify buildToChatNotifier: [$class: 'ExtraMessageOnlyBuildToChatNotifier'], extraMessage: 'Build Started', notifySuspects: true, targets: "${CHAT}"
script {
docker.withRegistry('https://git.dreamfall.space/thrrgilag', 'thrrgilag-forgejo-pkg') {
def customImage = docker.build("git.dreamfall.space/thrrgilag/jenkins-mercurial:${TAG}")
customImage.push()
}
}
}
post {
success {
jabberNotify buildToChatNotifier: [$class: 'ExtraMessageOnlyBuildToChatNotifier'], extraMessage: 'Build Succeeded', notifySuspects: true, targets: "${CHAT}"
}
failure {
jabberNotify buildToChatNotifier: [$class: 'ExtraMessageOnlyBuildToChatNotifier'], extraMessage: 'Build Failed', notifySuspects: true, targets: "${CHAT}"
}
}
}
}
}