Skip to content

Commit 05ade56

Browse files
authored
Update Jenkinsfile
1 parent b9ecf00 commit 05ade56

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

Jenkinsfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ pipeline {
33

44
stages {
55
stage('Checkout') {
6-
steps {
7-
git branch: 'main', url: 'https://github.com/s224877838/8.2CDevSecOps.git'
8-
}
9-
}
6+
steps {
7+
git(
8+
url: 'https://github.com/s224877838/8.2CDevSecOps.git',
9+
credentialsId: 'github-pat'
10+
)
11+
}
12+
}
1013

1114
stage('Install Dependencies') {
1215
steps {

0 commit comments

Comments
 (0)