Skip to content

Commit

Permalink
Add Jenkins Pipline script
Browse files Browse the repository at this point in the history
  • Loading branch information
mammatus95 committed Jul 31, 2024
1 parent 135a506 commit 0dcaa4e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .jenkins/RunMaps
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
pipeline {
agent any
stages {
stage('Install pip') {
steps {
//sh 'wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | gpg --dearmor | sudo tee /usr/share/keyrings/jenkins-archive-keyring.gpg > /dev/null'
sh 'sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5BA31D57EF5975CA'
sh 'apt-get update && apt-get install -y python3-pip'
}
}
stage('Install Requirements') {
steps {
sh 'pip3 install --upgrade pip' // sh means bash
sh 'pip3 install -r requirements.txt'
}
}
stage('version') {
steps {
sh 'python3 --version'
}
}
stage('Run HodographMaps') {
steps {
sh 'export PYTHONPATH=$(pwd) && echo $PYTHONPATH'
sh './run_script.sh 12'
}
}
// Add more stages as needed
}
}

0 comments on commit 0dcaa4e

Please sign in to comment.