32 lines
479 B
Groovy
32 lines
479 B
Groovy
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....'
|
|
}
|
|
}
|
|
}
|
|
}
|