prepare complete test
This commit is contained in:
parent
09789f6e51
commit
352fd44cc0
|
@ -24,7 +24,6 @@ pipeline
|
|||
}
|
||||
stages
|
||||
{
|
||||
/*
|
||||
stage('ubuntu setup')
|
||||
{
|
||||
steps
|
||||
|
@ -161,34 +160,33 @@ pipeline
|
|||
sh 'tar -czf carla_doc.tar.gz ./Doxygen'
|
||||
stash includes: 'carla_doc.tar.gz', name: 'carla_docs'
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
// stage('ubuntu Doxygen upload')
|
||||
// {
|
||||
// when { anyOf { branch "master"; branch "dev"; buildingTag() } }
|
||||
// steps
|
||||
// {
|
||||
// checkout scmGit(branches: [[name: '*/master']], extensions: [checkoutOption(120), cloneOption(noTags:false, reference:'', shallow: false, timeout:120)], userRemoteConfigs: [[credentialsId: 'github_token_as_pwd_2', url: 'https://github.com/carla-simulator/carla-simulator.github.io.git']])
|
||||
// unstash name: 'carla_docs'
|
||||
stage('ubuntu Doxygen upload')
|
||||
{
|
||||
when { anyOf { branch "master"; branch "dev"; buildingTag() } }
|
||||
steps
|
||||
{
|
||||
checkout scmGit(branches: [[name: '*/master']], extensions: [checkoutOption(120), cloneOption(noTags:false, reference:'', shallow: false, timeout:120)], userRemoteConfigs: [[credentialsId: 'github_token_as_pwd_2', url: 'https://github.com/carla-simulator/carla-simulator.github.io.git']])
|
||||
unstash name: 'carla_docs'
|
||||
|
||||
// withCredentials([gitUsernamePassword(credentialsId: 'github_token_as_pwd_2', gitToolName: 'git-tool')]) {
|
||||
// sh '''
|
||||
// tar -xvzf carla_doc.tar.gz
|
||||
// git add Doxygen
|
||||
// git commit -m "Updated c++ docs" || true
|
||||
// git push
|
||||
// '''
|
||||
// }
|
||||
// }
|
||||
// post
|
||||
// {
|
||||
// always
|
||||
// {
|
||||
// deleteDir()
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
withCredentials([gitUsernamePassword(credentialsId: 'github_token_as_pwd_2', gitToolName: 'git-tool')]) {
|
||||
sh '''
|
||||
tar -xvzf carla_doc.tar.gz
|
||||
git add Doxygen
|
||||
git commit -m "Updated c++ docs" || true
|
||||
git push
|
||||
'''
|
||||
}
|
||||
}
|
||||
post
|
||||
{
|
||||
always
|
||||
{
|
||||
deleteDir()
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('TEST: ubuntu Doxygen generation')
|
||||
{
|
||||
when { branch "ruben/jenkins_migration"; }
|
||||
|
|
Loading…
Reference in New Issue