diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000000000000000000000000000000000..435e3c4c04dda55746c6ef6d17f4a69719d64c46 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,22 @@ +node{ + def app + + stage('Clone') { + checkout scm + } + + stage('Build image') { + app = docker.build ("") + } + + stage('Test image') { + docker.image('').withRun('-p 80:80') { c -> + + + sh 'docker ps' + + sh 'curl localhost' + } + + } +} \ No newline at end of file