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'
|
nodejs 'NodeJS-24.2.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
// environment {
|
environment {
|
||||||
// REGISTRY = 'https://gitea.innovation-hub-niedersachsen.de/'
|
REGISTRY = 'https://gitea.innovation-hub-niedersachsen.de/'
|
||||||
// USER = 'jared'
|
USER = 'jenkins'
|
||||||
// TOKEN = credentials('c661e484bb4f032f8a0a5b02cda6f3344ca584b5')
|
TOKEN = credentials('JenkinsGitea')
|
||||||
// }
|
}
|
||||||
|
|
||||||
parameters {
|
parameters {
|
||||||
string(name: 'REPO_NAME', defaultValue: '', description: 'Repo Name')
|
string(name: 'REPO_NAME', defaultValue: '', description: 'Repo Name')
|
||||||
@@ -28,21 +28,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
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') {
|
stage('Install Dependencies') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
|
|||||||
Reference in New Issue
Block a user