Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

will se #346

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pipeline {
}
stage('Static Code Analysis') {
environment {
SONAR_URL = "http://34.201.116.83:9000"
SONAR_URL = "http://40.85.142.67:9000"
}
steps {
withCredentials([string(credentialsId: 'sonarqube', variable: 'SONAR_AUTH_TOKEN')]) {
Expand All @@ -31,15 +31,18 @@ pipeline {
}
stage('Build and Push Docker Image') {
environment {
registry_Name = "pythonacrdemo570"
registry_Url = "pythonacrdemo570.azurecr.io"
registry_Credential = "azacr"
DOCKER_IMAGE = "abhishekf5/ultimate-cicd:${BUILD_NUMBER}"
// DOCKERFILE_LOCATION = "java-maven-sonar-argocd-helm-k8s/spring-boot-app/Dockerfile"
REGISTRY_CREDENTIALS = credentials('docker-cred')
}
steps {
script {
sh 'cd java-maven-sonar-argocd-helm-k8s/spring-boot-app && docker build -t ${DOCKER_IMAGE} .'
def dockerImage = docker.image("${DOCKER_IMAGE}")
docker.withRegistry('https://index.docker.io/v1/', "docker-cred") {
dockerImage = docker.build registryName
//def dockerImage = docker.image("${DOCKER_IMAGE}")
docker.withRegistry('https://${registry_Url}', "registry_Credentials") {
dockerImage.push()
}
}
Expand All @@ -48,7 +51,7 @@ pipeline {
stage('Update Deployment File') {
environment {
GIT_REPO_NAME = "Jenkins-Zero-To-Hero"
GIT_USER_NAME = "iam-veeramalla"
GIT_USER_NAME = "vijju570"
}
steps {
withCredentials([string(credentialsId: 'github', variable: 'GITHUB_TOKEN')]) {
Expand Down
21 changes: 0 additions & 21 deletions multi-stage-multi-agent/Jenkinsfile

This file was deleted.

4 changes: 0 additions & 4 deletions multi-stage-multi-agent/README.md

This file was deleted.

12 changes: 0 additions & 12 deletions my-first-pipeline/Jenkinsfile

This file was deleted.

1 change: 0 additions & 1 deletion my-first-pipeline/README.md

This file was deleted.

File renamed without changes.
10 changes: 0 additions & 10 deletions python-jenkins-argocd-k8s/Dockerfile

This file was deleted.

67 changes: 0 additions & 67 deletions python-jenkins-argocd-k8s/Jenkinsfile

This file was deleted.

201 changes: 0 additions & 201 deletions python-jenkins-argocd-k8s/LICENSE

This file was deleted.

Loading