diff --git a/Jenkinsfile b/Jenkinsfile index e244c67..de7e3e8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,11 +7,11 @@ pipeline { nodejs 'NodeJS-24.2.0' } - // environment { - // REGISTRY = 'https://gitea.innovation-hub-niedersachsen.de/' - // USER = 'jared' - // TOKEN = credentials('c661e484bb4f032f8a0a5b02cda6f3344ca584b5') - // } + environment { + REGISTRY = 'https://gitea.innovation-hub-niedersachsen.de/' + USER = 'jenkins' + TOKEN = credentials('JenkinsGitea') + } parameters { string(name: 'REPO_NAME', defaultValue: '', description: 'Repo Name') @@ -28,21 +28,6 @@ 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 - } - } - } - stage('Install Dependencies') { steps { script {