Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imod/jenkins-git-askpass-pipeline-lib
a small pipeline extension to ease the usage of GIT_ASKPASS in jenkins pipeline
https://github.com/imod/jenkins-git-askpass-pipeline-lib
git jenkins jenkins-pipeline jenkinsfile
Last synced: 26 days ago
JSON representation
a small pipeline extension to ease the usage of GIT_ASKPASS in jenkins pipeline
- Host: GitHub
- URL: https://github.com/imod/jenkins-git-askpass-pipeline-lib
- Owner: imod
- License: mit
- Created: 2018-05-02T08:25:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-24T03:50:53.000Z (almost 4 years ago)
- Last Synced: 2023-03-11T17:33:11.005Z (over 1 year ago)
- Topics: git, jenkins, jenkins-pipeline, jenkinsfile
- Language: Groovy
- Size: 2.93 KB
- Stars: 9
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gitAskPass - GIT_ASKPASS
small jenkins pipeline example extension to ease the usage of GIT_ASKPASS on a remote repositories via HTTP/HTTPS
### how to use
`gitAskPass('', '')`
```groovy
@Library('my-shared-library')pipeline {
agent any
stages {
stage ('build') {
steps {
script {
gitAskPass('MY_GIT_CREDENTIALS', 'git clone https://github.com/imod/jenkins-git-askpass-pipeline-lib.git')
}
}
}
}
post {
always {
cleanWs()
}
}
}
```