get gitea json object
This commit is contained in:
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
@@ -27,6 +27,25 @@ pipeline {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('Lade Konfiguration') {
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
@Library('InnoHub-Library@master')
|
||||||
|
|
||||||
|
// z. B. Methode in Library: getRepoConfig(repo, ref)
|
||||||
|
def repoConfig = getRepoConfig(REPO_NAME, GIT_REF)
|
||||||
|
|
||||||
|
echo "Gefunden: ${repoConfig.name}, Branch: ${repoConfig.branch}"
|
||||||
|
|
||||||
|
echo repoConfig
|
||||||
|
|
||||||
|
def jobsToTrigger = repoConfig.jobs
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Install Dependencies') {
|
stage('Install Dependencies') {
|
||||||
steps {
|
steps {
|
||||||
|
|||||||
Reference in New Issue
Block a user