Skip to content

Instantly share code, notes, and snippets.

@icheko
Last active July 22, 2019 20:24
Show Gist options
  • Save icheko/88ddc11a414366f3c939501899586e11 to your computer and use it in GitHub Desktop.
Save icheko/88ddc11a414366f3c939501899586e11 to your computer and use it in GitHub Desktop.
dir >> jenkins-runner --heroku-auth
HEROKU_AUTH: -e HEROKU_AUTH_NETRC=/Users/jose.s.pacheco/.netrc:/root/.netrc
INCLUDING JENKINS FLAGS: --runHome /workspace/jenkins
Cleaning jenkins dir
-----------------------
...
Started
Running in Durability level: PERFORMANCE_OPTIMIZED
[Pipeline] Start of Pipeline
[Pipeline] stage
[Pipeline] node
Running on Jenkins in /workspace/jenkins/workspace/job
[Pipeline] {
[Pipeline] checkout
[Pipeline] }
[Pipeline] // node
Stage "➡ Git Checkout" skipped due to when conditional
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (➡ Build App)
[Pipeline] node
...
[Pipeline] sh
+ npm install
...
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
...
[Pipeline] { (➡ Heroku Deployment)
...
$ docker run -t -d -u 0:0 -u root -v /Users/jose.s.pacheco/.netrc:/root/.netrc -w /workspace/jenkins/workspace/job --volumes-from 73a753c611d69bb6c1ed9d3d769c510c6b6a158d2abbc7d6b94900b7f8450d58 -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** 1bf022a505aa47c102cae3d01dd986f1ec658c93 cat
...
+ git add .
[Pipeline] sh
+ git commit -m Heroku Deployment
On branch master
Your branch is up-to-date with 'heroku/master'.
nothing to commit, working tree clean
+ echo No changes to commit
No changes to commit
[Pipeline] sh
+ git push heroku master
Everything up-to-date
[Pipeline] End of Pipeline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment