change gitea user
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
This commit is contained in:
25
Jenkinsfile
vendored
25
Jenkinsfile
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user