Merge jenkins-test #1

Merged
Csaba merged 16 commits from jenkins-test into main 2023-12-18 12:50:58 +01:00
Showing only changes of commit b19d2e9dbb - Show all commits

27
Jenkinsfile vendored
View file

@ -4,26 +4,21 @@ pipeline {
image 'python:3'
}
}
tools {
'org.jenkinsci.plugins.docker.commons.tools.DockerTool' 'docker'
}
stages {
stage('Check python version') {
stage('Create virtual environment') {
steps {
sh 'python --version'
}
}
stage('Run ls and pwd') {
steps {
sh 'pwd'
sh 'ls -l'
}
}
stage('Build') {
steps {
echo 'Building'
echo 'Creating virtual environment'
sh '''python -m venv .venv
. venv/bin/activate'''
}
}
// stage('pip install') {
// steps {
// echo 'Installing packages'
// sh 'pip ins'
// }
// }
stage('Test') {
steps {
echo 'Testing'