33 lines
479 B
Text
33 lines
479 B
Text
|
pipeline {
|
||
|
agent any
|
||
|
|
||
|
environment {
|
||
|
GITEA_TOKEN = credentials('GITEA_TOKEN')
|
||
|
NPM_TOKEN = credentials('NPM_TOKEN')
|
||
|
GIT_AUTHOR_NAME = 'JenkinsCI'
|
||
|
GIT_AUTHOR_EMAIL = 'jenkins@relms.dev'
|
||
|
GIT_COMMITTER_NAME = 'JenkinsCI',
|
||
|
GIT_COMMITTER_EMAIL = 'jenkins@relms.dev'
|
||
|
}
|
||
|
|
||
|
stages {
|
||
|
stage('Build') {
|
||
|
steps {
|
||
|
echo 'Building..'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
stage('Test') {
|
||
|
steps {
|
||
|
echo 'Testing..'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
stage('Deploy') {
|
||
|
steps {
|
||
|
echo 'Deploying....'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|