Skip to content

Commit

Permalink
Merge pull request #70 from arjbingly/sanchitvj-patch-1
Browse files Browse the repository at this point in the history
adding checkout and commit
  • Loading branch information
arjbingly authored Apr 12, 2024
2 parents ab5557e + ecc4470 commit 7b82d81
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ pipeline {
stage('Checkout') {
steps {
cleanWs()
checkout scm
// checkout scm
git branch: 'main', credentialsId: 'GithubKey', url: '[email protected]:arjbingly/Capstone_5.git'
}
}

Expand Down Expand Up @@ -114,6 +115,20 @@ pipeline {
}
}
}
}
post {
failure{

sh 'python3 ci/modify_test_status.py --fail'
sh 'git add README.md'
sh 'git commit -m "test status updated"'
sh 'git push'
}
success{
sh 'python3 ci/modify_test_status.py'
sh 'git add README.md'
sh 'git commit -m "test status updated"'
sh 'git push'
}
}
}

0 comments on commit 7b82d81

Please sign in to comment.