mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:45:49 +00:00
switching everything to alt repo
This commit is contained in:
parent
c704931afe
commit
615e177365
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -33,7 +33,7 @@ pipeline {
|
||||||
stage('Docker up') {
|
stage('Docker up') {
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
docker build -t "gavetisyangd/main:${GIT_COMMIT}" ./
|
docker build -t "gavetisyangd/mr:${GIT_COMMIT}" ./
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,7 @@ pipeline {
|
||||||
withCredentials([string(credentialsId: 'dhub', variable: 'TOKEN')]) {
|
withCredentials([string(credentialsId: 'dhub', variable: 'TOKEN')]) {
|
||||||
sh '''
|
sh '''
|
||||||
echo $TOKEN | docker login -u gavetisyangd --password-stdin
|
echo $TOKEN | docker login -u gavetisyangd --password-stdin
|
||||||
docker push gavetisyangd/main
|
docker push "gavetisyangd/mr:${GIT_COMMIT}"
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue