Jenkinsfile
Gitea/subman-nextjs/pipeline/head There was a failure building this commit Details

This commit is contained in:
andrzej 2024-10-01 11:04:52 +02:00
parent 2e820daf95
commit dff1c9c9ef
2 changed files with 22 additions and 0 deletions

20
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,20 @@
pipeline {
agent any
environment{
JWT_TOKEN=credentials('JWT_TOKEN')
DATABASE_URL=credentials('DATABASE_URL')
}
stages{
stage('build'){
steps{
sh 'npm install'
sh 'npm run build'
}
}
stage('deploy'){
steps{
sshPublisher(publishers: [sshPublisherDesc(configName: 'Demos', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: 'ssh-uploads/subman', remoteDirectorySDF: false, removePrefix: '', sourceFiles: './**')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
}
}
}
}

View File

@ -11,6 +11,8 @@ I developed this project as a demonstration of my full-stack development abiliti
My previous attempt at this project was a Nodejs server with a React frontend, but this version is much better! My previous attempt at this project was a Nodejs server with a React frontend, but this version is much better!
## What it does ## What it does
Subman was inspired by my experiences submitting short fiction to magazines for publication. It allows the user to track where submissions are pending, in addition to meta-data such as genres, word count and so on. What you see here is the Minimum Shippable Product. Subman was inspired by my experiences submitting short fiction to magazines for publication. It allows the user to track where submissions are pending, in addition to meta-data such as genres, word count and so on. What you see here is the Minimum Shippable Product.