27 lines
637 B
Groovy
27 lines
637 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
echo 'Building..'
|
|
echo sh(script: 'env|sort', returnStdout: true)
|
|
echo "${GIT_URL}"
|
|
checkout scmGit(branches: [[name: '*/main']], extensions: [], gitTool: 'Default', userRemoteConfigs: [[credentialsId: '0a6bde36-8857-4631-bbf8-68b44626eb27', url: "${GIT_URL}"]])
|
|
|
|
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
echo 'Testing..'
|
|
}
|
|
}
|
|
stage('Deploy') {
|
|
steps {
|
|
echo 'Deploying....'
|
|
}
|
|
}
|
|
}
|
|
}
|