Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

Jenkinsfile 1009 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  1. pipeline {
  2. agent any
  3. environment {
  4. VENV_DIR = 'venv'
  5. }
  6. stages {
  7. stage('Cloning Github repo to Jenkins') {
  8. steps {
  9. script {
  10. echo 'Cloning Github repo to Jenkins............'
  11. checkout scmGit(branches: [[name: '*/main']], extensions: [], userRemoteConfigs: [[credentialsId: 'github-token', url: 'https://github.com/austinLorenzMccoy/networkSecurity_project']])
  12. }
  13. }
  14. }
  15. stage('Setting up our Virtual Environment and Installing dependancies') {
  16. steps {
  17. script {
  18. echo 'Setting up our Virtual Environment and Installing dependancies............'
  19. sh '''
  20. python -m venv ${VENV_DIR}
  21. . ${VENV_DIR}/bin/activate
  22. pip install --upgrade pip
  23. pip install -e .
  24. '''
  25. }
  26. }
  27. }
  28. }
  29. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...