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