add Jenkinsfile
parent
5b71834eb0
commit
bf4e916548
|
|
@ -0,0 +1,62 @@
|
|||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('#1 Build App') {
|
||||
steps {
|
||||
echo '#1 Build App'
|
||||
|
||||
sh 'rm -r *'
|
||||
|
||||
git credentialsId: 'git-tbs093a', url: 'https://github.com/TBS093A/curriculum_vitae.git'
|
||||
|
||||
sh 'ls -la'
|
||||
}
|
||||
}
|
||||
stage('#2 Build App') {
|
||||
steps {
|
||||
echo '#2 Build App'
|
||||
|
||||
sh 'npm install'
|
||||
|
||||
sh 'npm gatsby build'
|
||||
|
||||
}
|
||||
}
|
||||
stage('#3 Deploy App') {
|
||||
steps {
|
||||
echo '#3 Deploy App'
|
||||
|
||||
sshPublisher(
|
||||
publishers: [
|
||||
sshPublisherDesc(
|
||||
configName: 'aws - kamil-zuk-cv.tk - 13.48.201.185',
|
||||
transfers: [
|
||||
sshTransfer(
|
||||
cleanRemote: false,
|
||||
excludes: '',
|
||||
execCommand: 'ls -la',
|
||||
execTimeout: 120000,
|
||||
flatten: false,
|
||||
makeEmptyDirs: false,
|
||||
noDefaultExcludes: false,
|
||||
patternSeparator: '[, ]+',
|
||||
remoteDirectory: '',
|
||||
remoteDirectorySDF: false,
|
||||
removePrefix: '',
|
||||
sourceFiles: './public/*'
|
||||
)
|
||||
],
|
||||
usePromotionTimestamp: false,
|
||||
useWorkspaceInPromotion: false,
|
||||
verbose: false
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
echo 'Deploy Success'
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -301,7 +301,7 @@ const IndexPage = () => {
|
|||
"Sync Django REST Framework API implementation for ready materials and 3D object files managment",
|
||||
"Async Django + Channels 3.0 + Redis API implementation for live rendering proccess managment",
|
||||
"ReactJS / Gatsby + Redux Toolkit client application implementation for simple sync & async backend application functionality control",
|
||||
"Application deployment in distributed from as containers with Docker + Docker-Compose tools",
|
||||
"Application deployment in distributed form as containers with Docker + Docker-Compose tools",
|
||||
"Bash scripts implementation for routain operations automatization like databases migration & all app containers configuration",
|
||||
"Made 3D hand model for realistic materials (handshapes) rendering as images for learning PSL recognition system",
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue