Eyck-Alexander Jentzsch
92283be000
Some checks failed
Run architectural test suite on backends / Build ISS, Setup TGC-COMPLIANCE, Run tests on backends (push) Failing after 5m52s
38 lines
857 B
Groovy
38 lines
857 B
Groovy
void checkout_project(String repoUrl, String branch = 'develop') {
|
|
checkout([
|
|
$class: 'GitSCM',
|
|
branches: [
|
|
[name: "*/${branch}"]
|
|
],
|
|
extensions: [
|
|
[$class: 'CleanBeforeCheckout'],
|
|
[$class: 'SubmoduleOption', disableSubmodules: false, parentCredentials: true, recursiveSubmodules: true, reference: '', trackingSubmodules: false]
|
|
],
|
|
submoduleCfg: [],
|
|
userRemoteConfigs: [
|
|
[credentialsId: 'gitea-jenkins', url: repoUrl]
|
|
]
|
|
])
|
|
}
|
|
|
|
|
|
|
|
pipeline {
|
|
agent {
|
|
docker {
|
|
image 'git.minres.com/tooling/riscof_sail:latest'
|
|
}
|
|
}
|
|
|
|
stages {
|
|
stage("Info"){
|
|
steps {
|
|
sh 'pwd'
|
|
sh 'ls -la'
|
|
sh 'ls -la ..'
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|