continuous-deployment
How to download the latest artifact from Artifactory repository?
Something like the following bash script will retrieve the lastest com.company:artifact snapshot from the snapshot repo: # Artifactory location server=http://artifactory.company.com/artifactory repo=snapshot # Maven artifact location name=artifact artifact=com/company/$name path=$server/$repo/$artifact version=$(curl -s $path/maven-metadata.xml | grep latest | sed “s/.*<latest>\([^<]*\)<\/latest>.*/\1/”) build=$(curl -s $path/$version/maven-metadata.xml | grep ‘<value>’ | head -1 | sed “s/.*<value>\([^<]*\)<\/value>.*/\1/”) jar=$name-$build.jar url=$path/$version/$jar # Download echo $url … Read more
How to trigger Jenkins builds remotely and to pass parameters
See Jenkins documentation: Parameterized Build Below is the line you are interested in: http://server/job/myjob/buildWithParameters?token=TOKEN&PARAMETER=Value
Dependencies Between Workflows on Github Actions
Now it’s possible to have dependencies between workflows on Github Actions using workflow_run. Using this config, the Release workflow will work when the Run Tests workflow is completed. name: Release on: workflow_run: workflows: [“Run Tests”] branches: [main] types: – completed
How to shutdown an app deployed on Heroku?
To completely ‘stop’ your app you can scale the web dynos down to zero which effectively takes all your app http-processes offline. $ heroku ps:scale web=0 Scaling web processes… done, now running 0