File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
src/main/java/io/jenkins/plugins/securepostscript Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 4
4
<parent >
5
5
<groupId >org.jenkins-ci.plugins</groupId >
6
6
<artifactId >plugin</artifactId >
7
- <version >4.6 </version >
7
+ <version >4.51 </version >
8
8
<relativePath />
9
9
</parent >
10
10
<groupId >io.jenkins.plugins</groupId >
14
14
<properties >
15
15
<revision >0.2</revision >
16
16
<changelist >-SNAPSHOT</changelist >
17
- <jenkins .version>2.176.4</jenkins .version>
18
- <java .level>8</java .level>
17
+ <!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
18
+ <jenkins .baseline>2.346</jenkins .baseline>
19
+ <jenkins .version>${jenkins.baseline} .3</jenkins .version>
19
20
</properties >
20
21
<name >Secure Post Script Plugin</name >
21
22
<url >https://github.com/jenkinsci/${project.artifactId} -plugin</url >
24
25
<dependencies >
25
26
<dependency >
26
27
<groupId >io.jenkins.tools.bom</groupId >
27
- <artifactId >bom-2.235 .x</artifactId >
28
- <version >11 </version >
28
+ <artifactId >bom-${jenkins.baseline} .x</artifactId >
29
+ <version >1763.v092b_8980a_f5e </version >
29
30
<scope >import</scope >
30
31
<type >pom</type >
31
32
</dependency >
47
48
</developers >
48
49
49
50
<scm >
50
- <connection >scm:git:git ://github.com/jenkinsci/${project.artifactId} -plugin.git</connection >
51
+ <connection >scm:git:https ://github.com/jenkinsci/${project.artifactId} -plugin.git</connection >
51
52
<
developerConnection >scm:git:
[email protected] :jenkinsci/
${project.artifactId} -plugin.git</
developerConnection >
52
53
<url >https://github.com/jenkinsci/${project.artifactId} -plugin</url >
53
54
<tag >secure-post-script-0.1-SNAPSHOT</tag >
Original file line number Diff line number Diff line change 2
2
3
3
import hudson .EnvVars ;
4
4
import hudson .Extension ;
5
- import hudson .model .*;
5
+ import hudson .model .Result ;
6
+ import hudson .model .Run ;
7
+ import hudson .model .TaskListener ;
6
8
import hudson .model .listeners .RunListener ;
7
9
import org .jenkinsci .plugins .scriptsecurity .sandbox .groovy .SecureGroovyScript ;
8
10
import org .jenkinsci .plugins .scriptsecurity .scripts .ApprovalContext ;
You can’t perform that action at this time.
0 commit comments