forked from hyperledger-iroha/iroha-dco
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/doxygen pipeline (hyperledger-iroha#1594)
* Doxygen docs Signed-off-by: Alexey R <[email protected]>
- Loading branch information
Showing
5 changed files
with
33 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
#!/usr/bin/env groovy | ||
|
||
def doDoxygen() { | ||
|
||
sh """ | ||
doxygen Doxyfile | ||
#rsync docs/doxygen | ||
""" | ||
if (env.GIT_LOCAL_BRANCH in ["master","develop"] || env.CHANGE_BRANCH_LOCAL == 'develop') { | ||
def branch = env.CHANGE_BRANCH_LOCAL == 'develop' ? env.CHANGE_BRANCH_LOCAL : env.GIT_LOCAL_BRANCH | ||
sh "doxygen Doxyfile" | ||
sshagent(['jenkins-artifact']) { | ||
sh "ssh-agent" | ||
sh """ | ||
rsync \ | ||
-e 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' \ | ||
-rzcv --delete \ | ||
docs/doxygen/html/* \ | ||
[email protected]:/var/nexus-efs/doxygen/${branch}/ | ||
""" | ||
} | ||
} | ||
} | ||
|
||
return this |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.