File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11stages :
2- - compile
2+ - build
33 - test
4- - deploy
4+ - package
55
66variables :
77 plugin : AttributesExtension
@@ -11,23 +11,30 @@ cache:
1111 paths :
1212 - Build/
1313
14- build plugin :
15- stage : compile
14+ before_script :
15+ # Download Piperift's CICD scripts
16+ - git clone https://github.com/PipeRift/CICDScripts Lib
17+
18+ build :
19+ stage : build
1620 script :
17- - cmd.exe /c $LIB_PATH/BuildPlugin.bat
21+ - cd Lib
22+ - cmd.exe /c BuildPlugin.bat
1823
19- unit test :
24+ test :
2025 stage : test
2126 script :
22- - py $LIB_PATH/test_plugin.py
27+ - cd Lib
28+ - py test_plugin.py
2329 artifacts :
30+ paths :
31+ - Test/Report.xml
2432 reports :
2533 junit : Test/Report.xml
26- paths :
27- - Test
2834
2935upload :
30- stage : deploy
36+ stage : package
3137 script :
32- - cmd.exe /c $LIB_PATH/CompressPlugin.bat
33- - py $LIB_PATH/upload.py
38+ - cd Lib
39+ - cmd.exe /c CompressPlugin.bat
40+ - py upload.py
You can’t perform that action at this time.
0 commit comments