mirror of
https://github.com/gutmensch/docker-dmarc-report.git
synced 2025-12-17 09:45:58 +00:00
fix: disable concurrent builds
This commit is contained in:
parent
87ee0534df
commit
87e271d084
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -9,6 +9,7 @@ DOCKER_REGISTRY = 'registry.n-os.org:5000'
|
|||||||
|
|
||||||
|
|
||||||
properties([
|
properties([
|
||||||
|
disableConcurrentBuilds(),
|
||||||
parameters([
|
parameters([
|
||||||
booleanParam(name: 'SKIP_TESTS', defaultValue: false, description: 'Do you want to run the build with tests?')
|
booleanParam(name: 'SKIP_TESTS', defaultValue: false, description: 'Do you want to run the build with tests?')
|
||||||
])
|
])
|
||||||
@ -114,7 +115,6 @@ String getDockerTag() {
|
|||||||
|
|
||||||
void setBuildStatus(message, state) {
|
void setBuildStatus(message, state) {
|
||||||
def repoUrl = sh(script: 'git config --get remote.origin.url', returnStdout: true).trim()
|
def repoUrl = sh(script: 'git config --get remote.origin.url', returnStdout: true).trim()
|
||||||
echo repoUrl
|
|
||||||
step([
|
step([
|
||||||
$class: "GitHubCommitStatusSetter",
|
$class: "GitHubCommitStatusSetter",
|
||||||
reposSource: [$class: "ManuallyEnteredRepositorySource", url: repoUrl],
|
reposSource: [$class: "ManuallyEnteredRepositorySource", url: repoUrl],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user