Skip to content

Commit

Permalink
build(workflows): update workflow configurations to use 'main' branch…
Browse files Browse the repository at this point in the history
… and improve documentation links
  • Loading branch information
svasek committed Jan 20, 2025
1 parent a21a066 commit 04d6e2b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ name: "CodeQL"

on:
push:
branches: [master]
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
branches: [main]
schedule:
- cron: "0 13 * * 6"

Expand All @@ -30,25 +30,29 @@ jobs:

steps:
- name: Checkout repository
# https://github.com/actions/checkout
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

- name: Set up JDK
# https://github.com/actions/setup-java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"

- name: Set up Maven
# https://github.com/stCarolas/setup-maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.9

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
# https://github.com/github/codeql-action
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/manual-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out
# https://github.com/actions/checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 8

- name: Set up JDK
# https://github.com/actions/setup-java
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 8
distribution: "temurin"
java-version: "17"

- name: Release
# https://github.com/jenkins-infra/jenkins-maven-cd-action
uses: jenkins-infra/jenkins-maven-cd-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Changelog

### Newer versions
See [GitHub releases](https://github.com/jenkinsci/antexec-plugin/releases)
See [Release page at Jenkins Plugin Index](https://plugins.jenkins.io/antexec/releases/)


### 1.11
Release date: _2015-08-18_
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ The problem is that parameters are passed verbatim to the command line, and if t
![](docs/images/06.Example2-Validation.png)


For release history, please see [changelog](CHANGELOG.md).
For release history, please see [release page](https://plugins.jenkins.io/antexec/releases/).

0 comments on commit 04d6e2b

Please sign in to comment.