Jenksfile: Pushing to git from pipeline script
– Add a read/write ssh-key to e.g. bitbucket
– Add the key to Jenkins
– Go to „pipeline syntax“ and create „sshagent“ step with just create credential identifier
sshagent([‚the-credentials-id‘]) {
// your code
}