From c6b6638b8a60dbe670e9644231344064141a179c Mon Sep 17 00:00:00 2001 From: Witalij Poljatchek Date: Thu, 11 Jan 2024 00:17:45 +0100 Subject: [PATCH] jenkinsfile clean --- Jenkinsfile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 24c416a..65754ad 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,11 +8,9 @@ pipeline { stage('Build static content') { steps { sh ''' - #npm install - #npm run build - echo "------" + npm install + npm run build pwd - echo "------" docker build --progress=plain -t bbuddy/bbuddy_ui:latest . ''' } @@ -20,9 +18,9 @@ pipeline { stage('Push image to harbor ') { steps { sh ''' - #sudo docker login https://harbor-wtkp3fsbv6.vertexa.devbay.tech/ -u 'robot$jenkins' -p 'ZrzsVIAeueW1p0alpAnPfM5CDtaRVVKz' - #sudo docker tag bbuddy/bbuddy_ui:latest harbor-wtkp3fsbv6.vertexa.devbay.tech/bbuddy/bbuddy_ui:latest - #sudo docker push harbor-wtkp3fsbv6.vertexa.devbay.tech/bbuddy/bbuddy_ui:latest + sudo docker login https://harbor-wtkp3fsbv6.vertexa.devbay.tech/ -u 'robot$jenkins' -p 'ZrzsVIAeueW1p0alpAnPfM5CDtaRVVKz' + sudo docker tag bbuddy/bbuddy_ui:latest harbor-wtkp3fsbv6.vertexa.devbay.tech/bbuddy/bbuddy_ui:latest + sudo docker push harbor-wtkp3fsbv6.vertexa.devbay.tech/bbuddy/bbuddy_ui:latest ''' }