{"id":20444125,"url":"https://github.com/tknerr/jenkins-pipes-helloworld","last_synced_at":"2026-03-13T13:33:19.168Z","repository":{"id":17151720,"uuid":"81253789","full_name":"tknerr/jenkins-pipes-helloworld","owner":"tknerr","description":"Example project with a Jenkinsfile for the Jenkins Pipes demo","archived":false,"fork":false,"pushed_at":"2023-11-06T14:29:44.000Z","size":4,"stargazers_count":9,"open_issues_count":4,"forks_count":100,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-13T06:42:08.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/tknerr/jenkins-pipes-infra","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tknerr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-02-07T21:01:29.000Z","updated_at":"2022-02-20T16:22:26.000Z","dependencies_parsed_at":"2025-04-12T23:53:54.300Z","dependency_job_id":"d75ae178-8d65-48bf-8a9b-f9646f041161","html_url":"https://github.com/tknerr/jenkins-pipes-helloworld","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tknerr/jenkins-pipes-helloworld","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknerr%2Fjenkins-pipes-helloworld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknerr%2Fjenkins-pipes-helloworld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknerr%2Fjenkins-pipes-helloworld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknerr%2Fjenkins-pipes-helloworld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tknerr","download_url":"https://codeload.github.com/tknerr/jenkins-pipes-helloworld/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknerr%2Fjenkins-pipes-helloworld/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30467802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T11:00:43.441Z","status":"ssl_error","status_checked_at":"2026-03-13T11:00:23.173Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T09:51:23.339Z","updated_at":"2026-03-13T13:33:19.131Z","avatar_url":"https://github.com/tknerr.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Jenkins Pipes HelloWorld\n\nA minimal and stupid \"helloworld\" example project for the [Jenkins Pipes](https://github.com/tknerr/jenkins-pipes-infra) demo:\n\n * the `Jenkinsfile` describes **HOW** to build this project in [Pipeline-DSL](https://jenkins.io/doc/book/pipeline/syntax/)\n\n\n## How it works\n\nThis example will be built on our [jenkins-pipes-infra](https://github.com/tknerr/jenkins-pipes-infra/blob/master/Dockerfile) because in [jenkins-pipes-jobs](https://github.com/tknerr/jenkins-pipes-jobs/blob/master/ci_jobs.groovy) we configured to build all `master` and `feature/*` branches of this repo.\n\nThe `Jenkinsfile` in here describes **HOW** this project is built, in terms of the individual stages that make up the build pipeline and what happens within them:\n\n```groovy\nnode {\n  try {\n    stage('checkout') {\n      checkout scm\n    }\n    stage('prepare') {\n      sh \"git clean -fdx\"\n    }\n    stage('compile') {\n      echo \"nothing to compile for hello.sh...\"\n    }\n    stage('test') {\n      sh \"./test_hello.sh\"\n    }\n    stage('package') {\n      sh \"tar -cvzf hello.tar.gz hello.sh\"\n    }\n    stage('publish') {\n      echo \"uploading package...\"\n    }\n  } finally {\n    stage('cleanup') {\n      echo \"doing some cleanup...\"\n    }\n  }\n}\n```\n\nThe `master` branch build should succeed:\n\n![image](https://cloud.githubusercontent.com/assets/365744/22727812/3ad04a26-eddb-11e6-9dd9-5d2e5a975f22.png)\n\nThe `feature/make-it-fail` branch shows how a build failure looks like:\n\n![image](https://cloud.githubusercontent.com/assets/365744/22727851/688829b6-eddb-11e6-8233-6503c5a6fa49.png)\n\n\n## Where to go from here?\n\nNow that you have a minimal example running, here are some ideas on how to dig further:\n\n * go and explore the [Pipeline-DSL](https://jenkins.io/doc/book/pipeline/syntax/) and [Steps Reference](https://jenkins.io/doc/pipeline/steps/)\n * add email notifications on success / failure\n * create a similar helloworld example in your favorite programming language\n * use node labels to run your builds on specific nodes only\n * try modeling more complex pipelines with parallel execution etc\n * ...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftknerr%2Fjenkins-pipes-helloworld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftknerr%2Fjenkins-pipes-helloworld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftknerr%2Fjenkins-pipes-helloworld/lists"}