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 51f3cd2bcb
2 changed files with 18 additions and 0 deletions

16
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,16 @@
pipeline {
agent any
stages{
stage('build'){
steps{
sh 'npm install'
sh 'npm next 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: '.next/server/**')], 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!
## 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.