From f89c2032c6b28da6f136986d4aced11cb0726930 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Tue, 8 Nov 2022 13:01:33 +0400 Subject: [PATCH] fix jenkinsfile --- Jenkinsfile | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 27e03bf..34b79fd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,8 +2,6 @@ node { def app stage('Clone repository') { - /* Let's make sure we have the repository cloned to our workspace */ - checkout scm } @@ -12,17 +10,9 @@ node { } stage('Test image') { - /* Ideally, we would run a test framework against our image. - * For this example, we're using a Volkswagen-type approach ;-) */ sh ./gradlew bootRun -Dng-tracker.check-run=true app.inside { sh 'echo "Tests passed"' } } -} - /*stage('Push image') { - docker.withRegistry('https://registry.hub.docker.com', 'docker-hub-credentials') { - app.push("${env.BUILD_NUMBER}") - app.push("latest") - } - }*/ \ No newline at end of file +} \ No newline at end of file