First commit
This commit is contained in:
commit
a5150cac16
2 changed files with 23 additions and 0 deletions
12
Jenkinsfile
vendored
Normal file
12
Jenkinsfile
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('Test') {
|
||||||
|
steps {
|
||||||
|
echo 'Running tests...'
|
||||||
|
sh 'python ./test.py'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
11
test.py
Normal file
11
test.py
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
from time import sleep
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
while True:
|
||||||
|
print('Hello, World!')
|
||||||
|
sleep(1)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
main()
|
||||||
Loading…
Add table
Add a link
Reference in a new issue