Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3774484
D2415.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D2415.diff
View Options
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,37 @@
+pipeline {
+ agent any
+
+ stages {
+ stage('Checkout') {
+ steps {
+ git url: 'https://devcentral.nasqueron.org/source/www.git', branch: 'main'
+ }
+ }
+ stage('Build') {
+ steps {
+ archiveArtifacts artifacts: '**', onlyIfSuccessful: true
+ }
+ }
+ stage('Publish') {
+ steps {
+ echo 'Deploying....'
+ sshPublisher(
+ failOnError: true,
+ publishers: [
+ sshPublisherDesc(
+ configName: 'ysul-deploy',
+ verbose: true,
+ transfers: [
+ sshTransfer(
+ sourceFiles: '**',
+ remoteDirectory: 'www.nasqueron.org',
+ cleanRemote: true,
+ )
+ ]
+ )
+ ]
+ )
+ }
+ }
+ }
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 12:01 (21 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260304
Default Alt Text
D2415.diff (1 KB)
Attached To
Mode
D2415: Configure Jenkins pipeline
Attached
Detach File
Event Timeline
Log In to Comment