jenkinsfile clean
This commit is contained in:
parent
62edbd20c5
commit
c6b6638b8a
|
@ -8,11 +8,9 @@ pipeline {
|
||||||
stage('Build static content') {
|
stage('Build static content') {
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
#npm install
|
npm install
|
||||||
#npm run build
|
npm run build
|
||||||
echo "------"
|
|
||||||
pwd
|
pwd
|
||||||
echo "------"
|
|
||||||
docker build --progress=plain -t bbuddy/bbuddy_ui:latest .
|
docker build --progress=plain -t bbuddy/bbuddy_ui:latest .
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
@ -20,9 +18,9 @@ pipeline {
|
||||||
stage('Push image to harbor ') {
|
stage('Push image to harbor ') {
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
#sudo docker login https://harbor-wtkp3fsbv6.vertexa.devbay.tech/ -u 'robot$jenkins' -p 'ZrzsVIAeueW1p0alpAnPfM5CDtaRVVKz'
|
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 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 push harbor-wtkp3fsbv6.vertexa.devbay.tech/bbuddy/bbuddy_ui:latest
|
||||||
|
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue