Files
test/Jenkinsfile
Jan Rabcan 4483c2a05a
All checks were successful
internetmastercz/test/pipeline/head This commit looks good
c
2021-10-20 02:24:23 +02:00

32 lines
765 B
Groovy

pipeline {
agent any
stages {
// stage('Init') {
// steps {
// sh 'node --version'
// }
// }
stage('Build') {
steps {
echo "Running ${env.BUILD_ID} on ${env.JENKINS_URL}"
echo 'Building..'
sh 'ls -la /var/lib'
sh 'whoami'
sh 'docker info'
}
}
stage('Test') {
steps {
echo "start Testing"
sh 'sleep 5'
echo "finish Testing"
}
}
stage('Deploy') {
steps {
echo "Deploying.... ${env.ENV_REGISTRY_URL} - ${env.ENV_REGISTRY_USER}"
}
}
}
}