pipeline {
agent any (1)
stages {
stage('Build') { (2)
steps {
sh 'python -m py_compile sources/add2vals.py sources/calc.py' (3)
stash(name: 'compiled-results', includes: 'sources/*.py*') (4)
}
}
}
}