mirror of
https://github.com/triqs/dft_tools
synced 2024-12-23 04:43:42 +01:00
[jenkins] Rename docker repo to packaging
This commit is contained in:
parent
c492078f77
commit
debb784431
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -110,9 +110,9 @@ try {
|
|||||||
// note: credentials used above don't work (need JENKINS-28335)
|
// note: credentials used above don't work (need JENKINS-28335)
|
||||||
sh "git push origin master || { git pull --rebase origin master && git push origin master ; }"
|
sh "git push origin master || { git pull --rebase origin master && git push origin master ; }"
|
||||||
}
|
}
|
||||||
/* Update docker repo submodule */
|
/* Update packaging repo submodule */
|
||||||
if (release) { dir("$workDir/docker") { try {
|
if (release) { dir("$workDir/packaging") { try {
|
||||||
git(url: "ssh://git@github.com/TRIQS/docker.git", branch: env.BRANCH_NAME, credentialsId: "ssh", changelog: false)
|
git(url: "ssh://git@github.com/TRIQS/packaging.git", branch: env.BRANCH_NAME, credentialsId: "ssh", changelog: false)
|
||||||
sh "test -d ${projectName}"
|
sh "test -d ${projectName}"
|
||||||
sh "echo '160000 commit ${commit}\t${projectName}' | git update-index --index-info"
|
sh "echo '160000 commit ${commit}\t${projectName}' | git update-index --index-info"
|
||||||
sh """
|
sh """
|
||||||
@ -122,7 +122,7 @@ try {
|
|||||||
sh "git push origin ${env.BRANCH_NAME} || { git pull --rebase origin ${env.BRANCH_NAME} && git push origin ${env.BRANCH_NAME} ; }"
|
sh "git push origin ${env.BRANCH_NAME} || { git pull --rebase origin ${env.BRANCH_NAME} && git push origin ${env.BRANCH_NAME} ; }"
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
/* Ignore, non-critical -- might not exist on this branch */
|
/* Ignore, non-critical -- might not exist on this branch */
|
||||||
echo "Failed to update docker repo"
|
echo "Failed to update packaging repo"
|
||||||
} } }
|
} } }
|
||||||
} }
|
} }
|
||||||
} }
|
} }
|
||||||
|
Loading…
Reference in New Issue
Block a user