Add credentials to Jenkinsfile

This commit is contained in:
Agata 2022-03-26 15:44:18 +01:00
parent 044ed8d34d
commit 6b40e92f7b

2
Jenkinsfile vendored
View File

@ -16,7 +16,7 @@ pipeline {
stages {
stage('Check out from version control') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s444421/ium_444421.git']]])
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's444421', url: 'https://git.wmi.amu.edu.pl/s444421/ium_444421.git']]])
}
}
stage('Shell Script') {