gfd
This commit is contained in:
@@ -1,32 +0,0 @@
|
|||||||
pipeline {
|
|
||||||
|
|
||||||
agent any
|
|
||||||
|
|
||||||
envirnment {
|
|
||||||
DOCKER_REGISTRY_URL = credentials('docker-registry-url')
|
|
||||||
DOCKER_REGISTRY_USER = credentials('docker-registry-user')
|
|
||||||
DOCKER_REGISTRY_PASSWORD = credentials('docker-registry-password')
|
|
||||||
ASP_ENVIRONMENT = 'Production'
|
|
||||||
}
|
|
||||||
|
|
||||||
stages {
|
|
||||||
|
|
||||||
stage ('Checkout') {
|
|
||||||
steps {
|
|
||||||
checkout scm
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage ('Build') {
|
|
||||||
steps {
|
|
||||||
script {
|
|
||||||
def version = "0.0.${env.BUILD_NUMBER}"
|
|
||||||
|
|
||||||
echo 'docker build -t $DOCKER_REGISTRY_URL/$clean-architecture-backend:${version} .'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user