Skip to content

Commit 13e0f8b

Browse files
committedDec 2, 2024
Merge branch 'NginxProxyManager:develop' into stream-ssl
1 parent d3526de commit 13e0f8b

File tree

178 files changed

+7926
-5271
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+7926
-5271
lines changed
 

‎.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.11.3
1+
2.12.1

‎Jenkinsfile

+19-12
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ pipeline {
5656
sh 'sed -i -E "s/(version-)[0-9]+\\.[0-9]+\\.[0-9]+(-green)/\\1${BUILD_VERSION}\\2/" README.md'
5757
}
5858
}
59+
stage('Docker Login') {
60+
steps {
61+
withCredentials([usernamePassword(credentialsId: 'jc21-dockerhub', passwordVariable: 'dpass', usernameVariable: 'duser')]) {
62+
sh 'docker login -u "${duser}" -p "${dpass}"'
63+
}
64+
}
65+
}
5966
}
6067
}
6168
stage('Builds') {
@@ -120,6 +127,11 @@ pipeline {
120127
junit 'test/results/junit/*'
121128
sh 'docker-compose down --remove-orphans --volumes -t 30 || true'
122129
}
130+
unstable {
131+
dir(path: 'testing/results') {
132+
archiveArtifacts(allowEmptyArchive: true, artifacts: '**/*', excludes: '**/*.xml')
133+
}
134+
}
123135
}
124136
}
125137
stage('Test Mysql') {
@@ -148,6 +160,11 @@ pipeline {
148160
junit 'test/results/junit/*'
149161
sh 'docker-compose down --remove-orphans --volumes -t 30 || true'
150162
}
163+
unstable {
164+
dir(path: 'testing/results') {
165+
archiveArtifacts(allowEmptyArchive: true, artifacts: '**/*', excludes: '**/*.xml')
166+
}
167+
}
151168
}
152169
}
153170
stage('MultiArch Build') {
@@ -157,10 +174,7 @@ pipeline {
157174
}
158175
}
159176
steps {
160-
withCredentials([usernamePassword(credentialsId: 'jc21-dockerhub', passwordVariable: 'dpass', usernameVariable: 'duser')]) {
161-
sh 'docker login -u "${duser}" -p "${dpass}"'
162-
sh "./scripts/buildx --push ${buildxPushTags}"
163-
}
177+
sh "./scripts/buildx --push ${buildxPushTags}"
164178
}
165179
}
166180
stage('Docs / Comment') {
@@ -200,20 +214,13 @@ pipeline {
200214
always {
201215
sh 'echo Reverting ownership'
202216
sh 'docker run --rm -v "$(pwd):/data" jc21/ci-tools chown -R "$(id -u):$(id -g)" /data'
203-
}
204-
success {
205-
juxtapose event: 'success'
206-
sh 'figlet "SUCCESS"'
217+
printResult(true)
207218
}
208219
failure {
209220
archiveArtifacts(artifacts: 'debug/**/*.*', allowEmptyArchive: true)
210-
juxtapose event: 'failure'
211-
sh 'figlet "FAILURE"'
212221
}
213222
unstable {
214223
archiveArtifacts(artifacts: 'debug/**/*.*', allowEmptyArchive: true)
215-
juxtapose event: 'unstable'
216-
sh 'figlet "UNSTABLE"'
217224
}
218225
}
219226
}

0 commit comments

Comments
 (0)