I wanted to notify the github after my pipeline will complete execution ,
but after using same credentials , in the post steps there were getting error - repository not found with this account .
the written pipeline is -
pipeline {
agent any
it will show the notifications in github about the pipeline commit status .
Actual Results
Started by user unknown or anonymous
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/github-test-notify
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout Code)
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential github-new-creds
git rev-parse HEAD
[Pipeline] echo
Current commit SHA: 68d2e3d59ebdf230c7e5196c9f0953106c352a6b
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test GitHub Notify)
[Pipeline] script
[Pipeline] {
[Pipeline] githubNotify
[Pipeline] echo
Failed to send GitHub notification: The specified repository does not exist for the specified account
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] echo
Notification attempt made for repository: Jaideep1997/ai-chatbot
[Pipeline] echo
The pipeline has finished with failure.
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: FAILURE
Anything else?
But you can see my git clone is done successfully , if creds were wrong , then clone was not happened , even in my api token and webhook also i have connected with full permission.
please help me to sort .
This is the wrong place to ask for help using Jenkins. Please use https://community.jenkins.io or the Jenkins user mailing list or the Jenkins chat channels
Reproduction steps
I wanted to notify the github after my pipeline will complete execution , but after using same credentials , in the post steps there were getting error - repository not found with this account . the written pipeline is - pipeline { agent any
}
Expected Results
it will show the notifications in github about the pipeline commit status .
Actual Results
Started by user unknown or anonymous [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/jenkins_home/workspace/github-test-notify [Pipeline] { [Pipeline] stage [Pipeline] { (Checkout Code) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential github-new-creds
Anything else?
But you can see my git clone is done successfully , if creds were wrong , then clone was not happened , even in my api token and webhook also i have connected with full permission. please help me to sort .