TGC-ISS/Jenkinsfile

38 lines
857 B
Plaintext
Raw Normal View History

2024-05-22 14:05:29 +02:00
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 {
2024-05-22 15:10:15 +02:00
stage("Info"){
2024-05-22 14:05:29 +02:00
steps {
sh 'pwd'
sh 'ls -la'
sh 'ls -la ..'
}
}
}
}