File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 1717
1818name : GitHub CI
1919
20- on :
20+ on :
2121 push :
2222 branches :
2323 - master
5656
5757 - name : Build with Maven
5858 run : mvn -e -B -V verify
59+
60+ pct :
61+ runs-on : ubuntu-latest
62+ container :
63+ image : jenkins/pct
64+ env :
65+ CHECKOUT_SRC : " https://github.com/${{ github.repository }}.git"
66+ VERSION : " ${{ github.ref }}"
67+ volumes :
68+ - /home/runner/work/__w/out:/pct/out
69+ steps :
70+ # gets the Jenkins version from master's branch pom.xml to test against
71+ - name : Fetch Jenkins version
72+ run : |
73+ echo "JENKINS_VERSION=$(curl -s https://raw.githubusercontent.com/${{ github.repository }}/master/pom.xml | awk -F '[<>]' '/jenkins.version/{print $3}')" >> $GITHUB_ENV
74+ - run : run-pct
75+ - uses : actions/upload-artifact@v2
76+ with :
77+ name : pct-report
78+ path : /home/runner/work/__w/out/pct-report.html
79+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments