jenkins 파이프 라인 작업에서 github에 대한 자격 증명을 설정하려고합니다. 내 파이프 라인 스크립트에서 다음을 가지고 있습니다 :jenkins 파이프 라인 작업에 github 자격 증명을 제공하려고 시도했습니다.
pipeline {
agent any
git([url: 'ssh://[email protected]/user/repname/', branch: 'master', credentialsId: 'xxx-xxx-xxx'])
자격 증명은 어디에서 유래 되었습니까? 이게 젠킨스의 다른 곳에서 만들어 졌나요? 업데이트
하지만 지금이 오류를보고하고있다 :
Started by user anonymous org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 3: Undefined section "git" @ line 3, column 5.
감사합니다. 오류가 발생했습니다. 지금은 다음에 :) – opike