mirror of
https://github.com/chillout2k/sos-milter.git
synced 2025-12-14 19:09:44 +00:00
Jenkins test stage
This commit is contained in:
parent
ea4a7d6b8a
commit
d29a201002
@ -18,7 +18,7 @@ pipeline {
|
|||||||
stage('Test image') {
|
stage('Test image') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
dockerImage.inside("--entrypoint=['/bin/sleep', 'infinity']") {
|
dockerImage.inside("--entrypoint='/entrypoint_test.sh'") {
|
||||||
sh '/usr/bin/env'
|
sh '/usr/bin/env'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,5 +21,6 @@ RUN env; set -ex ; \
|
|||||||
|
|
||||||
COPY app/*.py /app/
|
COPY app/*.py /app/
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY entrypoint_test.sh /entrypoint_test.sh
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user