Skip to content

Commit

Permalink
fix: remove redundant docker login command and echo manifest reposito…
Browse files Browse the repository at this point in the history
…ry in Deployment stage of Jenkinsfile
  • Loading branch information
Ganthepro committed Dec 24, 2024
1 parent ebcf5f3 commit 0a4d062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ pipeline {
steps {
script {
withCredentials([string(credentialsId: 'edusaig-manifest-repo', variable: 'MANIFEST_REPO')]) {
sh "docker login -u $DOCKER_CREDENTIALS_USR -p $DOCKER_CREDENTIALS_PSW"

// ใช้คำสั่ง docker login เพื่อทำการ login เข้าสู่ Docker Hub
echo "$MANIFEST_REPO"
}
echo "$MANIFEST_REPO"
// sh "git clone $manifest-repo"
// ใช้คำสั่ง git clone เพื่อทำการ clone โปรเจคของเรา
}
Expand Down

0 comments on commit 0a4d062

Please sign in to comment.