Skip to content

Commit

Permalink
Workaround for the markdown image not having ssh-agent (modelica#2939)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed May 10, 2021
1 parent 5707a7e commit 499df4e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .CI/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,7 @@ pipeline {
}
stage('index') {
agent {
docker {
image 'modelicaspec/markdown:20190307'
label 'linux'
alwaysPull true
}
label 'linux'
}
when {
allOf {
Expand All @@ -124,7 +120,11 @@ pipeline {
beforeAgent true
}
steps {
sh 'python3 .CI/index.py'
script {
docker.image('modelicaspec/markdown:20190307').inside {
sh 'python3 .CI/index.py'
}
}
sshagent (credentials: ['Hudson-SSH-Key']) {
sh 'ssh-keyscan github.com >> ~/.ssh/known_hosts'
sh "test -d specification.modelica.org || git clone git@github.com:modelica/specification.modelica.org"
Expand Down

0 comments on commit 499df4e

Please sign in to comment.