diff --git a/Jenkinsfile b/Jenkinsfile index ade6c6f24..be246a301 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,36 +8,9 @@ pipeline { archiveArtifacts artifacts: 'src/index.html' } } - stage('DeployToStage') { - when { - branch 'master' - } - steps { - withCredentials([string(credentialsId: 'cloud_user_pw', variable: 'USERPASS')]) { - sshPublisher( - failOnError: true, - publishers: [ - sshPublisherDesc( - configName: 'staging', - sshCredentials: [ - username: 'cloud_user', - encryptedPassphrase: "$USERPASS" - ], - transfers: [ - sshTransfer( - sourceFiles: 'src/**', - removePrefix: 'src/' - ) - ] - ) - ] - ) - } - } - } stage('DeployToProd') { when { - branch 'master' + branch 'broken-feature' } steps { input 'Does the staging environment look OK?' @@ -65,4 +38,4 @@ pipeline { } } } -} \ No newline at end of file +} diff --git a/src/index.html b/src/index.html index 61a65d710..fca40b5c6 100644 --- a/src/index.html +++ b/src/index.html @@ -5,7 +5,7 @@