All Projects → appleboy → Jenkins Action

appleboy / Jenkins Action

Licence: mit
GitHub Action that trigger Jenkins job.

Projects that are alternatives of or similar to Jenkins Action

Jenkins Dry In Pipelines
Some useful generic funcions to use with Shared Libraries feature of Jenkins Pipelines
Stars: ✭ 13 (-77.19%)
Mutual labels:  jenkins
Ansible Role Jenkins2
This Ansible role can be used to install and manage Jenkins 2.
Stars: ✭ 39 (-31.58%)
Mutual labels:  jenkins
Jenkins Os
Groovy pipeline jobs that build and test Container Linux with Jenkins
Stars: ✭ 43 (-24.56%)
Mutual labels:  jenkins
Jenkins Library
Shared Library for Jenkine Pipeline
Stars: ✭ 32 (-43.86%)
Mutual labels:  jenkins
Docker Jenkins Android
Jenkins docker image for Android development
Stars: ✭ 35 (-38.6%)
Mutual labels:  jenkins
Appium Jenkins Demo
Run Appium tests on Jenkins
Stars: ✭ 40 (-29.82%)
Mutual labels:  jenkins
Jenkins4j
Simple and effective Jenkins API wrapper written in Java
Stars: ✭ 12 (-78.95%)
Mutual labels:  jenkins
Blog demos
CSDN博客专家程序员欣宸的github,这里有四百多篇原创文章的详细分类和汇总,以及对应的源码,内容涉及Java、Docker、Kubernetes、DevOPS等方面
Stars: ✭ 1,030 (+1707.02%)
Mutual labels:  jenkins
Chef Plugin
This is jenkins plugin to run chef-client on remote host
Stars: ✭ 38 (-33.33%)
Mutual labels:  jenkins
Dashboard
📺 Create your own team dashboard with custom widgets. Built with Next.js, React, styled-components and polished.
Stars: ✭ 1,007 (+1666.67%)
Mutual labels:  jenkins
Jenkins Vagrant
Vagrant Environment for a Jenkins Continuous Integration server
Stars: ✭ 34 (-40.35%)
Mutual labels:  jenkins
Jenkins Android Docker
🐳 Docker image for Jenkins with Android
Stars: ✭ 35 (-38.6%)
Mutual labels:  jenkins
Terraform Aws Jenkins Ha Agents
A terraform module for a highly available Jenkins deployment.
Stars: ✭ 41 (-28.07%)
Mutual labels:  jenkins
Onec Cicd
😎 CI-стенд для 1С:Предприятие 8.3.
Stars: ✭ 32 (-43.86%)
Mutual labels:  jenkins
Ci Samples
Sample configurations for various CI systems.
Stars: ✭ 44 (-22.81%)
Mutual labels:  jenkins
Summary
个人总结 持续更新 欢迎提出各种issues
Stars: ✭ 12 (-78.95%)
Mutual labels:  jenkins
Nagios Plugins
450+ AWS, Hadoop, Cloud, Kafka, Docker, Elasticsearch, RabbitMQ, Redis, HBase, Solr, Cassandra, ZooKeeper, HDFS, Yarn, Hive, Presto, Drill, Impala, Consul, Spark, Jenkins, Travis CI, Git, MySQL, Linux, DNS, Whois, SSL Certs, Yum Security Updates, Kubernetes, Cloudera etc...
Stars: ✭ 1,000 (+1654.39%)
Mutual labels:  jenkins
Simple Theme Plugin
A simple theme plugin for Jenkins
Stars: ✭ 45 (-21.05%)
Mutual labels:  jenkins
Aws Secrets Manager Credentials Provider Plugin
AWS Secrets Manager Credentials Provider for Jenkins
Stars: ✭ 45 (-21.05%)
Mutual labels:  jenkins
Jenkins Workflow
contains handy groovy workflow-libs scripts
Stars: ✭ 41 (-28.07%)
Mutual labels:  jenkins

🚀 Trigger Jenkins Job for GitHub Actions

GitHub Action for trigger jenkins jobs.

jenkins

Usage

Trigger New Jenkins Job.

name: trigger jenkins job
on: [push]
jobs:

  build:
    name: Build
    runs-on: ubuntu-latest
    steps:
    - name: trigger single Job
      uses: appleboy/[email protected]
      with:
        url: "http://example.com"
        user: "example"
        token: ${{ secrets.TOKEN }}
        job: "foobar"

Jenkins Setting

Setup the Jenkins server using the docker command:

docker run \
  --name jenkins \
  -d --restart always \
  -p 8080:8080 -p 50000:50000 \
  -v /data/jenkins:/var/jenkins_home \
  jenkins/jenkins:lts

Please make sure that you create the /data/jenkins before starting the Jenkins. Create the new API token as below:

jenkins

Example

Trigger multiple jenkins job:

- name: trigger multiple Job
  uses: appleboy/[email protected]
  with:
    url: "http://example.com"
    user: "example"
    token: ${{ secrets.TOKEN }}
    job: "job_1,job_2"

Input variables

  • url - Required. jenkins base url.
  • user - Required. jenkins user.
  • job - Required. jenkins job name.
  • token - Required. jenkins api token.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].